CMS 3D CMS Logo

HGCalParametersFromDD.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_HGCalParametersFromDD_h
2 #define HGCalCommonData_HGCalParametersFromDD_h
3 
4 #include <string>
5 #include <vector>
9 
10 class HGCalParameters;
11 
13 public:
16 
17  bool build(const DDCompactView* cpv,
18  HGCalParameters& php,
19  const std::string& name,
20  const std::string& namew,
21  const std::string& namec,
22  const std::string& namet);
23  bool build(const cms::DDCompactView* cpv,
24  HGCalParameters& php,
25  const std::string& name,
26  const std::string& namew,
27  const std::string& namec,
28  const std::string& namet,
29  const std::string& name2);
30 
31 private:
32  void getCellPosition(HGCalParameters& php, int type);
33  double getDDDValue(const char* s, const DDsvalues_type& sv);
34  std::vector<double> getDDDArray(const char* s, const DDsvalues_type& sv);
35  constexpr static double tan30deg_ = 0.5773502693;
36 };
37 
38 #endif
HGCalParametersFromDD::tan30deg_
constexpr static double tan30deg_
Definition: HGCalParametersFromDD.h:35
DDCompactView.h
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HGCalParametersFromDD::HGCalParametersFromDD
HGCalParametersFromDD()
Definition: HGCalParametersFromDD.h:14
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:352
DDCompactView.h
HGCalParametersFromDD
Definition: HGCalParametersFromDD.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
HGCalParametersFromDD::~HGCalParametersFromDD
virtual ~HGCalParametersFromDD()
Definition: HGCalParametersFromDD.h:15
HGCalParametersFromDD::getDDDValue
double getDDDValue(const char *s, const DDsvalues_type &sv)
Definition: HGCalParametersFromDD.cc:515
HGCalParametersFromDD::getDDDArray
std::vector< double > getDDDArray(const char *s, const DDsvalues_type &sv)
Definition: HGCalParametersFromDD.cc:528
HGCalParametersFromDD::getCellPosition
void getCellPosition(HGCalParameters &php, int type)
Definition: HGCalParametersFromDD.cc:453
HGCalParameters
Definition: HGCalParameters.h:14
HGCalParametersFromDD::build
bool build(const DDCompactView *cpv, HGCalParameters &php, const std::string &name, const std::string &namew, const std::string &namec, const std::string &namet)
Definition: HGCalParametersFromDD.cc:57
cms::DDCompactView
Definition: DDCompactView.h:31
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
DDsvalues.h
hfnoseParametersInitialization_cfi.name2
name2
Definition: hfnoseParametersInitialization_cfi.py:8
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12