91 G4double edep = aStep->GetTotalEnergyDeposit();
97 G4int layerNo = touchable->GetCopyNumber(0);
98 G4int sliceNo = touchable->GetCopyNumber(1);
99 G4int rowNo = touchable->GetCopyNumber(2);
103 G4cout <<
"ERROR, problem with Layer IDs: " << layerNo <<
" > " <<
fNbOfLayers << G4endl;
107 G4cout <<
"ERROR, problem with Slice IDs: " << sliceNo <<
" >= " <<
fNbOfSlices << G4endl;
111 G4cout <<
"ERROR, problem with Row IDs: " << rowNo <<
" >= " <<
fNbOfRows << G4endl;
118 hit->SetPhiId(sliceNo);
119 hit->SetRhoId(layerNo);
130 if(hit->GetTime() == -1 || hit->GetTime() > aStep->GetTrack()->GetGlobalTime())
131 hit->SetTime(aStep->GetTrack()->GetGlobalTime());