CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/Geometry/HcalAlgo/plugins/DDHCalTestBeamAlgo.h

Go to the documentation of this file.
00001 #ifndef HcalAlgo_DDHCalTestBeamAlgo_h
00002 #define HcalAlgo_DDHCalTestBeamAlgo_h
00003 
00004 #include <map>
00005 #include <string>
00006 #include <vector>
00007 #include "DetectorDescription/Base/interface/DDTypes.h"
00008 #include "DetectorDescription/Algorithm/interface/DDAlgorithm.h"
00009 
00010 class DDHCalTestBeamAlgo : public DDAlgorithm {
00011  public:
00012   //Constructor and Destructor
00013   DDHCalTestBeamAlgo(); 
00014   virtual ~DDHCalTestBeamAlgo();
00015   
00016   void initialize(const DDNumericArguments & nArgs,
00017                   const DDVectorArguments & vArgs,
00018                   const DDMapArguments & mArgs,
00019                   const DDStringArguments & sArgs,
00020                   const DDStringVectorArguments & vsArgs);
00021 
00022   void execute(DDCompactView& cpv);
00023 
00024 private:
00025 
00026   double        eta;         //Eta at which beam is focussed
00027   double        phi;         //Phi    ................
00028   double        theta;       //Corresponding theta value
00029   double        distance;    //Distance of the centre of rotation
00030   double        distanceZ;   //Distance along x-axis of the centre of rotation
00031   double        dist;        //Overall distance
00032   double        dz;          //Half length along z of the volume to be placed
00033   int           copyNumber;  //Copy Number
00034 
00035   std::string   idNameSpace; //Namespace of this and ALL sub-parts
00036   std::string   childName;   //Children name
00037 };
00038 
00039 #endif