CMS 3D CMS Logo

TrivialGeometry.cc
Go to the documentation of this file.
2 
4 public:
6 
7  void initialize(const CaloGeometry*) final {
8  constexpr unsigned nmodules = 6;
9  for (unsigned i = 0; i < nmodules; ++i) {
11 
13  trigger_cells_[i] = std::make_unique<HGCalTriggerGeometry::TriggerCell>(i, i, GlobalPoint(), tc_empty, tc_empty);
14 
18  modules_[i] = std::make_unique<HGCalTriggerGeometry::Module>(i, GlobalPoint(), mod_empty, mod_comps, map_empty);
19  }
20  }
21 
22  void initialize(const HGCalGeometry*, const HGCalGeometry*, const HGCalGeometry*) final {}
23  void initialize(const HGCalGeometry*, const HGCalGeometry*, const HGCalGeometry*, const HGCalGeometry*) final {}
24 };
25 
TrivialGeometry::TrivialGeometry
TrivialGeometry(const edm::ParameterSet &conf)
Definition: TrivialGeometry.cc:5
mps_fire.i
i
Definition: mps_fire.py:355
HGCalTriggerGeometryGenericMapping.h
HGCalTriggerGeometryGenericMapping::trigger_cells_to_modules_
geom_map trigger_cells_to_modules_
Definition: HGCalTriggerGeometryGenericMapping.h:139
HGCalTriggerGeometry::Module::tc_map_type
std::unordered_multimap< unsigned, unsigned > tc_map_type
Definition: HGCalTriggerGeometryGenericMapping.h:61
CaloGeometry
Definition: CaloGeometry.h:21
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
HGCalGeometry
Definition: HGCalGeometry.h:30
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
HGCalTriggerGeometryGenericMapping
Definition: HGCalTriggerGeometryGenericMapping.h:101
HGCalTriggerGeometry::Module::list_type
std::unordered_set< unsigned > list_type
Definition: HGCalTriggerGeometryGenericMapping.h:60
edm::ParameterSet
Definition: ParameterSet.h:36
edmplugin::PluginFactory
Definition: PluginFactory.h:34
TrivialGeometry
Definition: TrivialGeometry.cc:3
HGCalTriggerGeometryGenericMapping::trigger_cells_
trigger_cell_map trigger_cells_
Definition: HGCalTriggerGeometryGenericMapping.h:142
TrivialGeometry::initialize
void initialize(const CaloGeometry *) final
Definition: TrivialGeometry.cc:7
TrivialGeometry::initialize
void initialize(const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *) final
Definition: TrivialGeometry.cc:22
TrivialGeometry::initialize
void initialize(const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *) final
Definition: TrivialGeometry.cc:23
HGCalTriggerGeometry::TriggerCell::list_type
std::unordered_set< unsigned > list_type
Definition: HGCalTriggerGeometryGenericMapping.h:33
HGCalTriggerGeometryGenericMapping::modules_
module_map modules_
Definition: HGCalTriggerGeometryGenericMapping.h:141