12 hgcons_(hgc), mode_(hgc.geomMode()) {
19 int iz,
const G4ThreeVector &
pos,
24 int cellU(0), cellV(0), waferType(-1), waferU(0), waferV(0);
26 waferType = module/1000000;
28 if ((module/10000)%10 > 0) waferU = -waferU;
29 waferV = (module/100)%100;
30 if ((module/100000)%10 > 0) waferV = -waferV;
32 cellV = (cell/100)%100;
34 double xx = (pos.z() > 0) ? pos.x() : -pos.x();
42 << waferU <<
":" << waferV <<
" Cell " 43 << cellU <<
":" << cellV;
50 << module <<
":" << cell <<
":" << iz <<
":" 51 << pos.x() <<
":" << pos.y() <<
":" << pos.z()
52 <<
" ID " << std::hex << index <<
std::dec
void waferFromPosition(const double x, const double y, int &wafer, int &icell, int &celltyp) const
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
constexpr uint32_t rawId() const
get the raw id
HFNoseNumberingScheme()=delete
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_