File indexing completed on 2024-04-06 12:14:45
0001 #ifndef HcalCommonData_HcalParametersFromDD_h
0002 #define HcalCommonData_HcalParametersFromDD_h
0003
0004 #include "DetectorDescription/Core/interface/DDCompactView.h"
0005 #include "DetectorDescription/DDCMS/interface/DDCompactView.h"
0006
0007 class HcalParameters;
0008
0009 class HcalParametersFromDD {
0010 public:
0011 HcalParametersFromDD() = default;
0012
0013 bool build(const DDCompactView*, HcalParameters&);
0014 bool build(const cms::DDCompactView&, HcalParameters&);
0015
0016 private:
0017 bool build(HcalParameters&);
0018 void rescale(std::vector<double>&, const double s);
0019 };
0020
0021 #endif