22 if(!fgemInstance) cout <<
"NO PndTrkGemHitList: you must fill gem hit list BEFORE doing what you are doing!" << endl;
44 hit->Position(position);
45 int station = ((
PndGemHit*) hit)->GetStationNr();
50 int layerid = 2 * station + sensor - 3;
57 for(
int ihit = 0; ihit < array->GetEntriesFast(); ihit++) {
59 if(hitTousable[ihit] ==
false)
continue;
void AddHit(Int_t hitid, Int_t detid, FairHit *hit)
void AddNonCombiHits(Int_t detID, TClonesArray *array, std::map< int, bool > hitTousable)
static PndTrkGemHitList * fgemInstance
static PndTrkGemHitList * Instance()
PndTrkGemHitList * Instanciate()
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
void AddHit(Int_t hitID, Int_t detID, Bool_t used, Int_t iregion, TVector3 &pos)