#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, bool matchOnly, bool debug) 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 15 of file HGCalNumberingScheme.cc.
References det_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::Hexagon8Module, mode_, name_, HGCalGeometryMode::Trapezoid, HGCalGeometryMode::TrapezoidFile, and HGCalGeometryMode::TrapezoidModule.
HGCalNumberingScheme::~HGCalNumberingScheme | ( | ) |
Definition at line 28 of file HGCalNumberingScheme.cc.
|
privatedelete |
|
private |
Definition at line 109 of file HGCalNumberingScheme.cc.
References funct::abs(), debug, det_, DetId::HGCalHSc, DetId::HGCalHSi, hgcons_, LEDCalibrationChannels::iphi, HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), match(), convertSQLiteXML::ok, diffTwoXMLs::r1, diffTwoXMLs::r2, HGCalDDDConstants::rangeR(), HGCalDDDConstants::rangeZ(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalDDDConstants::waferFromPosition(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), HGCalDDDConstants::waferZ(), geometryCSVtoXML::xx, geometryCSVtoXML::xy, testProducerWithPsetDescEmpty_cfi::z2, and TkClusParameters_cff::zrange.
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 34 of file HGCalNumberingScheme.cc.
References HGCalDDDConstants::assignCellTrap(), checkPosition(), debug, TauDecayModes::dec, det_, HGCalDDDConstants::getLayerOffset(), HGCalTypes::getUnpackedCellU(), HGCalTypes::getUnpackedCellV(), HGCalTypes::getUnpackedType(), HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Module, HGCSiliconDetId::HGCalCoarseThick, hgcons_, phase1PixelTopology::layer, mode_, callgraph::module, name_, DetId::rawId(), HGCScintillatorDetId::setSiPM(), HGCScintillatorDetId::setType(), HGCalDDDConstants::tileSiPM(), HGCalDDDConstants::tileTrapezoid(), HGCalDDDConstants::tileType(), HGCalDDDConstants::waferFromPosition(), HGCalDDDConstants::waferHexagon8(), HGCalWaferIndex::waferIndex(), HGCalDDDConstants::waferType(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), 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(), and HGCalNumberingScheme().
|
private |
Definition at line 33 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().