add memory handling for DKS/GPU. No fitting possible, yet.
This commit is contained in:
@ -1062,3 +1062,44 @@ const Char_t* PRunListCollection::GetYAxisTitle(const TString &runName, const UI
|
||||
return result;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// GetN0Idx (public)
|
||||
//--------------------------------------------------------------------------
|
||||
/**
|
||||
* \brief PRunListCollection::GetN0Idx
|
||||
* \param idx
|
||||
* \return
|
||||
*/
|
||||
Int_t PRunListCollection::GetN0Idx(UInt_t idx)
|
||||
{
|
||||
Int_t N0idx = -1;
|
||||
|
||||
// make sure idx is within proper bounds
|
||||
if (idx >= fRunSingleHistoList.size())
|
||||
return N0idx;
|
||||
|
||||
N0idx = fMsrInfo->GetMsrRunList()->at(idx).GetNormParamNo();
|
||||
|
||||
return N0idx;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// GetNbkgIdx (public)
|
||||
//--------------------------------------------------------------------------
|
||||
/**
|
||||
* \brief PRunListCollection::GetNbkgIdx
|
||||
* \param idx
|
||||
* \return
|
||||
*/
|
||||
Int_t PRunListCollection::GetNbkgIdx(UInt_t idx)
|
||||
{
|
||||
Int_t NbkgIdx = -1;
|
||||
|
||||
// make sure idx is within proper bounds
|
||||
if (idx >= fRunSingleHistoList.size())
|
||||
return NbkgIdx;
|
||||
|
||||
NbkgIdx = fMsrInfo->GetMsrRunList()->at(idx).GetBkgFitParamNo();
|
||||
|
||||
return NbkgIdx;
|
||||
}
|
||||
|
Reference in New Issue
Block a user