#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... | |
const HGCalDDDConstants * | getDDDConstants () |
getter More... | |
std::pair< float, float > | getLocalCoords (int cell, int layer) |
inverts the cell number in a trapezoid surface to local coordinates More... | |
virtual uint32_t | getUnitID (ForwardSubdetector subdet, int layer, int module, int iz, const G4ThreeVector &pos) |
assigns the det id to a hit More... | |
HGCNumberingScheme (const DDCompactView &cpv, std::string &name, bool check, int verbose) | |
virtual | ~HGCNumberingScheme () |
Public Member Functions inherited from CaloNumberingScheme | |
CaloNumberingScheme (int iv=0) | |
Constructor with optional verbosity control. More... | |
void | setVerbosity (const int) |
Verbosity setting. More... | |
virtual | ~CaloNumberingScheme () |
Private Member Functions | |
HGCNumberingScheme () | |
Private Attributes | |
bool | check_ |
HGCalDDDConstants * | hgcons |
int | verbosity |
Additional Inherited Members | |
Protected Attributes inherited from CaloNumberingScheme | |
int | verbosity |
Verbosity field: Zero = quiet, increasing integers mean more output. More... | |
Definition at line 18 of file HGCNumberingScheme.h.
HGCNumberingScheme::HGCNumberingScheme | ( | const DDCompactView & | cpv, |
std::string & | name, | ||
bool | check, | ||
int | verbose | ||
) |
Definition at line 12 of file HGCNumberingScheme.cc.
References mergeVDriftHistosByStation::name.
|
virtual |
Definition at line 20 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 56 of file HGCNumberingScheme.cc.
References HGCalDDDConstants::assignCell(), and hgcons.
|
inline |
std::pair< float, float > HGCNumberingScheme::getLocalCoords | ( | int | cell, |
int | layer | ||
) |
inverts the cell number in a trapezoid surface to local coordinates
Definition at line 63 of file HGCNumberingScheme.cc.
References hgcons, and HGCalDDDConstants::locateCell().
|
virtual |
assigns the det id to a hit
Definition at line 25 of file HGCNumberingScheme.cc.
References HGCalDDDConstants::assignCell(), check_, gather_cfg::cout, TauDecayModes::dec, hgcons, cmsHarvester::index, HGCalDetId::isValid(), HGCalDDDConstants::isValid(), DetId::rawId(), and verbosity.
Referenced by HGCSD::setDetUnitId().
|
private |
Definition at line 53 of file HGCNumberingScheme.h.
Referenced by getUnitID().
|
private |
Definition at line 55 of file HGCNumberingScheme.h.
Referenced by assignCell(), getDDDConstants(), getLocalCoords(), and getUnitID().
|
private |
Definition at line 54 of file HGCNumberingScheme.h.
Referenced by getUnitID().