Go to the documentation of this file. 1 #ifndef __L1Trigger_L1THGCal_HGCalTriggerGeometryGenericMapping_h__
2 #define __L1Trigger_L1THGCal_HGCalTriggerGeometryGenericMapping_h__
34 typedef std::unordered_set<unsigned>
list_type;
62 typedef std::unordered_multimap<unsigned, unsigned>
tc_map_type;
80 if (
value.second == cell)
104 typedef std::unordered_map<unsigned, std::unique_ptr<const HGCalTriggerGeometry::Module> >
module_map;
105 typedef std::unordered_map<unsigned, std::unique_ptr<const HGCalTriggerGeometry::TriggerCell> >
trigger_cell_map;
const std::unordered_set< unsigned > & components() const
unsigned trigger_cell_id_
unsigned moduleId() const
geom_set getNeighborsFromTriggerCell(const unsigned trigger_cell_det_id) const final
std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::TriggerCell > > trigger_cell_map
bool validCell(const unsigned cell_det_id) const final
unsigned moduleId() const
bool containsCell(const unsigned cell) const
geom_map trigger_cells_to_modules_
tc_map_type tc_components_
bool containsCell(const unsigned cell) const
bool validTriggerCell(const unsigned trigger_cell_det_id) const final
std::unordered_multimap< unsigned, unsigned > tc_map_type
unsigned lastTriggerLayer() const final
unsigned getModuleFromCell(const unsigned cell_det_id) const final
const std::unordered_set< unsigned > & neighbours() const
const GlobalPoint & position() const
unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const final
geom_set getCellsFromModule(const unsigned cell_det_id) const final
HGCalTriggerGeometryGenericMapping(const edm::ParameterSet &conf)
const tc_map_type & triggerCellComponents() const
std::unordered_set< unsigned > list_type
bool disconnectedModule(const unsigned module_id) const final
const GlobalPoint & position() const
TriggerCell(unsigned tc_id, unsigned mod_id, const GlobalPoint &pos, const list_type &neighbs, const list_type &comps)
geom_ordered_set getOrderedTriggerCellsFromModule(const unsigned trigger_cell_det_id) const final
geom_set getTriggerCellsFromModule(const unsigned trigger_cell_det_id) const final
geom_set getCellsFromTriggerCell(const unsigned cell_det_id) const final
unsigned getModuleSize(const unsigned module_id) const final
std::set< unsigned > geom_ordered_set
unsigned triggerCellId() const
unsigned getTriggerCellFromCell(const unsigned cell_det_id) const final
geom_map cells_to_trigger_cells_
~HGCalTriggerGeometryGenericMapping() override
std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::Module > > module_map
std::unordered_set< unsigned > geom_set
trigger_cell_map trigger_cells_
bool containsTriggerCell(const unsigned trig_cell) const
const list_type & neighbours() const
unsigned getLinksInModule(const unsigned module_id) const final
geom_ordered_set getOrderedCellsFromModule(const unsigned cell_det_id) const final
GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const final
const list_type & components() const
std::unordered_map< unsigned, unsigned > geom_map
std::unordered_set< unsigned > list_type
GlobalPoint getModulePosition(const unsigned module_det_id) const final
unsigned triggerLayer(const unsigned id) const final
Module(unsigned mod_id, const GlobalPoint &pos, const list_type &neighbs, const list_type &comps, const tc_map_type &tc_comps)