#include <HGCalTriggerGeometryGenericMapping.h>
Public Types | |
typedef std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::Module > > | module_map |
typedef std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::TriggerCell > > | trigger_cell_map |
Public Types inherited from HGCalTriggerGeometryBase | |
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 | |
bool | disconnectedModule (const unsigned module_id) const final |
virtual geom_set | getCellsFromModule (const unsigned cell_det_id) const override final |
virtual geom_set | getCellsFromTriggerCell (const unsigned cell_det_id) const override final |
virtual unsigned | getModuleFromCell (const unsigned cell_det_id) const override final |
virtual unsigned | getModuleFromTriggerCell (const unsigned trigger_cell_det_id) const override final |
virtual GlobalPoint | getModulePosition (const unsigned module_det_id) const override final |
virtual geom_set | getNeighborsFromTriggerCell (const unsigned trigger_cell_det_id) const override final |
virtual geom_ordered_set | getOrderedCellsFromModule (const unsigned cell_det_id) const override final |
virtual geom_ordered_set | getOrderedTriggerCellsFromModule (const unsigned trigger_cell_det_id) const override final |
virtual unsigned | getTriggerCellFromCell (const unsigned cell_det_id) const override final |
virtual GlobalPoint | getTriggerCellPosition (const unsigned trigger_cell_det_id) const override final |
virtual geom_set | getTriggerCellsFromModule (const unsigned trigger_cell_det_id) const override final |
HGCalTriggerGeometryGenericMapping (const edm::ParameterSet &conf) | |
virtual void | reset () override final |
unsigned | triggerLayer (const unsigned id) const final |
bool | validTriggerCell (const unsigned trigger_cell_det_id) const final |
virtual | ~HGCalTriggerGeometryGenericMapping () |
Public Member Functions inherited from HGCalTriggerGeometryBase | |
const HcalGeometry & | bhGeometry () const |
const HcalTopology & | bhTopology () const |
const edm::ESHandle< CaloGeometry > & | caloGeometry () const |
const HGCalGeometry & | eeGeometry () const |
const HGCalTopology & | eeTopology () const |
const HGCalGeometry & | fhGeometry () const |
const HGCalTopology & | fhTopology () const |
HGCalTriggerGeometryBase (const edm::ParameterSet &conf) | |
virtual void | initialize (const edm::ESHandle< CaloGeometry > &)=0 |
const std::string & | name () const |
virtual | ~HGCalTriggerGeometryBase () |
Protected Attributes | |
geom_map | cells_to_trigger_cells_ |
module_map | modules_ |
trigger_cell_map | trigger_cells_ |
geom_map | trigger_cells_to_modules_ |
Additional Inherited Members | |
Protected Member Functions inherited from HGCalTriggerGeometryBase | |
void | setCaloGeometry (const edm::ESHandle< CaloGeometry > &geom) |
Definition at line 112 of file HGCalTriggerGeometryGenericMapping.h.
typedef std::unordered_map<unsigned,std::unique_ptr<const HGCalTriggerGeometry::Module> > HGCalTriggerGeometryGenericMapping::module_map |
Definition at line 115 of file HGCalTriggerGeometryGenericMapping.h.
typedef std::unordered_map<unsigned,std::unique_ptr<const HGCalTriggerGeometry::TriggerCell> > HGCalTriggerGeometryGenericMapping::trigger_cell_map |
Definition at line 116 of file HGCalTriggerGeometryGenericMapping.h.
HGCalTriggerGeometryGenericMapping::HGCalTriggerGeometryGenericMapping | ( | const edm::ParameterSet & | conf | ) |
Definition at line 12 of file HGCalTriggerGeometryGenericMapping.cc.
|
inlinevirtual |
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 131 of file HGCalTriggerGeometryGenericMapping.cc.
References triggerLayer().
Referenced by validTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 65 of file HGCalTriggerGeometryGenericMapping.cc.
References getOrderedCellsFromModule(), and modules_.
Referenced by getCellsFromTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 59 of file HGCalTriggerGeometryGenericMapping.cc.
References getCellsFromModule(), and trigger_cells_.
Referenced by getModuleFromTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 35 of file HGCalTriggerGeometryGenericMapping.cc.
References cells_to_trigger_cells_, getModuleFromTriggerCell(), modules_, and trigger_cells_to_modules_.
Referenced by getTriggerCellFromCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 49 of file HGCalTriggerGeometryGenericMapping.cc.
References getCellsFromTriggerCell(), modules_, and trigger_cells_to_modules_.
Referenced by getModuleFromCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 118 of file HGCalTriggerGeometryGenericMapping.cc.
References modules_, and validTriggerCell().
Referenced by getTriggerCellPosition().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 104 of file HGCalTriggerGeometryGenericMapping.cc.
References getTriggerCellPosition().
Referenced by getOrderedTriggerCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 76 of file HGCalTriggerGeometryGenericMapping.cc.
References getTriggerCellsFromModule(), and modules_.
Referenced by getCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 93 of file HGCalTriggerGeometryGenericMapping.cc.
References getNeighborsFromTriggerCell(), and modules_.
Referenced by getTriggerCellsFromModule().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 25 of file HGCalTriggerGeometryGenericMapping.cc.
References cells_to_trigger_cells_, getModuleFromCell(), and trigger_cells_.
Referenced by reset().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 112 of file HGCalTriggerGeometryGenericMapping.cc.
References getModulePosition(), and trigger_cells_.
Referenced by getNeighborsFromTriggerCell().
|
finaloverridevirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 87 of file HGCalTriggerGeometryGenericMapping.cc.
References getOrderedTriggerCellsFromModule(), and modules_.
Referenced by getOrderedCellsFromModule().
|
finaloverridevirtual |
Reimplemented from HGCalTriggerGeometryBase.
Definition at line 16 of file HGCalTriggerGeometryGenericMapping.cc.
References cells_to_trigger_cells_, getTriggerCellFromCell(), modules_, trigger_cells_, and trigger_cells_to_modules_.
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 138 of file HGCalTriggerGeometryGenericMapping.cc.
References HGCalDetId::layer().
Referenced by disconnectedModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 125 of file HGCalTriggerGeometryGenericMapping.cc.
References disconnectedModule(), and trigger_cells_.
Referenced by getModulePosition().
|
protected |
Definition at line 145 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), HGCalTriggerGeometryHexImp1::fillMaps(), getModuleFromCell(), getTriggerCellFromCell(), HGCalTriggerGeometryImp1::initialize(), and reset().
|
protected |
Definition at line 148 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), getCellsFromModule(), getModuleFromCell(), getModuleFromTriggerCell(), getModulePosition(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), TrivialGeometry::initialize(), HGCalTriggerGeometryImp1::initialize(), and reset().
|
protected |
Definition at line 149 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), getCellsFromTriggerCell(), getTriggerCellFromCell(), getTriggerCellPosition(), TrivialGeometry::initialize(), HGCalTriggerGeometryImp1::initialize(), reset(), and validTriggerCell().
|
protected |
Definition at line 146 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), HGCalTriggerGeometryHexImp1::fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), TrivialGeometry::initialize(), HGCalTriggerGeometryImp1::initialize(), and reset().