7 std::unique_ptr<const TriggerCell> null_tc;
8 std::unique_ptr<const Module> null_mod;
30 return trigger_cells_.find(found_tc->second)->second->triggerCellId();
44 return modules_.find(found_mod->second)->second->moduleId();
54 return modules_.find(found_mod->second)->second->moduleId();
60 return trigger_cells_.find(trigger_cell_det_id)->second->components();
66 const auto& triggercell_cells =
modules_.find(module_det_id)->second->triggerCellComponents();
68 for(
const auto& tc_c : triggercell_cells) {
69 cells.emplace(tc_c.second);
77 const auto& triggercell_cells =
modules_.find(module_det_id)->second->triggerCellComponents();
79 for(
const auto& tc_c : triggercell_cells) {
80 cells.emplace(tc_c.second);
88 return modules_.find(module_det_id)->second->components();
96 for(
const auto& tc :
modules_.find(module_det_id)->second->components()) {
97 trigger_cells.emplace(tc);
113 return trigger_cells_.find(trigger_cell_det_id)->second->position();
119 return modules_.find(module_det_id)->second->position();
virtual geom_set getNeighborsFromTriggerCell(const unsigned trigger_cell_det_id) const override final
std::unordered_map< unsigned, unsigned > geom_map
virtual void reset() override final
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const override final
virtual unsigned getTriggerCellFromCell(const unsigned cell_det_id) const override final
HGCalTriggerGeometryGenericMapping(const edm::ParameterSet &conf)
virtual geom_ordered_set getOrderedTriggerCellsFromModule(const unsigned trigger_cell_det_id) const override final
virtual geom_set getCellsFromModule(const unsigned cell_det_id) const override final
unsigned triggerLayer(const unsigned id) const final
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const override final
geom_map cells_to_trigger_cells_
virtual geom_ordered_set getOrderedCellsFromModule(const unsigned cell_det_id) const override final
virtual geom_set getCellsFromTriggerCell(const unsigned cell_det_id) const override final
bool validTriggerCell(const unsigned trigger_cell_det_id) const final
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
std::unordered_set< unsigned > geom_set
bool disconnectedModule(const unsigned module_id) const final
trigger_cell_map trigger_cells_
virtual geom_set getTriggerCellsFromModule(const unsigned trigger_cell_det_id) const override final
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const override final
virtual GlobalPoint getModulePosition(const unsigned module_det_id) const override final
int layer() const
get the layer #