8 #include "TClonesArray.h"
40 fBuffer =
new TClonesArray(
"CbmMvdPoint", 1000);
47 cout <<
"-I- " <<
GetName() <<
": Initialisation of sensor "
82 Int_t nEntries = inputStream->GetEntriesFast();
84 while (
i < nEntries) {
89 new ((*fBuffer)[
fBuffer->GetEntriesFast()])
91 nEntries = inputStream->GetEntriesFast();
102 new ((*fBuffer)[
fBuffer->GetEntriesFast()])
126 Int_t pointFrameNumber;
127 Double_t position[3];
128 Int_t pixelX, pixelY;
132 for (Int_t
i = 0;
i <
fBuffer->GetEntriesFast();
i++) {
136 position[0] = point->GetX();
137 position[1] = point->GetY();
138 position[2] = point->GetZ();
148 if (pointFrameNumber < frameNumber) {
149 cout << endl <<
"super error" << endl;
153 if (pointFrameNumber == frameNumber) {
155 new ((*fCurrentEvent)[nPoints])
CbmMvdPoint(*point);
157 myEvent->SetTime(((pixelY * (115e3 / 576)) + (115000 * (frameNumber))));
176 Int_t pointFrameNumber;
177 Double_t position[3];
178 Int_t pixelX, pixelY;
181 for (Int_t
i = 0;
i <
fBuffer->GetEntriesFast();
i++) {
186 position[0] = point->GetX();
187 position[1] = point->GetY();
188 position[2] = point->GetZ();
198 if (pointFrameNumber == frameNumber) {
211 for (Int_t
i = 0;
i <
fBuffer->GetEntriesFast();
i++) {
214 if ((point->GetTime() > tStart) && (point->GetTime() < tStop)) {