3 using namespace HGCalTriggerGeometry;
6 std::unique_ptr<const TriggerCell> null_tc;
7 std::unique_ptr<const Module> null_mod;
29 return trigger_cells_.find(found_tc->second)->second->triggerCellId();
43 return modules_.find(found_mod->second)->second->moduleId();
53 return modules_.find(found_mod->second)->second->moduleId();
59 return trigger_cells_.find(trigger_cell_det_id)->second->components();
65 const auto& triggercell_cells =
modules_.find(module_det_id)->second->triggerCellComponents();
67 for(
const auto& tc_c : triggercell_cells) {
68 cells.emplace(tc_c.second);
76 const auto& triggercell_cells =
modules_.find(module_det_id)->second->triggerCellComponents();
78 for(
const auto& tc_c : triggercell_cells) {
79 cells.emplace(tc_c.second);
87 return modules_.find(module_det_id)->second->components();
95 for(
const auto& tc :
modules_.find(module_det_id)->second->components()) {
96 trigger_cells.emplace(tc);
104 return trigger_cells_.find(trigger_cell_det_id)->second->position();
110 return modules_.find(module_det_id)->second->position();
std::unordered_map< unsigned, unsigned > geom_map
virtual geom_ordered_set getOrderedCellsFromModule(const unsigned cell_det_id) const overridefinal
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const overridefinal
virtual geom_set getTriggerCellsFromModule(const unsigned trigger_cell_det_id) const overridefinal
virtual geom_ordered_set getOrderedTriggerCellsFromModule(const unsigned trigger_cell_det_id) const overridefinal
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_
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const overridefinal
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
geom_map trigger_cells_to_modules_
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
virtual geom_set getCellsFromModule(const unsigned cell_det_id) const overridefinal
virtual geom_set getCellsFromTriggerCell(const unsigned cell_det_id) const overridefinal