100 G4int layerNo = aTouchable->GetCopyNumber(0);
101 G4int sliceNo = aTouchable->GetCopyNumber(1);
102 G4int rowNo = aTouchable->GetCopyNumber(2);
109 hit->SetPhiId(sliceNo);
110 hit->SetRhoId(layerNo);
113 if (layerNo != hit->GetRhoId()) {
114 G4cout <<
"ERROR, problem with Layer IDs: " << layerNo <<
" != " << hit->GetRhoId() << G4endl;
117 if (sliceNo != hit->GetPhiId()) {
118 G4cout <<
"ERROR, problem with Slice IDs: " << sliceNo <<
" != " << hit->GetPhiId() << G4endl;
121 if (rowNo != hit->GetZid()) {
122 G4cout <<
"ERROR, problem with Row IDs: " << rowNo <<
" != " << hit->GetZid() << G4endl;