CMS 3D CMS Logo

DDHCalTestBeamAlgo.h
Go to the documentation of this file.
1 #ifndef HcalAlgo_DDHCalTestBeamAlgo_h
2 #define HcalAlgo_DDHCalTestBeamAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHCalTestBeamAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  virtual ~DDHCalTestBeamAlgo();
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  double eta; //Eta at which beam is focussed
27  double phi; //Phi ................
28  double theta; //Corresponding theta value
29  double distance; //Distance of the centre of rotation
30  double distanceZ; //Distance along x-axis of the centre of rotation
31  double dist; //Overall distance
32  double dz; //Half length along z of the volume to be placed
33  int copyNumber; //Copy Number
34 
35  std::string idNameSpace; //Namespace of this and ALL sub-parts
36  std::string childName; //Children name
37 };
38 
39 #endif
type of data representation of DDCompactView
Definition: DDCompactView.h:90
void execute(DDCompactView &cpv)
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)