CMS 3D CMS Logo

HcalTB02ParametersFromDD.h
Go to the documentation of this file.
1 #ifndef HcalTestBeamData_HcalTB02ParametersFromDD_h
2 #define HcalTestBeamData_HcalTB02ParametersFromDD_h
3 
4 #include <string>
5 #include <vector>
11 #include "DD4hep/DD4hepUnits.h"
12 
14 public:
15  HcalTB02ParametersFromDD() = default;
16 
17  bool build(const DDCompactView* cpv, HcalTB02Parameters& php, const std::string& name);
18  bool build(const cms::DDCompactView* cpv, HcalTB02Parameters& php, const std::string& name);
19 
20 private:
21  static constexpr double k_ScaleFromDDDToG4 = 1.0;
22  static constexpr double k_ScaleFromDD4hepToG4 = (1.0 / dd4hep::mm);
23 };
24 
25 #endif
static constexpr double k_ScaleFromDD4hepToG4
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
bool build(const DDCompactView *cpv, HcalTB02Parameters &php, const std::string &name)
HcalTB02ParametersFromDD()=default
static constexpr double k_ScaleFromDDDToG4