CMS 3D CMS Logo

DDHCalForwardAlgo.h
Go to the documentation of this file.
1 #ifndef HcalAlgo_DDHCalForwardAlgo_h
2 #define HcalAlgo_DDHCalForwardAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHCalForwardAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
13  DDHCalForwardAlgo(); //const std::string & name);
14  virtual ~DDHCalForwardAlgo();
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 cellMat; //Cell material
27  double cellDx, cellDy, cellDz; //Cell size
28  double startY; //Starting Y for Cell
29  std::vector<std::string> childName; //Children name
30  std::vector<int> number; //Number of cells
31  std::vector<int> size; //Number of children
32  std::vector<int> type; //First child
33 
34  std::string idNameSpace; //Namespace for aLL sub-parts
35 };
36 
37 #endif
std::string idNameSpace
type of data representation of DDCompactView
Definition: DDCompactView.h:90
void execute(DDCompactView &cpv)
virtual ~DDHCalForwardAlgo()
std::vector< int > type
std::vector< int > size
std::vector< std::string > childName
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
std::vector< int > number