70 if ( ! fHitArray ) Fatal(
"Exec",
"No StsHit array");
84 Int_t nPoints = fPointArray->GetEntriesFast();
85 for (Int_t iPoint=0; iPoint<nPoints; iPoint++) {
87 if ( ! point)
continue;
90 detID = point->GetDetectorID();
93 trackID = point->GetTrackID();
102 dpos.SetXYZ(dx, dx, 0.);
103 new ((*fHitArray)[iPoint])
CbmStsHit(detID, pos, dpos, 0., iPoint, -1);
108 cout <<
"-I- CbmStsHitProducerIdeal: " << nPoints <<
" StsPoints, "
109 << nPoints <<
" Hits created." << endl;