CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalTB06BeamParametersFromDD.h
Go to the documentation of this file.
1 #ifndef HcalTestBeamData_HcalTB06BeamParametersFromDD_h
2 #define HcalTestBeamData_HcalTB06BeamParametersFromDD_h
3 
4 #include <string>
5 #include <vector>
11 
13 public:
14  HcalTB06BeamParametersFromDD() = default;
15 
16  bool build(const DDCompactView* cpv, HcalTB06BeamParameters& php, const std::string& name1, const std::string& name2);
17  bool build(const cms::DDCompactView* cpv,
19  const std::string& name1,
20  const std::string& name2);
21 
22 private:
23  bool build(HcalTB06BeamParameters& php,
24  const std::vector<std::string>& matNames,
25  const std::vector<int>& nocc,
26  const std::string& name1,
27  const std::string& name2);
28  std::vector<std::string> getNames(DDFilteredView& fv);
29  std::vector<std::string> getNames(cms::DDFilteredView& fv);
30 };
31 
32 #endif
bool build(const DDCompactView *cpv, HcalTB06BeamParameters &php, const std::string &name1, const std::string &name2)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
std::vector< std::string > getNames(DDFilteredView &fv)