#include <HGCalNumberingScheme.h>
Public Member Functions | |
uint32_t | getUnitID (int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt) |
assigns the det id to a hit More... | |
HGCalNumberingScheme (const HGCalDDDConstants &hgc, const DetId::Detector &det, const std::string &name) | |
~HGCalNumberingScheme () | |
Private Member Functions | |
void | checkPosition (uint32_t index, const G4ThreeVector &pos) const |
HGCalNumberingScheme ()=delete | |
Private Attributes | |
DetId::Detector | det_ |
const HGCalDDDConstants & | hgcons_ |
const HGCalGeometryMode::GeometryMode | mode_ |
std::string | name_ |
Definition at line 16 of file HGCalNumberingScheme.h.
HGCalNumberingScheme::HGCalNumberingScheme | ( | const HGCalDDDConstants & | hgc, |
const DetId::Detector & | det, | ||
const std::string & | name | ||
) |
Definition at line 11 of file HGCalNumberingScheme.cc.
HGCalNumberingScheme::~HGCalNumberingScheme | ( | ) |
Definition at line 20 of file HGCalNumberingScheme.cc.
|
privatedelete |
|
private |
Definition at line 90 of file HGCalNumberingScheme.cc.
References funct::abs(), det_, pfClusterIsolation_cfi::drMax, dzMax, DetId::HGCalHSc, DetId::HGCalHSi, hgcons_, HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), match(), convertSQLiteXML::ok, diffTwoXMLs::r1, diffTwoXMLs::r2, HGCalDDDConstants::rangeR(), HGCalDDDConstants::rangeZ(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalDDDConstants::waferFromPosition(), HGCalDDDConstants::waferZ(), geometryCSVtoXML::xx, and geometryCSVtoXML::xy.
Referenced by getUnitID().
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 26 of file HGCalNumberingScheme.cc.
References HGCalDDDConstants::assignCellTrap(), checkPosition(), TauDecayModes::dec, det_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgcons_, mode_, DetId::rawId(), HGCalGeometryMode::Trapezoid, HGCalDDDConstants::waferFromPosition(), and geometryCSVtoXML::xx.
|
private |
Definition at line 32 of file HGCalNumberingScheme.h.
Referenced by checkPosition(), getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 30 of file HGCalNumberingScheme.h.
Referenced by checkPosition(), and getUnitID().
|
private |
Definition at line 31 of file HGCalNumberingScheme.h.
Referenced by getUnitID().
|
private |
Definition at line 33 of file HGCalNumberingScheme.h.
Referenced by HGCalNumberingScheme().