1 #ifndef __L1Trigger_L1THGCal_HGCalTriggerGeometryGenericMapping_h__
2 #define __L1Trigger_L1THGCal_HGCalTriggerGeometryGenericMapping_h__
43 namespace HGCalTriggerGeometry {
82 typedef std::unordered_multimap<unsigned,unsigned>
tc_map_type;
103 if(
value.second == cell )
return true;
127 typedef std::unordered_map<unsigned,std::unique_ptr<const HGCalTriggerGeometry::Module> >
module_map;
128 typedef std::unordered_map<unsigned,std::unique_ptr<const HGCalTriggerGeometry::TriggerCell> >
trigger_cell_map;
135 virtual void reset() override final;
std::unordered_set< unsigned > list_type
const tc_map_type & triggerCellComponents() const
bool containsCell(const unsigned cell) const
std::unordered_map< unsigned, unsigned > geom_map
virtual geom_ordered_set getOrderedCellsFromModule(const unsigned cell_det_id) const overridefinal
unsigned moduleId() const
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const overridefinal
virtual geom_set getTriggerCellsFromModule(const unsigned trigger_cell_det_id) const overridefinal
tc_map_type tc_components_
virtual geom_ordered_set getOrderedTriggerCellsFromModule(const unsigned trigger_cell_det_id) const overridefinal
unsigned triggerCellId() const
Module(unsigned mod_id, const GlobalPoint &pos, const list_type &neighbs, const list_type &comps, const tc_map_type &tc_comps)
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const overridefinal
HGCalTriggerGeometryGenericMapping(const edm::ParameterSet &conf)
virtual void reset() overridefinal
geom_map cells_to_trigger_cells_
std::unordered_multimap< unsigned, unsigned > tc_map_type
unsigned moduleId() const
const GlobalPoint & position() const
TriggerCell(unsigned tc_id, unsigned mod_id, const GlobalPoint &pos, const list_type &neighbs, const list_type &comps)
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const overridefinal
const std::unordered_set< unsigned > & neighbours() const
std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::TriggerCell > > trigger_cell_map
std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::Module > > module_map
const list_type & neighbours() const
geom_map trigger_cells_to_modules_
bool containsTriggerCell(const unsigned trig_cell) const
std::set< unsigned > geom_ordered_set
virtual GlobalPoint getModulePosition(const unsigned module_det_id) const overridefinal
std::unordered_set< unsigned > geom_set
trigger_cell_map trigger_cells_
virtual unsigned getTriggerCellFromCell(const unsigned cell_det_id) const overridefinal
bool containsCell(const unsigned cell) const
virtual geom_set getCellsFromModule(const unsigned cell_det_id) const overridefinal
virtual ~HGCalTriggerGeometryGenericMapping()
unsigned trigger_cell_id_
const GlobalPoint & position() const
std::unordered_set< unsigned > list_type
virtual geom_set getCellsFromTriggerCell(const unsigned cell_det_id) const overridefinal
const list_type & components() const
const std::unordered_set< unsigned > & components() const