27 #include "ExN04CalorimeterSD.hh"
28 #include "ExN04CalorimeterHit.hh"
41 numberOfCellsInZ(20),numberOfCellsInPhi(48)
54 for(
G4int j=0;j<numberOfCellsInZ;j++)
55 for(
G4int k=0;k<numberOfCellsInPhi;k++)
64 if(!ROhist)
return false;
67 if(edep==0.)
return false;
75 if(CellID[copyIDinZ][copyIDinPhi]==-1)
86 CellID[copyIDinZ][copyIDinPhi] = icell - 1;
88 {
G4cout <<
" New Calorimeter Hit on CellID "
89 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
93 (*CalCollection)[CellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
95 {
G4cout <<
" Energy added to CellID "
96 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
104 static G4int HCID = -1;