65 HitLateralID =
new G4int[NbOfACDLateralTiles];
66 HitTopID =
new G4int[NbOfACDTopTiles];
74 delete [] HitLateralID;
84 for (
G4int i=0;i<NbOfACDLateralTiles;i++)
89 for (
G4int j=0;j<NbOfACDTopTiles;j++)
102 if ((edep/
keV == 0.))
return false;
116 if (ACDTileName ==
"ACT" )
120 if (HitTopID[ACDTileNumber]==-1)
128 HitTopID[ACDTileNumber] =
129 AnticoincidenceCollection->
insert(AnticoincidenceHit) -1;
133 (*AnticoincidenceCollection)
134 [HitTopID[ACDTileNumber]]->AddEnergy(edep);
138 if (ACDTileName ==
"ACL1")
142 if (HitLateralID[ACDTileNumber]==-1)
150 HitLateralID[ACDTileNumber] =
151 AnticoincidenceCollection->
insert(AnticoincidenceHit) -1;
155 (*AnticoincidenceCollection)
156 [HitLateralID[ACDTileNumber]]->AddEnergy(edep);
160 if (ACDTileName ==
"ACL2")
164 if (HitLateralID[ACDTileNumber]==-1)
172 HitLateralID[ACDTileNumber] =
173 AnticoincidenceCollection->
insert(AnticoincidenceHit) -1;
177 (*AnticoincidenceCollection)
178 [HitLateralID[ACDTileNumber]]->AddEnergy(edep);
188 static G4int HCID = -1;
195 for (
G4int i=0;i<NbOfACDLateralTiles;i++)
197 HitLateralID[i] = -1;
200 for (
G4int j=0;j<NbOfACDTopTiles;j++)