CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDPixBarLayerAlgo.h
Go to the documentation of this file.
1 #ifndef DD_PixBarLayerAlgo_h
2 #define DD_PixBarLayerAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDPixBarLayerAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  virtual ~DDPixBarLayerAlgo();
15 
16  void initialize(const DDNumericArguments & nArgs,
17  const DDVectorArguments & vArgs,
18  const DDMapArguments & mArgs,
19  const DDStringArguments & sArgs,
20  const DDStringVectorArguments & vsArgs);
21 
22  void execute(DDCompactView& cpv);
23 
24 private:
25 
26  std::string idNameSpace; //Namespace of this and ALL sub-parts
27  std::string genMat; //Name of general material
28  int number; //Number of ladders in phi
29  double layerDz; //Length of the layer
30  double sensorEdge; //Distance from edge for a half sensor
31  double coolDz; //Length of the cooling piece
32  double coolWidth; //Width
33  double coolSide; //Side length
34  double coolThick; //Thickness of the shell
35  double coolDist; //Radial distance between centres of 2
36  std::string coolMat; //Cooling fluid material name
37  std::string tubeMat; //Cooling piece material name
38  std::vector<std::string> ladder; //Names of ladders
39  std::vector<double> ladderWidth; //Widths ...
40  std::vector<double> ladderThick; //Thickness ...
41 };
42 
43 #endif
std::string idNameSpace
type of data representation of DDCompactView
Definition: DDCompactView.h:77
std::vector< std::string > ladder
virtual ~DDPixBarLayerAlgo()
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
std::vector< double > ladderWidth
std::vector< double > ladderThick
void execute(DDCompactView &cpv)