46 fNumberOfCellsInZ(20),fNumberOfCellsInPhi(48)
49 for(
G4int j=0;j<fNumberOfCellsInZ;j++)
50 for(
G4int k=0;k<fNumberOfCellsInPhi;k++)
68 for(
G4int j=0;j<fNumberOfCellsInZ;j++)
69 for(
G4int k=0;k<fNumberOfCellsInPhi;k++)
74 static G4int HCID = -1;
83 if(!ROhist)
return false;
85 if(edep==0.)
return false;
93 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]]->SetTrackInformation(aStep->
GetTrack());
115 {
G4cout <<
" Energy added to CellID "
116 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }