#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, const std::string &fileName) | |
HGCalNumberingScheme ()=delete | |
~HGCalNumberingScheme () | |
Private Member Functions | |
bool | checkPosition (uint32_t index, const G4ThreeVector &pos, bool matchOnly, bool debug) const |
Private Attributes | |
const DetId::Detector | det_ |
std::vector< int > | dumpCassette_ |
std::vector< int > | dumpDets_ |
int | firstLayer_ |
const HGCalDDDConstants & | hgcons_ |
std::vector< int > | indices_ |
const HGCalGeometryMode::GeometryMode | mode_ |
const std::string | name_ |
Definition at line 19 of file HGCalNumberingScheme.h.
HGCalNumberingScheme::HGCalNumberingScheme | ( | const HGCalDDDConstants & | hgc, |
const DetId::Detector & | det, | ||
const std::string & | name, | ||
const std::string & | fileName | ||
) |
Definition at line 21 of file HGCalNumberingScheme.cc.
References edmScanValgrind::buffer, HGCalCassette::cassetteIndex(), det_, dumpCassette_, dumpDets_, MillePedeFileConverter_cfg::fileName, firstLayer_, edm::FileInPath::fullPath(), HGCalDDDConstants::getLayerOffset(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::Hexagon8Module, hgcons_, indices_, hcalRecHitTable_cff::iphi, mps_monitormerge::items, nano_mu_digi_cff::layer, mode_, name_, relativeConstraints::ring, CaloSimUtils::splitString(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalTileIndex::tileIndex(), HGCalDDDConstants::tileTrapezoid(), HGCalGeometryMode::Trapezoid, HGCalGeometryMode::TrapezoidCassette, HGCalGeometryMode::TrapezoidFile, HGCalGeometryMode::TrapezoidModule, HGCalDDDConstants::waferHexagon8File(), HGCalWaferIndex::waferIndex(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and ecaldqm::zside().
|
delete |
HGCalNumberingScheme::~HGCalNumberingScheme | ( | ) |
Definition at line 78 of file HGCalNumberingScheme.cc.
|
private |
Definition at line 203 of file HGCalNumberingScheme.cc.
References funct::abs(), debug, det_, HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::dx, PVValHelper::dy, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcons_, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::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, OfflinePixel3DPrimaryVertices_cfi::zrange, and ecaldqm::zside().
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 84 of file HGCalNumberingScheme.cc.
References HGCalDDDConstants::assignCellTrap(), HGCalCassette::cassetteIndex(), checkPosition(), debug, TauDecayModes::dec, det_, hcalRecHitTable_cff::detId, dumpCassette_, dumpDets_, spr::find(), firstLayer_, HGCalDDDConstants::getParameter(), HGCalTypes::getUnpackedCellU(), HGCalTypes::getUnpackedCellV(), HGCalTypes::getUnpackedType(), HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), HGCalGeometryMode::Hexagon8, HGCSiliconDetId::HGCalCoarseThick, hgcons_, indices_, nano_mu_digi_cff::layer, mode_, name_, convertSQLiteXML::ok, HGCalParameters::waferInfo::part, DetId::rawId(), HGCalTileIndex::tileIndex(), HGCalDDDConstants::tileSiPM(), HGCalDDDConstants::tileTrapezoid(), HGCalDDDConstants::tileType(), HGCalDDDConstants::waferFromPosition(), HGCalTypes::WaferFull, HGCalDDDConstants::waferHexagon8(), HGCalDDDConstants::waferHexagon8File(), HGCalDDDConstants::waferHexagon8Module(), HGCalWaferIndex::waferIndex(), HGCalDDDConstants::waferInfo(), HGCalParameters::waferInfoMap_, HGCalDDDConstants::waferType(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), geometryCSVtoXML::xx, and ecaldqm::zside().
|
private |
Definition at line 38 of file HGCalNumberingScheme.h.
Referenced by checkPosition(), getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 43 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 42 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 40 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 36 of file HGCalNumberingScheme.h.
Referenced by checkPosition(), getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 41 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 37 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().
|
private |
Definition at line 39 of file HGCalNumberingScheme.h.
Referenced by getUnitID(), and HGCalNumberingScheme().