#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 | |
void | checkPosition (uint32_t index, const G4ThreeVector &pos, bool matchOnly, bool debug) const |
Private Attributes | |
const DetId::Detector | det_ |
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 20 of file HGCalNumberingScheme.cc.
References edmScanValgrind::buffer, det_, dumpDets_, MillePedeFileConverter_cfg::fileName, firstLayer_, edm::FileInPath::fullPath(), HGCalDDDConstants::getLayerOffset(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8File, HGCalGeometryMode::Hexagon8Full, HGCalGeometryMode::Hexagon8Module, hgcons_, indices_, LEDCalibrationChannels::iphi, mps_monitormerge::items, phase1PixelTopology::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(), and HGCalWaferIndex::waferV().
|
delete |
HGCalNumberingScheme::~HGCalNumberingScheme | ( | ) |
Definition at line 70 of file HGCalNumberingScheme.cc.
|
private |
Definition at line 175 of file HGCalNumberingScheme.cc.
References funct::abs(), debug, det_, HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::dx, PVValHelper::dy, DetId::HGCalEE, 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 76 of file HGCalNumberingScheme.cc.
References HGCalDDDConstants::assignCellTrap(), checkPosition(), debug, TauDecayModes::dec, det_, dumpDets_, spr::find(), firstLayer_, HGCalTypes::getUnpackedCellU(), HGCalTypes::getUnpackedCellV(), HGCalTypes::getUnpackedType(), HGCalTypes::getUnpackedU(), HGCalTypes::getUnpackedV(), HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Cassette, HGCalGeometryMode::Hexagon8Module, HGCSiliconDetId::HGCalCoarseThick, hgcons_, indices_, phase1PixelTopology::layer, mode_, callgraph::module, name_, HGCalParameters::waferInfo::part, DetId::rawId(), relativeConstraints::ring, edm::second(), HGCScintillatorDetId::setSiPM(), HGCScintillatorDetId::setType(), HGCalDDDConstants::tileExist(), HGCalTileIndex::tileIndex(), HGCalDDDConstants::tileRings(), HGCalDDDConstants::tileSiPM(), HGCalDDDConstants::tileTrapezoid(), HGCalDDDConstants::tileType(), HGCalDDDConstants::waferFromPosition(), HGCalTypes::WaferFull, HGCalDDDConstants::waferHexagon8(), HGCalDDDConstants::waferHexagon8File(), HGCalWaferIndex::waferIndex(), HGCalDDDConstants::waferInfo(), HGCalDDDConstants::waferType(), HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and geometryCSVtoXML::xx.
|
private |
Definition at line 38 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 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 42 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().