#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 | |
const HcalGeometry * | bhGeometry () const |
const HcalTopology & | bhTopology () const |
const edm::ESHandle< CaloGeometry > & | caloGeometry () const |
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 | 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 | 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 | 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) | |
virtual void | initialize (const edm::ESHandle< CaloGeometry > &)=0 |
const std::string & | name () const |
virtual void | reset () |
virtual bool | validTriggerCell (const unsigned trigger_cell_id) const =0 |
virtual | ~HGCalTriggerGeometryBase () |
Protected Member Functions | |
void | setCaloGeometry (const edm::ESHandle< CaloGeometry > &geom) |
Private Attributes | |
edm::ESHandle< CaloGeometry > | calo_geometry_ |
const std::string | name_ |
Definition at line 22 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_map<unsigned,unsigned> HGCalTriggerGeometryBase::geom_map |
Definition at line 25 of file HGCalTriggerGeometryBase.h.
typedef std::set<unsigned> HGCalTriggerGeometryBase::geom_ordered_set |
Definition at line 27 of file HGCalTriggerGeometryBase.h.
typedef std::unordered_set<unsigned> HGCalTriggerGeometryBase::geom_set |
Definition at line 26 of file HGCalTriggerGeometryBase.h.
HGCalTriggerGeometryBase::HGCalTriggerGeometryBase | ( | const edm::ParameterSet & | conf | ) |
Definition at line 6 of file HGCalTriggerGeometryBase.cc.
|
inlinevirtual |
Definition at line 30 of file HGCalTriggerGeometryBase.h.
|
inline |
Definition at line 37 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, and HcalEndcap.
Referenced by bhTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), and HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition().
|
inline |
Definition at line 40 of file HGCalTriggerGeometryBase.h.
References bhGeometry(), disconnectedModule(), getCellsFromModule(), getCellsFromTriggerCell(), getModuleFromCell(), getModuleFromTriggerCell(), getModulePosition(), getNeighborsFromTriggerCell(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellFromCell(), getTriggerCellPosition(), getTriggerCellsFromModule(), initialize(), reset(), HcalGeometry::topology(), and validTriggerCell().
Referenced by HGCalTriggerNtupleHGCDigis::simhits(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
inline |
Definition at line 34 of file HGCalTriggerGeometryBase.h.
References calo_geometry_.
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), and HGCalTriggerDigiProducer::produce().
|
inline |
Definition at line 35 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), and HGCEE.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), eeTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition(), and HGCalTriggerGeometryImp1::initialize().
|
inline |
Definition at line 38 of file HGCalTriggerGeometryBase.h.
References eeGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalTriggerGeometryHexLayerBasedImp1::validCellId(), and HGCalTriggerGeometryHexImp2::validCellId().
|
inline |
Definition at line 36 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, DetId::Forward, CaloGeometry::getSubdetectorGeometry(), and HGCHEF.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), fhTopology(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::getModulePosition(), HGCalTriggerGeometryHexLayerBasedImp1::getModulePosition(), HGCalTriggerGeometryHexImp2::getTriggerCellPosition(), and HGCalTriggerGeometryHexLayerBasedImp1::getTriggerCellPosition().
|
inline |
Definition at line 39 of file HGCalTriggerGeometryBase.h.
References fhGeometry(), and HGCalGeometry::topology().
Referenced by HGCalTriggerGeometryHexImp2::detIdWaferType(), HGCalTriggerGeometryHexLayerBasedImp1::detIdWaferType(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), HGCalTriggerGeometryHexLayerBasedImp1::validCellId(), and HGCalTriggerGeometryHexImp2::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), and HGCalTriggerBackend::HGCalTriggerSimCluster< FECODEC, DATA >::run().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), and HGCalTriggerDigiProducer::produce().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), HGCalTriggerCellThresholdCodecImpl::encode(), HGCalTriggerCellBestChoiceCodecImpl::encode(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), HGCalBestChoiceCodecImpl::triggerCellSums(), and HGCalTriggerCellThresholdCodecImpl::triggerCellSums().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), and HGCalClusteringImpl::NNKernel().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), HGCalTriggerCellBestChoiceCodecImpl::decode(), HGCalTriggerCellThresholdCodecImpl::decode(), HGCalTriggerCellThresholdCodecImpl::encode(), HGCalTriggerCellBestChoiceCodecImpl::encode(), HGCalBestChoiceCodecImpl::triggerCellSums(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), and HGCalTriggerCellThresholdCodecImpl::triggerCellSums().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), and HGCalBestChoiceCodecImpl::triggerCellSums().
|
pure virtual |
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryHexLayerBasedImp1, HGCalTriggerGeometryHexImp2, HGCalTriggerGeometryHexImp1, HGCalTriggerGeometryImp1, NullGeometry, and TrivialGeometry.
Referenced by bhTopology().
|
inline |
Definition at line 32 of file HGCalTriggerGeometryBase.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
virtual |
Reimplemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Definition at line 11 of file HGCalTriggerGeometryBase.cc.
Referenced by bhTopology().
|
inlineprotected |
Definition at line 67 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and relativeConstraints::geom.
Referenced by HGCalTriggerGeometryImp1::initialize(), HGCalTriggerGeometryHexImp1::initialize(), HGCalTriggerGeometryHexImp2::initialize(), and HGCalTriggerGeometryHexLayerBasedImp1::initialize().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
private |
Definition at line 73 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), caloGeometry(), eeGeometry(), fhGeometry(), and setCaloGeometry().
|
private |
Definition at line 71 of file HGCalTriggerGeometryBase.h.
Referenced by name().