#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 unsigned | triggerLayer (const unsigned id) const =0 |
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(), triggerLayer(), and validTriggerCell().
Referenced by HGCalTriggerTools::eventSetup(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), 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(), HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCTriggerCells::fill(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexLayerBasedImp1::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), HGCalTriggerGeometryHexImp2::validCellId(), and HGCalTriggerGeometryHexLayerBasedImp1::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(), HGCalTriggerTools::eventSetup(), HGCalTriggerNtupleHGCTriggerCells::fill(), HGCalTriggerGeometryHexImp2::fillInvalidTriggerCells(), HGCalTriggerGeometryHexImp1::fillMaps(), HGCalTriggerGeometryHexImp2::fillMaps(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalTriggerGeometryHexImp2::validCellId(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
|
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(), HGCalTriggerCellBestChoiceCodecImpl::encode(), HGCalTriggerCellThresholdCodecImpl::encode(), HGCalTriggerNtupleHGCPanels::fill(), HGCalTriggerCellThresholdCodecImpl::triggerCellSums(), HGCalBestChoiceCodecImpl::triggerCellSums(), and HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by HGCalClusteringImpl::areTCneighbour(), 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 68 of file HGCalTriggerGeometryBase.h.
References calo_geometry_, and relativeConstraints::geom.
Referenced by HGCalTriggerGeometryHexImp1::initialize(), HGCalTriggerGeometryImp1::initialize(), HGCalTriggerGeometryHexImp2::initialize(), and HGCalTriggerGeometryHexLayerBasedImp1::initialize().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology(), HGCalShowerShape::coreShowerLength(), and HGCalTriggerNtupleHGCPanels::fill().
|
pure virtual |
Implemented in HGCalTriggerGeometryGenericMapping, HGCalTriggerGeometryHexLayerBasedImp1, and HGCalTriggerGeometryHexImp2.
Referenced by bhTopology().
|
private |
Definition at line 74 of file HGCalTriggerGeometryBase.h.
Referenced by bhGeometry(), caloGeometry(), eeGeometry(), fhGeometry(), and setCaloGeometry().
|
private |
Definition at line 72 of file HGCalTriggerGeometryBase.h.
Referenced by name().