30 #include "ExN04CalorimeterSD.hh"
31 #include "ExN04CalorimeterHit.hh"
43 numberOfCellsInZ(20),numberOfCellsInPhi(48)
56 for(
G4int j=0;j<numberOfCellsInZ;j++)
57 for(
G4int k=0;k<numberOfCellsInPhi;k++)
66 if(!ROhist)
return false;
69 if(edep==0.)
return false;
77 if(CellID[copyIDinZ][copyIDinPhi]==-1)
88 CellID[copyIDinZ][copyIDinPhi] = icell - 1;
90 {
G4cout <<
" New Calorimeter Hit on CellID "
91 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
95 (*CalCollection)[CellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
97 {
G4cout <<
" Energy added to CellID "
98 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
106 static G4int HCID = -1;