24 fBuffer =
new TClonesArray(
"CbmMvdHit", 1000);
42 Int_t lastEntrie =
fBuffer->GetLast();
46 if (lastEntrie > -1) {
48 time = myHit->GetTimeStamp();
60 <<
"OutputBuffer is ready for readout on sensor "
72 Int_t nEntries =
fBuffer->GetEntriesFast();
77 for (Int_t
i = 0;
i < nEntries;
i++) {
79 time = myHit->GetTimeStamp();
86 new ((*fCurrentEvent)[nHits])
CbmMvdHit(*myHit);
98 Int_t nEntries =
fBuffer->GetEntriesFast();
104 for (Int_t
i = 0;
i < nEntries;
i++) {
106 time = myHit->GetTimeStamp();
107 if (tStart <= time && time < tStop) {
fBuffer->Remove(myHit); }
116 fBuffer->AbsorbObjects(inputStream);