added fAddT0s vector to the base class.

This commit is contained in:
2014-12-17 15:43:50 +01:00
parent 56cb9749d2
commit 88b1981f7c
2 changed files with 6 additions and 2 deletions

View File

@ -122,6 +122,9 @@ PRunBase::PRunBase(PMsrHandler *msrInfo, PRunDataHandler *rawData, UInt_t runNo,
PRunBase::~PRunBase() PRunBase::~PRunBase()
{ {
fT0s.clear(); fT0s.clear();
for (UInt_t i=0; i<fAddT0s.size(); i++)
fAddT0s[i].clear();
fAddT0s.clear();
fFuncValues.clear(); fFuncValues.clear();
} }

View File

@ -67,14 +67,15 @@ class PRunBase
EPMusrHandleTag fHandleTag; ///< tag telling whether this is used for fit, view, ... EPMusrHandleTag fHandleTag; ///< tag telling whether this is used for fit, view, ...
Int_t fRunNo; ///< number of the run within the msr file Int_t fRunNo; ///< number of the run within the msr-file
PMsrHandler *fMsrInfo; ///< msr-file handler PMsrHandler *fMsrInfo; ///< msr-file handler
PMsrRunBlock *fRunInfo; ///< run info used to filter out needed infos of a run PMsrRunBlock *fRunInfo; ///< run info used to filter out needed infos of a run
PRunDataHandler *fRawData; ///< holds the raw run data PRunDataHandler *fRawData; ///< holds the raw run data
PRunData fData; ///< data to be fitted, viewed, i.e. binned data PRunData fData; ///< data to be fitted, viewed, i.e. binned data
Double_t fTimeResolution; ///< time resolution in (us) Double_t fTimeResolution; ///< time resolution in (us)
PDoubleVector fT0s; ///< all t0 bins of a run! The derived classes will handle it PDoubleVector fT0s; ///< all t0 bins of a run! The derived classes will handle it.
vector<PDoubleVector> fAddT0s; ///< all t0 bins of all addrun's of a run! The derived classes will handle it.
Double_t fFitStartTime; ///< fit start time Double_t fFitStartTime; ///< fit start time
Double_t fFitEndTime; ///< fit end time Double_t fFitEndTime; ///< fit end time