CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDTrackerPhiAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TrackerPhiAlgo_h
2 #define DD_TrackerPhiAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerPhiAlgo : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
15  virtual ~DDTrackerPhiAlgo();
16 
17  void initialize(const DDNumericArguments & nArgs,
18  const DDVectorArguments & vArgs,
19  const DDMapArguments & mArgs,
20  const DDStringArguments & sArgs,
21  const DDStringVectorArguments & vsArgs);
22 
23  void execute(DDCompactView& cpv);
24 
25 private:
26 
27  double radius; //Radius
28  double tilt; //Tilt angle
29  std::vector<double> phi; //Phi values
30  std::vector<double> zpos; //Z positions
31 
32  std::string idNameSpace; //Namespace of this and ALL sub-parts
33  std::string childName; //Child name
34 
35  size_t startcn; //Start index of copy numbers.
36  int incrcn; //Increment of copy number index.
37  size_t numcopies; //Number of copies == phi.size() above.
38 };
39 
40 #endif
std::vector< double > phi
virtual ~DDTrackerPhiAlgo()
std::string childName
type of data representation of DDCompactView
Definition: DDCompactView.h:81
void execute(DDCompactView &cpv)
std::vector< double > zpos
std::string idNameSpace
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)