15 #include "TClonesArray.h"
22 : TNamed(
"MCEpoch",
"MCEpoch"),
36 : TNamed(
"MCEpoch",
"MCEpoch"),
37 fStartTime(startTime),
38 fEpochLength(epochLength),
56 Int_t eventId, Double_t eventTime) {
61 CbmStsPoint* stsPoint = (CbmStsPoint*) point;
70 CbmMuchPoint* muchPoint = (CbmMuchPoint*) point;
79 LOG(
FATAL) <<
"The functionality is not yet implemented for the detector with id " << det <<
FairLogger::endl;
109 cout <<
"-W- " << GetName() <<
"::GetNofPoints: "
110 <<
"No array for detector system " << det << endl;
114 return fPoints[det]->GetEntriesFast();
125 cout <<
"-W- " << GetName() <<
"::GetPoint: "
126 <<
"No array for detector system " << det << endl;
131 cout <<
"-W- " << GetName() <<
"::GetPoint: Index " << index
132 <<
"out of range for system " << det << endl;
154 if (nTotal)
return kFALSE;
165 cout <<
"-I- " << GetName() <<
" Start time " <<
fStartTime <<
", Points: ";
188 case kSTS:
fPoints[det] =
new TClonesArray(
"CbmStsPoint", 1000);
break;
189 case kMUCH:
fPoints[det] =
new TClonesArray(
"CbmMuchPoint", 1000);
break;
191 default:
fPoints[det] = NULL;
break;