#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 |
geom_set | getCellsFromModule (const unsigned cell_det_id) const final |
geom_set | getCellsFromTriggerCell (const unsigned cell_det_id) const final |
unsigned | getModuleFromCell (const unsigned cell_det_id) const final |
unsigned | getModuleFromTriggerCell (const unsigned trigger_cell_det_id) const final |
GlobalPoint | getModulePosition (const unsigned module_det_id) const final |
geom_set | getNeighborsFromTriggerCell (const unsigned trigger_cell_det_id) const final |
geom_ordered_set | getOrderedCellsFromModule (const unsigned cell_det_id) const final |
geom_ordered_set | getOrderedTriggerCellsFromModule (const unsigned trigger_cell_det_id) const final |
unsigned | getTriggerCellFromCell (const unsigned cell_det_id) const final |
GlobalPoint | getTriggerCellPosition (const unsigned trigger_cell_det_id) const final |
geom_set | getTriggerCellsFromModule (const unsigned trigger_cell_det_id) const final |
HGCalTriggerGeometryGenericMapping (const edm::ParameterSet &conf) | |
void | reset () final |
unsigned | triggerLayer (const unsigned id) const final |
bool | validTriggerCell (const unsigned trigger_cell_det_id) const final |
~HGCalTriggerGeometryGenericMapping () override | |
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) | |
const HGCalGeometry * | hscGeometry () const |
const HGCalTopology & | hscTopology () const |
const HGCalGeometry * | hsiGeometry () const |
const HGCalTopology & | hsiTopology () const |
virtual void | initialize (const edm::ESHandle< CaloGeometry > &)=0 |
virtual void | initialize (const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &, const edm::ESHandle< HGCalGeometry > &)=0 |
bool | isV9Geometry () const |
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) |
void | setEEGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHScGeometry (const edm::ESHandle< HGCalGeometry > &geom) |
void | setHSiGeometry (const edm::ESHandle< HGCalGeometry > &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.
|
inlineoverride |
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 131 of file HGCalTriggerGeometryGenericMapping.cc.
References triggerLayer().
Referenced by validTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 65 of file HGCalTriggerGeometryGenericMapping.cc.
References getOrderedCellsFromModule(), and modules_.
Referenced by getCellsFromTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 59 of file HGCalTriggerGeometryGenericMapping.cc.
References getCellsFromModule(), and trigger_cells_.
Referenced by getModuleFromTriggerCell().
|
finalvirtual |
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().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 49 of file HGCalTriggerGeometryGenericMapping.cc.
References getCellsFromTriggerCell(), modules_, and trigger_cells_to_modules_.
Referenced by getModuleFromCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 118 of file HGCalTriggerGeometryGenericMapping.cc.
References modules_, and validTriggerCell().
Referenced by getTriggerCellPosition().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 104 of file HGCalTriggerGeometryGenericMapping.cc.
References getTriggerCellPosition().
Referenced by getOrderedTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 76 of file HGCalTriggerGeometryGenericMapping.cc.
References getTriggerCellsFromModule(), and modules_.
Referenced by getCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 93 of file HGCalTriggerGeometryGenericMapping.cc.
References getNeighborsFromTriggerCell(), and modules_.
Referenced by getTriggerCellsFromModule().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 25 of file HGCalTriggerGeometryGenericMapping.cc.
References cells_to_trigger_cells_, getModuleFromCell(), and trigger_cells_.
Referenced by reset().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 112 of file HGCalTriggerGeometryGenericMapping.cc.
References getModulePosition(), and trigger_cells_.
Referenced by getNeighborsFromTriggerCell().
|
finalvirtual |
Implements HGCalTriggerGeometryBase.
Definition at line 87 of file HGCalTriggerGeometryGenericMapping.cc.
References getOrderedTriggerCellsFromModule(), and modules_.
Referenced by getOrderedCellsFromModule().
|
finalvirtual |
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 HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), HGCalTriggerGeometryHexImp1::fillMaps(), getModuleFromCell(), getTriggerCellFromCell(), and reset().
|
protected |
Definition at line 148 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), getCellsFromModule(), getModuleFromCell(), getModuleFromTriggerCell(), getModulePosition(), getOrderedCellsFromModule(), getOrderedTriggerCellsFromModule(), getTriggerCellsFromModule(), TrivialGeometry::initialize(), and reset().
|
protected |
Definition at line 149 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), getCellsFromTriggerCell(), getTriggerCellFromCell(), getTriggerCellPosition(), TrivialGeometry::initialize(), reset(), and validTriggerCell().
|
protected |
Definition at line 146 of file HGCalTriggerGeometryGenericMapping.h.
Referenced by HGCalTriggerGeometryImp1::buildMaps(), HGCalTriggerGeometryHexImp1::buildTriggerCellsAndModules(), HGCalTriggerGeometryHexImp1::fillMaps(), getModuleFromCell(), getModuleFromTriggerCell(), TrivialGeometry::initialize(), and reset().