CMS 3D CMS Logo

DDTBH4Algo.h
Go to the documentation of this file.
1 #ifndef EcalTestBeam_DDTBH4Algo_h
2 #define EcalTestBeam_DDTBH4Algo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
11 
12 //CLHEP
13 #include <CLHEP/Geometry/Transform3D.h>
14 
15 class DDTBH4Algo : public DDAlgorithm {
16 public:
17  //Constructor and Destructor
18  DDTBH4Algo();
19  ~DDTBH4Algo() override;
20 
21  void initialize(const DDNumericArguments& nArgs,
22  const DDVectorArguments& vArgs,
23  const DDMapArguments& mArgs,
24  const DDStringArguments& sArgs,
25  const DDStringVectorArguments& vsArgs) override;
26 
27  void execute(DDCompactView& cpv) override;
28 
29  DDMaterial ddmat(const std::string& s) const;
30  DDName ddname(const std::string& s) const;
31  DDRotation myrot(const std::string& s, const CLHEP::HepRotation& r) const;
32 
33  const std::string& idNameSpace() const { return m_idNameSpace; }
34 
35  double blZBeg() const { return m_BLZBeg; }
36  double blZEnd() const { return m_BLZEnd; }
37  double blZPiv() const { return m_BLZPiv; }
38  double blRadius() const { return m_BLRadius; }
39  std::string vacName() const { return m_VacName; }
40  DDMaterial vacMat() const { return ddmat(m_VacMat); }
41  const std::vector<double>& vecVacZBeg() const { return m_vecVacZBeg; }
42  const std::vector<double>& vecVacZEnd() const { return m_vecVacZEnd; }
43  std::string winName() const { return m_WinName; }
44  const std::vector<std::string>& vecWinMat() const { return m_vecWinMat; }
45  const std::vector<double>& vecWinZBeg() const { return m_vecWinZBeg; }
46  const std::vector<double>& vecWinThick() const { return m_vecWinThick; }
47 
48  DDMaterial trgMat() const { return ddmat(m_TrgMat); }
49  DDMaterial holeMat() const { return ddmat(m_HoleMat); }
50  double trgVetoHoleRadius() const { return m_TrgVetoHoleRadius; }
51  const std::vector<std::string>& vecTrgName() const { return m_vecTrgName; }
52  const std::vector<double>& vecTrgSide() const { return m_vecTrgSide; }
53  const std::vector<double>& vecTrgThick() const { return m_vecTrgThick; }
54  const std::vector<double>& vecTrgPhi() const { return m_vecTrgPhi; }
55  const std::vector<double>& vecTrgXOff() const { return m_vecTrgXOff; }
56  const std::vector<double>& vecTrgYOff() const { return m_vecTrgYOff; }
57  const std::vector<double>& vecTrgZPiv() const { return m_vecTrgZPiv; }
58 
59  DDName fibFibName() const { return ddname(m_FibFibName); }
60  DDName fibCladName() const { return ddname(m_FibCladName); }
61  DDMaterial fibFibMat() const { return ddmat(m_FibFibMat); }
62  DDMaterial fibCladMat() const { return ddmat(m_FibCladMat); }
63  double fibSide() const { return m_FibSide; }
64  double fibCladThick() const { return m_FibCladThick; }
65  double fibLength() const { return m_FibLength; }
66  const std::vector<double>& vecFibPhi() const { return m_vecFibPhi; }
67  const std::vector<double>& vecFibXOff() const { return m_vecFibXOff; }
68  const std::vector<double>& vecFibYOff() const { return m_vecFibYOff; }
69  const std::vector<double>& vecFibZPiv() const { return m_vecFibZPiv; }
70 
71 private:
72  std::string m_idNameSpace; //Namespace of this and ALL sub-parts
73 
74  double m_BLZBeg; //
75  double m_BLZEnd; //
76  double m_BLZPiv; //
77  double m_BLRadius; //
80  std::vector<double> m_vecVacZBeg; //
81  std::vector<double> m_vecVacZEnd; //
83  std::vector<std::string> m_vecWinMat; //
84  std::vector<double> m_vecWinZBeg; //
85  std::vector<double> m_vecWinThick; //
86 
90  std::vector<std::string> m_vecTrgName; //
91  std::vector<double> m_vecTrgSide; //
92  std::vector<double> m_vecTrgThick; //
93  std::vector<double> m_vecTrgPhi; //
94  std::vector<double> m_vecTrgXOff; //
95  std::vector<double> m_vecTrgYOff; //
96  std::vector<double> m_vecTrgZPiv; //
97 
102  double m_FibSide; //
103  double m_FibCladThick; //
104  double m_FibLength; //
105  std::vector<double> m_vecFibPhi; //
106  std::vector<double> m_vecFibXOff; //
107  std::vector<double> m_vecFibYOff; //
108  std::vector<double> m_vecFibZPiv; //
109 };
110 
111 #endif
DDTBH4Algo::m_FibFibMat
std::string m_FibFibMat
Definition: DDTBH4Algo.h:100
DDTBH4Algo::m_vecFibPhi
std::vector< double > m_vecFibPhi
Definition: DDTBH4Algo.h:105
DDTBH4Algo::m_vecTrgName
std::vector< std::string > m_vecTrgName
Definition: DDTBH4Algo.h:90
DDTBH4Algo::m_BLZBeg
double m_BLZBeg
Definition: DDTBH4Algo.h:74
DDTBH4Algo::fibFibMat
DDMaterial fibFibMat() const
Definition: DDTBH4Algo.h:61
DDTBH4Algo::m_VacName
std::string m_VacName
Definition: DDTBH4Algo.h:78
DDTBH4Algo::idNameSpace
const std::string & idNameSpace() const
Definition: DDTBH4Algo.h:33
DDTransform.h
DDTBH4Algo::m_FibLength
double m_FibLength
Definition: DDTBH4Algo.h:104
DDTBH4Algo::fibFibName
DDName fibFibName() const
Definition: DDTBH4Algo.h:59
DDTBH4Algo::m_FibCladThick
double m_FibCladThick
Definition: DDTBH4Algo.h:103
DDTBH4Algo::myrot
DDRotation myrot(const std::string &s, const CLHEP::HepRotation &r) const
Definition: DDTBH4Algo.cc:60
DDTBH4Algo::vacMat
DDMaterial vacMat() const
Definition: DDTBH4Algo.h:40
DDName
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
DDTBH4Algo::m_BLRadius
double m_BLRadius
Definition: DDTBH4Algo.h:77
DDTBH4Algo::vecWinThick
const std::vector< double > & vecWinThick() const
Definition: DDTBH4Algo.h:46
DDTBH4Algo::vecTrgName
const std::vector< std::string > & vecTrgName() const
Definition: DDTBH4Algo.h:51
DDTBH4Algo::m_vecFibYOff
std::vector< double > m_vecFibYOff
Definition: DDTBH4Algo.h:107
DDTBH4Algo::m_BLZEnd
double m_BLZEnd
Definition: DDTBH4Algo.h:75
DDTBH4Algo::m_vecVacZBeg
std::vector< double > m_vecVacZBeg
Definition: DDTBH4Algo.h:80
DDTBH4Algo::m_vecWinZBeg
std::vector< double > m_vecWinZBeg
Definition: DDTBH4Algo.h:84
DDTBH4Algo::vecFibPhi
const std::vector< double > & vecFibPhi() const
Definition: DDTBH4Algo.h:66
DDTBH4Algo::vecTrgYOff
const std::vector< double > & vecTrgYOff() const
Definition: DDTBH4Algo.h:56
DDTBH4Algo::m_FibCladName
std::string m_FibCladName
Definition: DDTBH4Algo.h:99
DDTBH4Algo::vecTrgThick
const std::vector< double > & vecTrgThick() const
Definition: DDTBH4Algo.h:53
DDTBH4Algo::blZEnd
double blZEnd() const
Definition: DDTBH4Algo.h:36
DDTBH4Algo::fibCladName
DDName fibCladName() const
Definition: DDTBH4Algo.h:60
DDTBH4Algo::m_HoleMat
std::string m_HoleMat
Definition: DDTBH4Algo.h:88
DDTBH4Algo::m_WinName
std::string m_WinName
Definition: DDTBH4Algo.h:82
DDTBH4Algo::vecTrgXOff
const std::vector< double > & vecTrgXOff() const
Definition: DDTBH4Algo.h:55
DDTBH4Algo::blZPiv
double blZPiv() const
Definition: DDTBH4Algo.h:37
DDTBH4Algo::~DDTBH4Algo
~DDTBH4Algo() override
Definition: DDTBH4Algo.cc:58
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDTBH4Algo::fibSide
double fibSide() const
Definition: DDTBH4Algo.h:63
DDMaterial
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
DDTBH4Algo::holeMat
DDMaterial holeMat() const
Definition: DDTBH4Algo.h:49
DDTBH4Algo::vecTrgPhi
const std::vector< double > & vecTrgPhi() const
Definition: DDTBH4Algo.h:54
DDTBH4Algo::m_idNameSpace
std::string m_idNameSpace
Definition: DDTBH4Algo.h:72
DDTBH4Algo::m_vecTrgPhi
std::vector< double > m_vecTrgPhi
Definition: DDTBH4Algo.h:93
DDTBH4Algo::blRadius
double blRadius() const
Definition: DDTBH4Algo.h:38
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDTBH4Algo::ddmat
DDMaterial ddmat(const std::string &s) const
Definition: DDTBH4Algo.cc:66
DDTBH4Algo::m_FibCladMat
std::string m_FibCladMat
Definition: DDTBH4Algo.h:101
DDTBH4Algo::winName
std::string winName() const
Definition: DDTBH4Algo.h:43
DDTBH4Algo::vecFibYOff
const std::vector< double > & vecFibYOff() const
Definition: DDTBH4Algo.h:68
DDTBH4Algo::vecWinZBeg
const std::vector< double > & vecWinZBeg() const
Definition: DDTBH4Algo.h:45
DDTBH4Algo::vecVacZBeg
const std::vector< double > & vecVacZBeg() const
Definition: DDTBH4Algo.h:41
DDTBH4Algo::fibLength
double fibLength() const
Definition: DDTBH4Algo.h:65
DDTBH4Algo::m_vecTrgYOff
std::vector< double > m_vecTrgYOff
Definition: DDTBH4Algo.h:95
DDTBH4Algo::m_TrgVetoHoleRadius
double m_TrgVetoHoleRadius
Definition: DDTBH4Algo.h:89
DDTBH4Algo::fibCladMat
DDMaterial fibCladMat() const
Definition: DDTBH4Algo.h:62
DDTypes.h
DDMaterial.h
DDTBH4Algo::execute
void execute(DDCompactView &cpv) override
Definition: DDTBH4Algo.cc:117
DDTBH4Algo::fibCladThick
double fibCladThick() const
Definition: DDTBH4Algo.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDTBH4Algo::vecWinMat
const std::vector< std::string > & vecWinMat() const
Definition: DDTBH4Algo.h:44
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDTBH4Algo::vecVacZEnd
const std::vector< double > & vecVacZEnd() const
Definition: DDTBH4Algo.h:42
DDTBH4Algo::m_FibFibName
std::string m_FibFibName
Definition: DDTBH4Algo.h:98
ReadMapType< double >
DDTBH4Algo::m_vecFibXOff
std::vector< double > m_vecFibXOff
Definition: DDTBH4Algo.h:106
DDAlgorithm.h
DDTBH4Algo::initialize
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDTBH4Algo.cc:73
DDTBH4Algo::trgMat
DDMaterial trgMat() const
Definition: DDTBH4Algo.h:48
DDTBH4Algo::vecFibXOff
const std::vector< double > & vecFibXOff() const
Definition: DDTBH4Algo.h:67
DDTBH4Algo
Definition: DDTBH4Algo.h:15
DDTBH4Algo::m_vecFibZPiv
std::vector< double > m_vecFibZPiv
Definition: DDTBH4Algo.h:108
DDTBH4Algo::m_vecWinMat
std::vector< std::string > m_vecWinMat
Definition: DDTBH4Algo.h:83
DDRotation
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
DDTBH4Algo::m_BLZPiv
double m_BLZPiv
Definition: DDTBH4Algo.h:76
DDTBH4Algo::vecTrgSide
const std::vector< double > & vecTrgSide() const
Definition: DDTBH4Algo.h:52
DDTBH4Algo::m_vecVacZEnd
std::vector< double > m_vecVacZEnd
Definition: DDTBH4Algo.h:81
DDTBH4Algo::m_vecTrgSide
std::vector< double > m_vecTrgSide
Definition: DDTBH4Algo.h:91
DDTBH4Algo::m_TrgMat
std::string m_TrgMat
Definition: DDTBH4Algo.h:87
DDTBH4Algo::trgVetoHoleRadius
double trgVetoHoleRadius() const
Definition: DDTBH4Algo.h:50
DDTBH4Algo::blZBeg
double blZBeg() const
Definition: DDTBH4Algo.h:35
DDTBH4Algo::m_vecWinThick
std::vector< double > m_vecWinThick
Definition: DDTBH4Algo.h:85
DDTBH4Algo::vacName
std::string vacName() const
Definition: DDTBH4Algo.h:39
DDTBH4Algo::vecTrgZPiv
const std::vector< double > & vecTrgZPiv() const
Definition: DDTBH4Algo.h:57
DDTBH4Algo::m_VacMat
std::string m_VacMat
Definition: DDTBH4Algo.h:79
DDTBH4Algo::m_vecTrgThick
std::vector< double > m_vecTrgThick
Definition: DDTBH4Algo.h:92
DDTBH4Algo::ddname
DDName ddname(const std::string &s) const
Definition: DDTBH4Algo.cc:68
DDTBH4Algo::m_vecTrgXOff
std::vector< double > m_vecTrgXOff
Definition: DDTBH4Algo.h:94
DDTBH4Algo::m_vecTrgZPiv
std::vector< double > m_vecTrgZPiv
Definition: DDTBH4Algo.h:96
DDTBH4Algo::DDTBH4Algo
DDTBH4Algo()
Definition: DDTBH4Algo.cc:17
DDTBH4Algo::vecFibZPiv
const std::vector< double > & vecFibZPiv() const
Definition: DDTBH4Algo.h:69
DDTBH4Algo::m_FibSide
double m_FibSide
Definition: DDTBH4Algo.h:102