30 #include "ExN04CalorimeterSD.hh"
31 #include "ExN04CalorimeterHit.hh"
44 numberOfCellsInZ(20),numberOfCellsInPhi(48)
57 for(
G4int j=0;j<numberOfCellsInZ;j++)
58 for(
G4int k=0;k<numberOfCellsInPhi;k++)
67 if(!ROhist)
return false;
70 if(edep==0.)
return false;
78 if(CellID[copyIDinZ][copyIDinPhi]==-1)
89 CellID[copyIDinZ][copyIDinPhi] = icell - 1;
91 {
G4cout <<
" New Calorimeter Hit on CellID "
92 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
96 (*CalCollection)[CellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
98 {
G4cout <<
" Energy added to CellID "
99 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
107 static G4int HCID = -1;