CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Geometry/HcalAlgo/interface/DDHCalXtalAlgo.h

Go to the documentation of this file.
00001 #ifndef HcalAlgo_DDHCalXtalAlgo_h
00002 #define HcalAlgo_DDHCalXtalAlgo_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 DDHCalXtalAlgo : public DDAlgorithm {
00011  public:
00012   //Constructor and Destructor
00013   DDHCalXtalAlgo(); 
00014   virtual ~DDHCalXtalAlgo();
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                   radius;      //Pointing distance from front surface 
00027   double                   offset;      //Offset along Z
00028   double                   dx;          //Half size along x
00029   double                   dz;          //Half size along z
00030   double                   angwidth;    //Angular width
00031   int                      iaxis;       //Axis of rotation
00032   std::vector<std::string> names;       //Names for rotation matrices
00033 
00034   std::string              idNameSpace; //Namespace of this and ALL sub-parts
00035   std::string              idName;      //Children name
00036 };
00037 
00038 #endif