#include <HGCalTriggerGeometryBase.h>
Public Types | |
typedef std::unordered_map< unsigned, unsigned > | geom_map |
typedef std::set< unsigned > | geom_ordered_set |
typedef std::unordered_set< unsigned > | geom_set |
Public Member Functions | |
virtual bool | disconnectedModule (const unsigned module_id) const =0 |
const HGCalGeometry * | eeGeometry () const |
const HGCalTopology & | eeTopology () const |
const HGCalGeometry * | fhGeometry () const |
const HGCalTopology & | fhTopology () const |
virtual geom_set | getCellsFromModule (const unsigned cell_det_id) const =0 |
virtual geom_set | getCellsFromTriggerCell (const unsigned cell_det_id) const =0 |
virtual unsigned | getLinksInModule (const unsigned module_id) const =0 |
virtual geom_set | getLpgbtsFromModule (const unsigned module_id) const =0 |
virtual geom_set | getLpgbtsFromStage1Fpga (const unsigned stage1_id) const =0 |
virtual unsigned | getModuleFromCell (const unsigned cell_det_id) const =0 |
virtual unsigned | getModuleFromTriggerCell (const unsigned trigger_cell_det_id) const =0 |
virtual GlobalPoint | getModulePosition (const unsigned module_det_id) const =0 |
virtual geom_set | getModulesFromLpgbt (const unsigned lpgbt_id) const =0 |
virtual unsigned | getModuleSize (const unsigned module_id) const =0 |
virtual geom_set | getNeighborsFromTriggerCell (const unsigned trigger_cell_det_id) const =0 |
virtual geom_ordered_set | getOrderedCellsFromModule (const unsigned cell_det_id) const =0 |
virtual geom_ordered_set | getOrderedTriggerCellsFromModule (const unsigned trigger_cell_det_id) const =0 |
virtual unsigned | getStage1FpgaFromLpgbt (const unsigned lpgbt_id) const =0 |
virtual unsigned | getStage1FpgaFromModule (const unsigned module_id) const =0 |
virtual unsigned | getStage1FpgaFromStage1Link (const unsigned) const =0 |
virtual geom_set | getStage1FpgasFromStage2Fpga (const unsigned stage2_id) const =0 |
virtual geom_set | getStage1LinksFromStage1Fpga (const unsigned) const =0 |
virtual geom_set | getStage1LinksFromStage2Fpga (const unsigned) const =0 |
virtual unsigned | getStage2FpgaFromStage1Link (const unsigned) const =0 |
virtual geom_set | getStage2FpgasFromStage1Fpga (const unsigned stage1_id) const =0 |
virtual unsigned | getTriggerCellFromCell (const unsigned cell_det_id) const =0 |
virtual GlobalPoint | getTriggerCellPosition (const unsigned trigger_cell_det_id) const =0 |
virtual geom_set | getTriggerCellsFromModule (const unsigned trigger_cell_det_id) const =0 |
HGCalTriggerGeometryBase (const edm::ParameterSet &conf) | |
const HGCalGeometry * | hscGeometry () const |
const HGCalTopology & | hscTopology () const |
const HGCalGeometry * | hsiGeometry () const |
const HGCalTopology & | hsiTopology () const |
virtual void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0 |
virtual void | initialize (const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *)=0 |
bool | isWithNoseGeometry () const |
virtual unsigned | lastTriggerLayer () const =0 |
const std::string & | name () const |
const HGCalGeometry * | noseGeometry () const |
const HGCalTopology & | noseTopology () const |
virtual void | reset () |
void | setWithNoseGeometry (const bool isNose) |
virtual unsigned | triggerLayer (const unsigned id) const =0 |
virtual bool | validCell (const unsigned cell_id) const =0 |
virtual bool | validTriggerCell (const unsigned trigger_cell_id) const =0 |
virtual | ~HGCalTriggerGeometryBase () |
Protected Member Functions | |
void | setEEGeometry (const HGCalGeometry *geom) |
void | setHScGeometry (const HGCalGeometry *geom) |
void | setHSiGeometry (const HGCalGeometry *geom) |
void | setNoseGeometry (const HGCalGeometry *geom) |
Private Attributes | |
const HGCalGeometry * | hgc_ee_geometry_ = nullptr |
const HGCalGeometry * | hgc_hsc_geometry_ = nullptr |
const HGCalGeometry * | hgc_hsi_geometry_ = nullptr |
const HGCalGeometry * | hgc_nose_geometry_ = nullptr |
bool | isNose_ = false |
const std::string | name_ |
Definition at line 16 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_map<unsigned, unsigned> HGCalTriggerGeometryBase::geom_map |
Definition at line 18 of file HGCalTriggerGeometryBase.h.
typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set |
Definition at line 20 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set |
Definition at line 19 of file HGCalTriggerGeometryBase.h.
HGCalTriggerGeometryBase::HGCalTriggerGeometryBase | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalTriggerGeometryBase.cc.
|
inlinevirtual |
Definition at line 23 of file HGCalTriggerGeometryBase.h.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalVFEProcessorSums::run().
|
inline |
Definition at line 30 of file HGCalTriggerGeometryBase.h.
References hgc_ee_geometry_.
Referenced by eeTopology(), HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp3::getModulePosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), and HGCalTriggerGeometryV9Imp3::getTriggerCellPosition().
|
inline |
Definition at line 35 of file HGCalTriggerGeometryBase.h.
References eeGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp3::detIdWaferType(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp3::initialize(), HGCalTriggerTools::setGeometry(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp3::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp3::validCellId().
|
inline |
Definition at line 31 of file HGCalTriggerGeometryBase.h.
References hgc_hsi_geometry_.
Referenced by fhTopology(), and hsiGeometry().
|
inline |
Definition at line 36 of file HGCalTriggerGeometryBase.h.
References fhGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerTools::getLayerZ(), and HGCalTriggerTools::setGeometry().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalVFEProcessorSums::run().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalConcentratorTrigSumImpl::doSum().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalClusteringImpl::areTCneighbour(), and HGCalClusteringImpl::NNKernel().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalBackendStage1Producer::produce(), HGCalBackendLayer1Processor::run(), and HGCalBackendLayer2Processor3DClusteringSA::run().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalBackendLayer2Processor3DClusteringSA::run().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalVFESummationImpl::triggerCellSums().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalTriggerTools::getTCPosition(), and HGCalVFEProcessorSums::run().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
inline |
Definition at line 33 of file HGCalTriggerGeometryBase.h.
References hgc_hsc_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp3::getModulePosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp3::getTriggerCellPosition(), and hscTopology().
|
inline |
Definition at line 38 of file HGCalTriggerGeometryBase.h.
References hscGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp3::detIdWaferType(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getTriggerCellsFromModule(), HGCalTriggerTools::setGeometry(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp3::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp3::validCellId().
|
inline |
Definition at line 32 of file HGCalTriggerGeometryBase.h.
References fhGeometry().
Referenced by HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp3::getModulePosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp3::getTriggerCellPosition(), and hsiTopology().
|
inline |
Definition at line 37 of file HGCalTriggerGeometryBase.h.
References hsiGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryV9Imp2::detIdWaferType(), HGCalTriggerGeometryV9Imp3::detIdWaferType(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp3::initialize(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp3::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp3::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
inline |
Definition at line 27 of file HGCalTriggerGeometryBase.h.
References isNose_.
Referenced by HGCalTriggerTools::setGeometry().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
inline |
Definition at line 25 of file HGCalTriggerGeometryBase.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
Definition at line 29 of file HGCalTriggerGeometryBase.h.
References hgc_nose_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::getModulePosition(), HGCalTriggerGeometryV9Imp3::getModulePosition(), HGCalTriggerGeometryV9Imp2::getTriggerCellPosition(), HGCalTriggerGeometryV9Imp3::getTriggerCellPosition(), and noseTopology().
|
inline |
Definition at line 34 of file HGCalTriggerGeometryBase.h.
References noseGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryV9Imp2::initialize(), HGCalTriggerGeometryV9Imp3::initialize(), HGCalTriggerTools::setGeometry(), HGCalTriggerGeometryV9Imp2::validCell(), HGCalTriggerGeometryV9Imp3::validCell(), HGCalTriggerGeometryV9Imp2::validCellId(), and HGCalTriggerGeometryV9Imp3::validCellId().
|
virtual |
Reimplemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Definition at line 6 of file HGCalTriggerGeometryBase.cc.
|
inlineprotected |
Definition at line 87 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_ee_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::initialize(), and HGCalTriggerGeometryV9Imp3::initialize().
|
inlineprotected |
Definition at line 89 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsc_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::initialize(), and HGCalTriggerGeometryV9Imp3::initialize().
|
inlineprotected |
Definition at line 88 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_hsi_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::initialize(), and HGCalTriggerGeometryV9Imp3::initialize().
|
inlineprotected |
Definition at line 90 of file HGCalTriggerGeometryBase.h.
References relativeConstraints::geom, and hgc_nose_geometry_.
Referenced by HGCalTriggerGeometryV9Imp2::initialize(), and HGCalTriggerGeometryV9Imp3::initialize().
|
inline |
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalShowerShape::coreShowerLength(), HGCalShowerShape::percentileLayer(), and HGCalTriggerTools::triggerLayer().
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
|
pure virtual |
Implemented in HGCalTriggerGeometryV9Imp3, and HGCalTriggerGeometryV9Imp2.
Referenced by HGCalConcentratorSuperTriggerCellImpl::createAllTriggerCells(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), HGCalCoarseTriggerCellMapping::getRepresentativeDetId(), and HGCalConcentratorAutoEncoderImpl::select().
|
private |
Definition at line 96 of file HGCalTriggerGeometryBase.h.
Referenced by eeGeometry(), and setEEGeometry().
|
private |
Definition at line 98 of file HGCalTriggerGeometryBase.h.
Referenced by hscGeometry(), and setHScGeometry().
|
private |
Definition at line 97 of file HGCalTriggerGeometryBase.h.
Referenced by fhGeometry(), and setHSiGeometry().
|
private |
Definition at line 99 of file HGCalTriggerGeometryBase.h.
Referenced by noseGeometry(), and setNoseGeometry().
|
private |
Definition at line 95 of file HGCalTriggerGeometryBase.h.
Referenced by isWithNoseGeometry(), and setWithNoseGeometry().
|
private |
Definition at line 93 of file HGCalTriggerGeometryBase.h.
Referenced by name().