#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 HGCalDDDConstants &hgc, std::string &name) | |
~HGCNumberingScheme () | |
Private Member Functions | |
HGCNumberingScheme () | |
Private Attributes | |
const HGCalDDDConstants & | hgcons_ |
Definition at line 13 of file HGCNumberingScheme.h.
HGCNumberingScheme::HGCNumberingScheme | ( | const HGCalDDDConstants & | hgc, |
std::string & | name | ||
) |
Definition at line 18 of file HGCNumberingScheme.cc.
References mergeVDriftHistosByStation::name.
HGCNumberingScheme::~HGCNumberingScheme | ( | ) |
Definition at line 24 of file HGCNumberingScheme.cc.
|
private |
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 80 of file HGCNumberingScheme.cc.
References HGCalDDDConstants::assignCell(), and hgcons_.
std::pair< float, float > HGCNumberingScheme::getLocalCoords | ( | int | cell, |
int | layer | ||
) |
inverts the cell number in a trapezoid surface to local coordinates
Definition at line 87 of file HGCNumberingScheme.cc.
References hgcons_, and HGCalDDDConstants::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 29 of file HGCNumberingScheme.cc.
References HGCalDDDConstants::assignCell(), gather_cfg::cout, TauDecayModes::dec, HGCalDDDConstants::geomMode(), hgcons_, cmsHarvester::index, HGCalDDDConstants::isValid(), HGCalTestNumbering::packHexagonIndex(), HGCalTestNumbering::packSquareIndex(), Square, HLT_25ns10e33_v2_cff::verbosity, and HGCalDDDConstants::waferFromCopy().
Referenced by HGCSD::setDetUnitId().
|
private |
Definition at line 42 of file HGCNumberingScheme.h.
Referenced by assignCell(), getLocalCoords(), and getUnitID().