39 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
40 int idx = touch->GetReplicaNumber(0);
42 if (touch->GetHistoryDepth() > 0)
43 idl = touch->GetReplicaNumber(1);
44 int idunit = idl * 100 + idx;
46 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB02XtalNumberingScheme:: Row " << idl <<
" Column " << idl
47 <<
" idunit = " << idunit;
Log< level::Info, true > LogVerbatim
~HcalTB02XtalNumberingScheme() override
HcalTB02XtalNumberingScheme()
int getUnitID(const G4Step *aStep) const override