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*,
19  const std::string&,
20  const std::string&,
21  const std::string&,
22  const std::string&);
23  bool build(const cms::DDCompactView*,
25  const std::string&,
26  const std::string&,
27  const std::string&,
28  const std::string&,
29  const std::string&);
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 };
36 
37 #endif
type
Definition: HCALResponse.h:21
bool build(const DDCompactView *, HGCalParameters &, const std::string &, const std::string &, const std::string &, const std::string &)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
double getDDDValue(const char *s, const DDsvalues_type &sv)
std::vector< double > getDDDArray(const char *s, const DDsvalues_type &sv)
void getCellPosition(HGCalParameters &php, int type)