#include <HGCNumberingScheme.h>
Public Types | |
enum | HGCNumberingParameters { HGCCellSize } |
Public Member Functions | |
int | assignCell (float x, float y, int layer) |
maps a hit position to a sequential cell in a trapezoid surface defined by h,b,t More... | |
std::pair< float, float > | getLocalCoords (int cell, int layer) |
inverts the cell number in a trapezoid surface to local coordinates More... | |
uint32_t | getUnitID (ForwardSubdetector subdet, int layer, int module, int cell, int iz, const G4ThreeVector &pos) |
assigns the det id to a hit More... | |
HGCNumberingScheme (const HGCalTBDDDConstants &hgc, std::string &name) | |
HGCNumberingScheme ()=delete | |
~HGCNumberingScheme () | |
Private Attributes | |
const HGCalTBDDDConstants & | hgcons_ |
Definition at line 13 of file HGCNumberingScheme.h.
HGCNumberingScheme::HGCNumberingScheme | ( | const HGCalTBDDDConstants & | hgc, |
std::string & | name | ||
) |
Definition at line 18 of file HGCNumberingScheme.cc.
References mergeVDriftHistosByStation::name.
|
delete |
HGCNumberingScheme::~HGCNumberingScheme | ( | ) |
Definition at line 22 of file HGCNumberingScheme.cc.
int HGCNumberingScheme::assignCell | ( | float | x, |
float | y, | ||
int | layer | ||
) |
maps a hit position to a sequential cell in a trapezoid surface defined by h,b,t
Definition at line 69 of file HGCNumberingScheme.cc.
References HGCalTBDDDConstants::assignCell(), hgcons_, nano_mu_digi_cff::layer, x, and y.
std::pair< float, float > HGCNumberingScheme::getLocalCoords | ( | int | cell, |
int | layer | ||
) |
inverts the cell number in a trapezoid surface to local coordinates
Definition at line 74 of file HGCNumberingScheme.cc.
References hgcons_, nano_mu_digi_cff::layer, and HGCalTBDDDConstants::locateCell().
uint32_t HGCNumberingScheme::getUnitID | ( | ForwardSubdetector | subdet, |
int | layer, | ||
int | module, | ||
int | cell, | ||
int | iz, | ||
const G4ThreeVector & | pos | ||
) |
assigns the det id to a hit
Definition at line 24 of file HGCNumberingScheme.cc.
References TauDecayModes::dec, HGCalTBDDDConstants::geomMode(), HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, hgcons_, HGCalTBDDDConstants::isValidHex(), nano_mu_digi_cff::layer, HGCalTestNumbering::packHexagonIndex(), nano_mu_digi_cff::sector, nano_mu_digi_cff::subsector, HGCalTestNumbering::unpackHexagonIndex(), HGCalTBDDDConstants::waferFromCopy(), HGCalTBDDDConstants::waferFromPosition(), and ecaldqm::zside().
|
private |
Definition at line 38 of file HGCNumberingScheme.h.
Referenced by assignCell(), getLocalCoords(), and getUnitID().