CMS 3D CMS Logo

HcalSimParametersFromDD.h
Go to the documentation of this file.
1 #ifndef HcalCommonData_HcalSimParametersFromDD_h
2 #define HcalCommonData_HcalSimParametersFromDD_h
3 
9 #include <string>
10 
12 
14 public:
15  HcalSimParametersFromDD() = default;
16 
19 
20 private:
22  void fillNameVector(const DDCompactView*, const std::string&, const std::string&, std::vector<std::string>&);
23  void fillNameVector(const cms::DDCompactView*, const std::string&, std::vector<std::string>&);
24  void fillPMTs(const std::vector<double>&, bool, HcalSimulationParameters&);
25  bool isItHF(const std::string&, const HcalSimulationParameters&);
26  std::vector<std::string> getNames(DDFilteredView& fv);
27  std::vector<std::string> getNames(cms::DDFilteredView& fv);
28  std::vector<double> getDDDArray(const std::string& str, const DDsvalues_type& sv, int& nmin);
29 };
30 
31 #endif
std::vector< std::string > getNames(DDFilteredView &fv)
std::vector< double > getDDDArray(const std::string &str, const DDsvalues_type &sv, int &nmin)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
bool isItHF(const std::string &, const HcalSimulationParameters &)
HcalSimParametersFromDD()=default
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
bool buildParameters(const HcalSimulationParameters &)
bool build(const DDCompactView *, HcalSimulationParameters &)
void fillNameVector(const DDCompactView *, const std::string &, const std::string &, std::vector< std::string > &)
#define str(s)
void fillPMTs(const std::vector< double > &, bool, HcalSimulationParameters &)