#include <HGCalNumberingScheme.h>
Definition at line 15 of file HGCalNumberingScheme.h.
Definition at line 13 of file HGCalNumberingScheme.cc.
References det_, and name_.
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_
HGCalGeometryMode::GeometryMode geomMode() const
HGCalNumberingScheme::~HGCalNumberingScheme |
( |
| ) |
|
HGCalNumberingScheme::HGCalNumberingScheme |
( |
| ) |
|
|
privatedelete |
uint32_t HGCalNumberingScheme::getUnitID |
( |
int |
layer, |
|
|
int |
module, |
|
|
int |
cell, |
|
|
int |
iz, |
|
|
const G4ThreeVector & |
pos, |
|
|
double & |
wt |
|
) |
| |
assigns the det id to a hit
Definition at line 29 of file HGCalNumberingScheme.cc.
References HGCalDDDConstants::assignCellTrap(), TauDecayModes::dec, det_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgcons_, mode_, DetId::rawId(), HGCalGeometryMode::Trapezoid, HGCalDDDConstants::waferFromPosition(), and geometryCSVtoXML::xx.
37 int cellU(0), cellV(0), waferType(-1), waferU(0), waferV(0);
39 waferType =
module/1000000;
41 if ((
module/10000)%10 > 0) waferU = -waferU;
43 if ((
module/100000)%10 > 0) waferV = -waferV;
45 cellV = (cell/100)%100;
56 << waferU <<
":" << waferV <<
" Cell " 57 << cellU <<
":" << cellV;
69 <<
" Type " <<
id[2] <<
" Layer|iz " 70 << layer <<
":" << iz <<
" " 74 <<
" Type " <<
id[2] <<
" Layer|iz " << layer
82 << layer <<
":" <<
module <<
":" << cell <<
":" 83 << iz <<
":" <<
pos.x() <<
":" <<
pos.y() <<
":" 84 <<
pos.z() <<
" ID " << std::hex <<
index
void waferFromPosition(const double x, const double y, int &wafer, int &icell, int &celltyp) const
const HGCalGeometryMode::GeometryMode mode_
const HGCalDDDConstants & hgcons_
constexpr uint32_t rawId() const
get the raw id
std::array< int, 3 > assignCellTrap(float x, float y, float z, int lay, bool reco) const
std::string HGCalNumberingScheme::name_ |
|
private |