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  void initialize(const HGCalGeometry*, const HGCalGeometry*, const HGCalGeometry*) final {}
22 };
23 
std::unordered_set< unsigned > list_type
std::unordered_multimap< unsigned, unsigned > tc_map_type
void initialize(const HGCalGeometry *, const HGCalGeometry *, const HGCalGeometry *) final
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
TrivialGeometry(const edm::ParameterSet &conf)
void initialize(const CaloGeometry *) final
#define DEFINE_EDM_PLUGIN(factory, type, name)
#define constexpr