#include <HGCalGeometry.h>
Public Types | |
typedef HGCalGeometryRecord | AlignedRecord |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< FlatHexagon > | CellVec |
typedef std::vector< FlatTrd > | CellVec2 |
typedef std::vector< GlobalPoint > | CornersVec |
typedef std::set< DetId > | DetIdSet |
typedef PHGCalRcd | PGeometryRecord |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
Public Types inherited from CaloSubdetectorGeometry | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector < std::shared_ptr< const CaloCellGeometry > > | CellSet |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< CCGFloat > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< CCGFloat > | TrVec |
Public Member Functions | |
std::string | cellElement () const |
virtual void | fillNamedParams (DDFilteredView fv) |
CornersVec | get8Corners (const DetId &id) const |
double | getArea (const DetId &detid) const |
Returns area of a cell. More... | |
DetIdSet | getCells (const GlobalPoint &r, double dR) const override |
Get a list of all cells within a dR of the given cell. More... | |
DetId | getClosestCell (const GlobalPoint &r) const override |
DetId | getClosestCellHex (const GlobalPoint &r, bool extend) const |
CornersVec | getCorners (const DetId &id) const |
Returns the corner points of this cell's volume. More... | |
std::shared_ptr< const CaloCellGeometry > | getGeometry (const DetId &id) const override |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
CornersVec | getNewCorners (const DetId &id, bool debug=false) const |
GlobalPoint | getPosition (const DetId &id, bool debug=false) const |
void | getSummary (CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const override |
const std::vector< DetId > & | getValidDetIds (DetId::Detector det=DetId::Detector(0), int subdet=0) const override |
Get a list of valid detector ids (for the given subdetector) More... | |
const std::vector< DetId > & | getValidGeomDetIds (void) const |
GlobalPoint | getWaferPosition (const DetId &id) const |
HGCalGeometry (const HGCalTopology &topology) | |
void | initializeParms () override |
void | localCorners (Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref) |
DetId | neighborZ (const DetId &idin, const GlobalVector &p) const |
DetId | neighborZ (const DetId &idin, const MagneticField *bField, int charge, const GlobalVector &momentum) const |
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
bool | present (const DetId &id) const override |
is this detid present in the geometry? More... | |
void | sortDetIds () |
const HGCalTopology & | topology () const |
~HGCalGeometry () override=default | |
Public Member Functions inherited from CaloSubdetectorGeometry | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
CaloSubdetectorGeometry (const CaloSubdetectorGeometry &)=delete | |
avoid copies More... | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
CCGFloat | deltaEta (const DetId &detId) const |
CCGFloat | deltaPhi (const DetId &detId) const |
virtual void | fillDefaultNamedParameters () const |
virtual CellSet | getCellSet (const GlobalPoint &r, double dR) const |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
ParMgr * | parMgr () |
const ParMgr * | parMgrConst () const |
ParVecVec & | parVecVec () |
const ParVecVec & | parVecVec () const |
virtual | ~CaloSubdetectorGeometry () |
The base class DOES assume that it owns the CaloCellGeometry objects. More... | |
Static Public Member Functions | |
static std::string | dbString () |
static std::string | producerTag () |
Static Public Attributes | |
static constexpr unsigned int | k_NumberOfParametersPerHex = 3 |
static constexpr unsigned int | k_NumberOfParametersPerShape = 3 |
static constexpr unsigned int | k_NumberOfParametersPerTrd = 12 |
static constexpr unsigned int | k_NumberOfShapes = 100 |
static constexpr unsigned int | k_NumberOfShapesTrd = 1000 |
Protected Member Functions | |
void | addValidID (const DetId &id) |
std::shared_ptr< const CaloCellGeometry > | cellGeomPtr (uint32_t index) const override |
unsigned int | getClosestCellIndex (const GlobalPoint &r) const |
const CaloCellGeometry * | getGeometryRawPtr (uint32_t index) const override |
unsigned int | indexFor (const DetId &id) const override |
unsigned int | sizeForDenseIndex () const |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual unsigned int | sizeForDenseIndex (const DetId &id) const |
Private Member Functions | |
std::shared_ptr< const CaloCellGeometry > | cellGeomPtr (uint32_t index, const GlobalPoint &p) const |
template<class T > | |
unsigned int | getClosestCellIndex (const GlobalPoint &r, const std::vector< T > &vec) const |
DetId | getGeometryDetId (DetId detId) const |
Private Attributes | |
CellVec | m_cellVec |
CellVec2 | m_cellVec2 |
DetId::Detector | m_det |
ForwardSubdetector | m_subdet |
const HGCalTopology & | m_topology |
std::vector< DetId > | m_validGeomIds |
const double | twoBysqrt3_ |
Static Private Attributes | |
static constexpr double | k_fac1 = 0.5 |
static constexpr double | k_fac2 = 1.0 / 3.0 |
static constexpr double | k_half = 0.5 |
Additional Inherited Members | |
Static Protected Member Functions inherited from CaloSubdetectorGeometry | |
static CCGFloat | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
Protected Attributes inherited from CaloSubdetectorGeometry | |
ParVecVec | m_parVecVec |
std::vector< DetId > | m_validIds |
Definition at line 29 of file HGCalGeometry.h.
Definition at line 40 of file HGCalGeometry.h.
Definition at line 33 of file HGCalGeometry.h.
typedef std::vector<FlatHexagon> HGCalGeometry::CellVec |
Definition at line 31 of file HGCalGeometry.h.
typedef std::vector<FlatTrd> HGCalGeometry::CellVec2 |
Definition at line 32 of file HGCalGeometry.h.
typedef std::vector<GlobalPoint> HGCalGeometry::CornersVec |
Definition at line 38 of file HGCalGeometry.h.
typedef std::set<DetId> HGCalGeometry::DetIdSet |
Definition at line 37 of file HGCalGeometry.h.
Definition at line 41 of file HGCalGeometry.h.
Definition at line 34 of file HGCalGeometry.h.
Definition at line 35 of file HGCalGeometry.h.
HGCalGeometry::HGCalGeometry | ( | const HGCalTopology & | topology | ) |
Definition at line 28 of file HGCalGeometry.cc.
References DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, m_topology, CaloSubdetectorGeometry::m_validIds, HGCalTopology::totalGeomModules(), and HGCalTopology::totalModules().
|
overridedefault |
|
protected |
Definition at line 699 of file HGCalGeometry.cc.
std::string HGCalGeometry::cellElement | ( | ) | const |
Definition at line 613 of file HGCalGeometry.cc.
References DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, HGCEE, HGCHEB, HGCHEF, m_det, and m_subdet.
|
overrideprotectedvirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 654 of file HGCalGeometry.cc.
References DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, and m_validGeomIds.
Referenced by cellGeomPtr(), getGeometry(), and getSummary().
|
private |
Definition at line 672 of file HGCalGeometry.cc.
References cellGeomPtr(), DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, and m_validGeomIds.
|
inlinestatic |
Definition at line 49 of file HGCalGeometry.h.
Referenced by CaloGeometryDBEP< T, U >::produceAligned().
|
virtual |
Definition at line 45 of file HGCalGeometry.cc.
HGCalGeometry::CornersVec HGCalGeometry::get8Corners | ( | const DetId & | id | ) | const |
Definition at line 328 of file HGCalGeometry.cc.
References HGCalDDDConstants::cellSizeTrap(), cms::cuda::co, funct::cos(), HGCalTopology::dddConstants(), debugLocate, HGCalTopology::decode(), runTauDisplay::dr, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, getPosition(), DetId::HGCalHSc, mps_fire::i, indexFor(), FlatTrd::k_Cell, FlatTrd::k_dZ, FlatHexagon::k_dZ, k_fac1, k_fac2, k_half, FlatHexagon::k_r, FlatHexagon::k_R, HGCalDDDConstants::localToGlobal8(), HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellHex(), m_cellVec, m_cellVec2, m_det, m_topology, SiStripPI::min, FlatTrd::ncorner_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::r, findQualityFiles::rr, funct::sin(), findQualityFiles::v, HGCalTopology::waferHexagon6(), HGCalDDDConstants::waferZ(), xy(), and PV3DBase< T, PVType, FrameType >::z().
double HGCalGeometry::getArea | ( | const DetId & | detid | ) | const |
Returns area of a cell.
Definition at line 257 of file HGCalGeometry.cc.
References funct::abs(), getNewCorners(), mps_fire::i, dqmiolumiharvest::j, dqmiodumpmetadata::n, and y.
|
overridevirtual |
Get a list of all cells within a dR of the given cell.
The default implementation makes a loop over all cell geometries. Cleverer implementations are suggested to use rough conversions between eta/phi and ieta/iphi and test on the boundaries.
Reimplemented from CaloSubdetectorGeometry.
Definition at line 608 of file HGCalGeometry.cc.
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 512 of file HGCalGeometry.cc.
References HGCalDDDConstants::assignCell(), HGCalDDDConstants::assignCellHex(), HGCalDDDConstants::assignCellTrap(), HGCalTopology::dddConstants(), HGCalTopology::decode(), HGCalTopology::DecodedDetId::det, HGCalTopology::detector(), HGCalTopology::encode(), getClosestCellIndex(), HGCalDDDConstants::getLayer(), DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, m_topology, m_validGeomIds, HGCalTopology::tileTrapezoid(), HGCalTopology::waferHexagon6(), HGCalDDDConstants::waferTypeT(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by neighborZ().
DetId HGCalGeometry::getClosestCellHex | ( | const GlobalPoint & | r, |
bool | extend | ||
) | const |
Definition at line 567 of file HGCalGeometry.cc.
References HGCalDDDConstants::assignCellHex(), HGCalTopology::dddConstants(), HGCalTopology::decode(), HGCalTopology::DecodedDetId::det, HGCalTopology::detector(), HGCalTopology::encode(), getClosestCellIndex(), HGCalDDDConstants::getLayer(), DetId::HGCalHSc, m_cellVec, m_det, m_topology, m_validGeomIds, HGCalTopology::waferHexagon8(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
protected |
Definition at line 703 of file HGCalGeometry.cc.
References DetId::HGCalHSc, m_cellVec, m_cellVec2, and m_det.
Referenced by getClosestCell(), and getClosestCellHex().
|
private |
Definition at line 708 of file HGCalGeometry.cc.
References funct::abs(), PVValHelper::dz, getPosition(), isotrackApplyRegressor::k, M_PI, PV3DBase< T, PVType, FrameType >::phi(), z, and PV3DBase< T, PVType, FrameType >::z().
HGCalGeometry::CornersVec HGCalGeometry::getCorners | ( | const DetId & | id | ) | const |
Returns the corner points of this cell's volume.
Definition at line 271 of file HGCalGeometry.cc.
References HGCalDDDConstants::cellSizeTrap(), cms::cuda::co, funct::cos(), HGCalTopology::dddConstants(), debugLocate, HGCalTopology::decode(), runTauDisplay::dr, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, getPosition(), DetId::HGCalHSc, mps_fire::i, indexFor(), FlatTrd::k_Cell, FlatTrd::k_dZ, FlatHexagon::k_dZ, k_fac1, k_fac2, k_half, FlatHexagon::k_r, FlatHexagon::k_R, HGCalDDDConstants::localToGlobal8(), HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellHex(), m_cellVec, m_cellVec2, m_det, m_topology, SiStripPI::min, FlatHexagon::ncorner_, FlatTrd::ncorner_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::r, findQualityFiles::rr, funct::sin(), findQualityFiles::v, HGCalTopology::waferHexagon6(), HGCalDDDConstants::waferZ(), xy(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Get the cell geometry of a given detector id. Should return false if not found.
Reimplemented from CaloSubdetectorGeometry.
Definition at line 181 of file HGCalGeometry.cc.
References cellGeomPtr(), HGCalTopology::detId2denseGeomId(), getGeometryDetId(), getPosition(), and m_topology.
Definition at line 856 of file HGCalGeometry.cc.
References HGCalDetId::geometryCell(), HGCScintillatorDetId::geometryCell(), HGCSiliconDetId::geometryCell(), HFNoseDetId::geometryCell(), HGCalTopology::isHFNose(), m_topology, HGCalTopology::tileTrapezoid(), and HGCalTopology::waferHexagon6().
Referenced by getGeometry(), indexFor(), newCell(), and present().
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 639 of file HGCalGeometry.cc.
References DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, and CaloCellGeometry::param().
Referenced by present().
HGCalGeometry::CornersVec HGCalGeometry::getNewCorners | ( | const DetId & | id, |
bool | debug = false |
||
) | const |
Definition at line 382 of file HGCalGeometry.cc.
References HGCalDDDConstants::cellSizeTrap(), cms::cuda::co, funct::cos(), HGCalTopology::dddConstants(), HGCalTopology::decode(), runTauDisplay::dr, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, getPosition(), DetId::HGCalHSc, mps_fire::i, indexFor(), FlatTrd::k_Cell, FlatTrd::k_dZ, FlatHexagon::k_dZ, k_fac1, k_fac2, k_half, FlatHexagon::k_r, FlatHexagon::k_R, HGCalDDDConstants::localToGlobal8(), HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellHex(), m_cellVec, m_cellVec2, m_det, m_topology, SiStripPI::min, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::r, findQualityFiles::rr, funct::sin(), findQualityFiles::v, HGCalTopology::waferHexagon6(), HGCalDDDConstants::waferZ(), xy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by FWRecoGeometryESProducer::addCaloGeometry(), and getArea().
GlobalPoint HGCalGeometry::getPosition | ( | const DetId & | id, |
bool | debug = false |
||
) | const |
Definition at line 198 of file HGCalGeometry.cc.
References HGCalTopology::dddConstants(), HGCalTopology::decode(), indexFor(), HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellHex(), m_cellVec, m_cellVec2, m_topology, reco_skim_cfg_mod::maxSize, HGCalTopology::tileTrapezoid(), HGCalTopology::waferHexagon6(), HGCalDDDConstants::waferZ(), and xy().
Referenced by FWRecoGeometryESProducer::addCaloGeometry(), HGCalTBAnalyzer::analyzeDigi(), HGCalTBAnalyzer::analyzeRecHits(), HGCDigitizer::checkPosition(), HGCalRadiationMap::computeRadius(), HGCalTriggerNtupleHGCDigis::fill(), get8Corners(), getClosestCellIndex(), getCorners(), getGeometry(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp3::getModulePosition(), getNewCorners(), hgcal::RecHitTools::getPosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp3::getTriggerCellPosition(), and neighborZ().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 754 of file HGCalGeometry.cc.
References HGCalParameters::hgtrap::alpha, HGCalParameters::hgtrap::bl, cellGeomPtr(), HGCalParameters::hgtrap::cellSize, HGCalTopology::dddConstants(), HGCalTopology::detId2denseGeomId(), HGCalParameters::hgtrap::dz, HGCalParameters::firstModule_, HGCalDDDConstants::getModule(), HGCalDDDConstants::getParameter(), HGCalDDDConstants::getTrForm(), HGCalDDDConstants::getTrFormN(), runTauDisplay::gp, HGCalParameters::hgtrap::h, DetId::HGCalHSc, mps_fire::i, HGCalTopology::isHFNose(), FlatTrd::k_Alp1, FlatTrd::k_Alp2, FlatTrd::k_Cell, FlatTrd::k_dX1, FlatTrd::k_dX2, FlatTrd::k_dX3, FlatTrd::k_dX4, FlatTrd::k_dY1, FlatTrd::k_dY2, FlatTrd::k_dZ, FlatHexagon::k_dZ, k_NumberOfParametersPerHex, k_NumberOfParametersPerTrd, k_NumberOfShapes, FlatTrd::k_Phi, FlatHexagon::k_r, FlatHexagon::k_R, FlatTrd::k_Theta, HGCalParameters::lastModule_, HGCalParameters::hgtrform::lay, HGCalDetId::layer(), HGCScintillatorDetId::layer(), HFNoseDetId::layer(), HGCSiliconDetId::layer(), phase1PixelTopology::layer, HGCalDDDConstants::layerIndex(), m_det, m_topology, m_validGeomIds, CaloSubdetectorGeometry::numberOfParametersPerShape(), CaloSubdetectorGeometry::numberOfShapes(), CaloSubdetectorGeometry::numberOfTransformParms(), submitPVValidationJobs::params, findQualityFiles::rr, HGCalDDDConstants::sectors(), HGCalTopology::tileTrapezoid(), HGCalParameters::hgtrap::tl, HGCalTopology::totalGeomModules(), groupFilesInBlocks::tt, twoBysqrt3_, HGCalTopology::waferHexagon6(), and HGCalDDDConstants::waferInLayer().
|
inlineoverridevirtual |
Get a list of valid detector ids (for the given subdetector)
Reimplemented from CaloSubdetectorGeometry.
Definition at line 89 of file HGCalGeometry.h.
References CaloSubdetectorGeometry::m_validIds.
Referenced by HGcalHitIdCheck::analyze().
|
inline |
GlobalPoint HGCalGeometry::getWaferPosition | ( | const DetId & | id | ) | const |
Definition at line 238 of file HGCalGeometry.cc.
References TauDecayModes::dec, indexFor(), m_cellVec, m_cellVec2, m_topology, reco_skim_cfg_mod::maxSize, DetId::rawId(), and HGCalTopology::tileTrapezoid().
|
overrideprotectedvirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 624 of file HGCalGeometry.cc.
References TauDecayModes::dec, HGCalTopology::detId2denseGeomId(), getGeometryDetId(), DetId::HGCalHSc, m_cellVec, m_cellVec2, m_det, m_topology, and DetId::rawId().
Referenced by get8Corners(), getCorners(), getNewCorners(), getPosition(), and getWaferPosition().
|
overridevirtual |
Definition at line 49 of file HGCalGeometry.cc.
References DetId::HGCalHSc, FlatHexagon::localCorners(), FlatTrd::localCorners(), and m_det.
DetId HGCalGeometry::neighborZ | ( | const DetId & | idin, |
const GlobalVector & | p | ||
) | const |
Definition at line 446 of file HGCalGeometry.cc.
References HGCalTopology::dddConstants(), HGCalTopology::decode(), HGCalDDDConstants::firstLayer(), getClosestCell(), getPosition(), HGCalDDDConstants::lastLayer(), m_topology, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, HGCalDDDConstants::rangeR(), topology(), findQualityFiles::v, HGCalDDDConstants::waferZ(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
DetId HGCalGeometry::neighborZ | ( | const DetId & | idin, |
const MagneticField * | bField, | ||
int | charge, | ||
const GlobalVector & | momentum | ||
) | const |
Definition at line 474 of file HGCalGeometry.cc.
References alongMomentum, Plane::build(), HGCalTopology::dddConstants(), HGCalTopology::decode(), HGCalDDDConstants::firstLayer(), getClosestCell(), getPosition(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), HGCalDDDConstants::lastLayer(), M_PI, m_topology, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), Propagator::propagate(), alignCSCRings::r, HGCalDDDConstants::rangeR(), topology(), findQualityFiles::v, HGCalDDDConstants::waferZ(), z, and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 57 of file HGCalGeometry.cc.
References HGCalDDDConstants::cellInLayer(), cells, CaloSubdetectorGeometry::cornersMgr(), HGCalTopology::dddConstants(), TauDecayModes::dec, HGCalTopology::decode(), HGCalTopology::detId2denseGeomId(), HGCalTopology::encode(), getGeometryDetId(), DetId::HGCalHSc, HGCalTopology::isHFNose(), HGCScintillatorDetId::layer(), m_cellVec, m_cellVec2, m_det, m_topology, m_validGeomIds, CaloSubdetectorGeometry::m_validIds, HGCalDDDConstants::numberCellsHexagon(), DetId::rawId(), HGCScintillatorDetId::ring(), HGCScintillatorDetId::setSiPM(), HGCScintillatorDetId::setType(), HGCalTopology::tileTrapezoid(), HGCalDDDConstants::tileType(), findQualityFiles::v, HGCalTopology::valid(), HGCalTopology::waferHexagon6(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by HGCalGeometryLoader::buildGeom().
|
overridevirtual |
is this detid present in the geometry?
Reimplemented from CaloSubdetectorGeometry.
Definition at line 190 of file HGCalGeometry.cc.
References HGCalTopology::detId2denseGeomId(), getGeometryDetId(), getGeometryRawPtr(), and m_topology.
|
inlinestatic |
Definition at line 109 of file HGCalGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), CaloGeometryBuilder::CaloGeometryBuilder(), and PCaloGeometryBuilder::PCaloGeometryBuilder().
|
protected |
Definition at line 637 of file HGCalGeometry.cc.
References m_topology, and HGCalTopology::totalGeomModules().
void HGCalGeometry::sortDetIds | ( | void | ) |
Definition at line 749 of file HGCalGeometry.cc.
References CaloSubdetectorGeometry::m_validIds.
Referenced by HGCalGeometryLoader::build().
|
inline |
Definition at line 112 of file HGCalGeometry.h.
References m_topology.
Referenced by hgc_digi_utils::addCellMetadata(), HGCalRecHitValidation::analyze(), HGCalDigiValidation::analyze(), HGCDigitizer::checkPosition(), HGCalRecHitValidation::dqmBeginRun(), HGCalTriggerGeometryBase::eeTopology(), HGCalTriggerGeometryBase::fhTopology(), CaloParticleDebugger::fillSimHits(), HGCalTriggerGeometryBase::hscTopology(), HGCalTriggerGeometryBase::hsiTopology(), CaloTruthAccumulator::initializeEvent(), hgcal::RecHitTools::maskCell(), neighborZ(), HGCalTriggerGeometryBase::noseTopology(), HGCalRecHitWorkerSimple::set(), HGCalRadiationMap::setGeometry(), and HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame >::setGeometry().
|
staticprivate |
Definition at line 135 of file HGCalGeometry.h.
Referenced by get8Corners(), getCorners(), and getNewCorners().
|
staticprivate |
Definition at line 136 of file HGCalGeometry.h.
Referenced by get8Corners(), getCorners(), and getNewCorners().
|
staticprivate |
Definition at line 134 of file HGCalGeometry.h.
Referenced by get8Corners(), getCorners(), and getNewCorners().
|
static |
Definition at line 44 of file HGCalGeometry.h.
Referenced by HGCalGeometryLoader::build(), and getSummary().
|
static |
Definition at line 45 of file HGCalGeometry.h.
Referenced by CaloGeometryDBEP< T, U >::produceAligned().
|
static |
Definition at line 43 of file HGCalGeometry.h.
Referenced by HGCalGeometryLoader::build(), and getSummary().
|
static |
Definition at line 46 of file HGCalGeometry.h.
Referenced by HGCalGeometryLoader::build(), getSummary(), and CaloGeometryDBEP< T, U >::produceAligned().
|
static |
Definition at line 47 of file HGCalGeometry.h.
Referenced by HGCalGeometryLoader::build().
|
private |
Definition at line 139 of file HGCalGeometry.h.
Referenced by cellGeomPtr(), get8Corners(), getClosestCell(), getClosestCellHex(), getClosestCellIndex(), getCorners(), getGeometryRawPtr(), getNewCorners(), getPosition(), getWaferPosition(), HGCalGeometry(), indexFor(), and newCell().
|
private |
Definition at line 140 of file HGCalGeometry.h.
Referenced by cellGeomPtr(), get8Corners(), getClosestCell(), getClosestCellIndex(), getCorners(), getGeometryRawPtr(), getNewCorners(), getPosition(), getWaferPosition(), HGCalGeometry(), indexFor(), and newCell().
|
private |
Definition at line 142 of file HGCalGeometry.h.
Referenced by cellElement(), cellGeomPtr(), get8Corners(), getClosestCell(), getClosestCellHex(), getClosestCellIndex(), getCorners(), getGeometryRawPtr(), getNewCorners(), getSummary(), HGCalGeometry(), indexFor(), localCorners(), and newCell().
|
private |
Definition at line 143 of file HGCalGeometry.h.
Referenced by cellElement().
|
private |
Definition at line 138 of file HGCalGeometry.h.
Referenced by get8Corners(), getClosestCell(), getClosestCellHex(), getCorners(), getGeometry(), getGeometryDetId(), getNewCorners(), getPosition(), getSummary(), getWaferPosition(), HGCalGeometry(), indexFor(), neighborZ(), newCell(), present(), sizeForDenseIndex(), and topology().
|
private |
Definition at line 141 of file HGCalGeometry.h.
Referenced by cellGeomPtr(), getClosestCell(), getClosestCellHex(), getSummary(), getValidGeomDetIds(), and newCell().
|
private |
Definition at line 144 of file HGCalGeometry.h.
Referenced by getSummary().