CMS 3D CMS Logo

DDEcalPreshowerAlgoTB.h
Go to the documentation of this file.
1 #ifndef DDEcalPreshowerAlgoTB_h
2 #define DDEcalPreshowerAlgoTB_h
3 
4 #include <vector>
5 #include <string>
6 
8 
9 class DDEcalPreshowerAlgoTB : public DDAlgorithm {
10 public:
12  void initialize(const DDNumericArguments& nArgs,
13  const DDVectorArguments& vArgs,
14  const DDMapArguments& mArgs,
15  const DDStringArguments& sArgs,
16  const DDStringVectorArguments& vsArgs) override;
17  void execute(DDCompactView& pos) override;
18 
19 private:
20  std::string getMaterial(unsigned int i) const { return materials_[i]; }
21  void doLayers(DDCompactView& pos);
22  void doWedges(DDCompactView& pos);
23  void doSens(DDCompactView& pos);
24 
25  std::vector<double> quadMin_, quadMax_;
26  int nmat_; // number of preshower layers
27  double thickness_; // overall thickness of the preshower envelope
29  std::vector<std::string> materials_; // materials of the presh-layers
30  std::vector<double> thickLayers_;
31  std::vector<double> rminVec;
32  std::vector<double> rmaxVec;
33  std::vector<double> micromodulesx;
34  std::vector<double> micromodulesy;
36  std::string idNameSpace; //Namespace of this and ALL sub-parts
40  int go;
41 };
42 
43 #endif // DDEcalPreshowerAlgoTB_h
DDEcalPreshowerAlgoTB::waf_inter_col_sep
double waf_inter_col_sep
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::doWedges
void doWedges(DDCompactView &pos)
Definition: DDEcalPreshowerAlgoTB.cc:139
mps_fire.i
i
Definition: mps_fire.py:355
DDEcalPreshowerAlgoTB::micromodulesy
std::vector< double > micromodulesy
Definition: DDEcalPreshowerAlgoTB.h:34
DDEcalPreshowerAlgoTB::TotSFXshift
double TotSFXshift
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::zlead1_
double zlead1_
Definition: DDEcalPreshowerAlgoTB.h:28
pos
Definition: PixelAliasList.h:18
DDEcalPreshowerAlgoTB::absorby
double absorby
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::ywedge_ceramic_diff
double ywedge_ceramic_diff
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::wedge_offset
double wedge_offset
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::materials_
std::vector< std::string > materials_
Definition: DDEcalPreshowerAlgoTB.h:29
DDEcalPreshowerAlgoTB::rminVec
std::vector< double > rminVec
Definition: DDEcalPreshowerAlgoTB.h:31
DDEcalPreshowerAlgoTB::idNameSpace
std::string idNameSpace
Definition: DDEcalPreshowerAlgoTB.h:36
DDEcalPreshowerAlgoTB::zfoam2_
double zfoam2_
Definition: DDEcalPreshowerAlgoTB.h:28
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
DDEcalPreshowerAlgoTB::quadMax_
std::vector< double > quadMax_
Definition: DDEcalPreshowerAlgoTB.h:25
DDEcalPreshowerAlgoTB::ScndplaneXshift
double ScndplaneXshift
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::go
int go
Definition: DDEcalPreshowerAlgoTB.h:40
DDEcalPreshowerAlgoTB::rmaxVec
std::vector< double > rmaxVec
Definition: DDEcalPreshowerAlgoTB.h:32
DDEcalPreshowerAlgoTB::quadMin_
std::vector< double > quadMin_
Definition: DDEcalPreshowerAlgoTB.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDEcalPreshowerAlgoTB::trabsorby
double trabsorby
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::nmat_
int nmat_
Definition: DDEcalPreshowerAlgoTB.h:26
DDEcalPreshowerAlgoTB::absorbx
double absorbx
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::dummyMaterial
std::string dummyMaterial
Definition: DDEcalPreshowerAlgoTB.h:35
DDEcalPreshowerAlgoTB::zlead2_
double zlead2_
Definition: DDEcalPreshowerAlgoTB.h:28
DDEcalPreshowerAlgoTB::doLayers
void doLayers(DDCompactView &pos)
Definition: DDEcalPreshowerAlgoTB.cc:85
DDEcalPreshowerAlgoTB::TotSFYshift
double TotSFYshift
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB
Definition: DDEcalPreshowerAlgoTB.h:9
DDEcalPreshowerAlgoTB::execute
void execute(DDCompactView &pos) override
Definition: DDEcalPreshowerAlgoTB.cc:74
DDEcalPreshowerAlgoTB::waf_active
double waf_active
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::thickLayers_
std::vector< double > thickLayers_
Definition: DDEcalPreshowerAlgoTB.h:30
DDEcalPreshowerAlgoTB::wedge_length
double wedge_length
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::zwedge_ceramic_diff
double zwedge_ceramic_diff
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::waf_intra_col_sep
double waf_intra_col_sep
Definition: DDEcalPreshowerAlgoTB.h:37
DDEcalPreshowerAlgoTB::trabsorbx
double trabsorbx
Definition: DDEcalPreshowerAlgoTB.h:37
ReadMapType< double >
DDAlgorithm.h
DDEcalPreshowerAlgoTB::initialize
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDEcalPreshowerAlgoTB.cc:25
DDEcalPreshowerAlgoTB::getMaterial
std::string getMaterial(unsigned int i) const
Definition: DDEcalPreshowerAlgoTB.h:20
DDEcalPreshowerAlgoTB::micromodulesx
std::vector< double > micromodulesx
Definition: DDEcalPreshowerAlgoTB.h:33
DDEcalPreshowerAlgoTB::DDEcalPreshowerAlgoTB
DDEcalPreshowerAlgoTB()
Definition: DDEcalPreshowerAlgoTB.cc:21
DDEcalPreshowerAlgoTB::thickness_
double thickness_
Definition: DDEcalPreshowerAlgoTB.h:27
DDEcalPreshowerAlgoTB::zfoam1_
double zfoam1_
Definition: DDEcalPreshowerAlgoTB.h:28
DDEcalPreshowerAlgoTB::doSens
void doSens(DDCompactView &pos)
Definition: DDEcalPreshowerAlgoTB.cc:436
DDEcalPreshowerAlgoTB::ScndplaneYshift
double ScndplaneYshift
Definition: DDEcalPreshowerAlgoTB.h:37