|
|
Go to the documentation of this file.
6 std::unique_ptr<const TriggerCell> null_tc;
7 std::unique_ptr<const Module> null_mod;
25 return trigger_cells_.find(found_tc->second)->second->triggerCellId();
37 return modules_.find(found_mod->second)->second->moduleId();
45 return modules_.find(found_mod->second)->second->moduleId();
49 const unsigned trigger_cell_det_id)
const {
50 return trigger_cells_.find(trigger_cell_det_id)->second->components();
54 const unsigned module_det_id)
const {
55 const auto& triggercell_cells =
modules_.find(module_det_id)->second->triggerCellComponents();
57 for (
const auto& tc_c : triggercell_cells) {
58 cells.emplace(tc_c.second);
64 const unsigned module_det_id)
const {
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);
74 const unsigned module_det_id)
const {
75 return modules_.find(module_det_id)->second->components();
79 const unsigned module_det_id)
const {
82 for (
const auto& tc :
modules_.find(module_det_id)->second->components()) {
83 trigger_cells.emplace(tc);
89 const unsigned trigger_cell_id)
const {
99 return trigger_cells_.find(trigger_cell_det_id)->second->position();
103 return modules_.find(module_det_id)->second->position();
const HGCalTopology & eeTopology() const
const HGCalDDDConstants & dddConstants() 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
geom_map trigger_cells_to_modules_
int layer() const
get the layer #
bool validTriggerCell(const unsigned trigger_cell_det_id) const final
unsigned lastTriggerLayer() const final
unsigned getModuleFromCell(const unsigned cell_det_id) const final
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)
bool disconnectedModule(const unsigned module_id) const final
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 int layers(bool reco) const
unsigned getTriggerCellFromCell(const unsigned cell_det_id) const final
geom_map cells_to_trigger_cells_
std::unordered_map< unsigned, std::unique_ptr< const HGCalTriggerGeometry::Module > > module_map
std::unordered_set< unsigned > geom_set
trigger_cell_map trigger_cells_
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
std::unordered_map< unsigned, unsigned > geom_map
GlobalPoint getModulePosition(const unsigned module_det_id) const final
unsigned triggerLayer(const unsigned id) const final