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>
7 
8 class DDCompactView;
9 class HGCalParameters;
10 
12  public:
15 
16  bool build(const DDCompactView*, HGCalParameters&, const std::string&,
17  const std::string&, const std::string&, const std::string&);
18 
19  private:
20  void getCellPosition(HGCalParameters& php, int type);
21  double getDDDValue(const char* s, const DDsvalues_type& sv);
22  std::vector<double> getDDDArray(const char* s, const DDsvalues_type& sv);
23 };
24 
25 #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
double getDDDValue(const char *s, const DDsvalues_type &sv)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
std::vector< double > getDDDArray(const char *s, const DDsvalues_type &sv)
void getCellPosition(HGCalParameters &php, int type)