45 fNumberOfCellsInZ(20),fNumberOfCellsInPhi(48)
73 static G4int HCID = -1;
88 if(edep==0.)
return false;
94 if(
fCellID[copyIDinZ][copyIDinPhi]==-1)
105 fCellID[copyIDinZ][copyIDinPhi] = icell - 1;
107 {
G4cout <<
" New Calorimeter Hit on CellID "
108 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
112 (*fCalCollection)[
fCellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
113 (*fCalCollection)[
fCellID[copyIDinZ][copyIDinPhi]]
114 ->SetTrackInformation(aStep->
GetTrack());
116 {
G4cout <<
" Energy added to CellID "
117 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }