00001 #ifndef HcalAlgo_DDHCalAngular_h 00002 #define HcalAlgo_DDHCalAngular_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 DDHCalAngular : public DDAlgorithm { 00011 public: 00012 //Constructor and Destructor 00013 DDHCalAngular(); 00014 virtual ~DDHCalAngular(); 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 startAngle; //Start angle 00027 double rangeAngle; //Range angle 00028 double shiftY; //Shift along Y 00029 double shiftX; //Shift along X 00030 double zoffset; //Offset in z 00031 int n; //Mumber of copies 00032 int startCopyNo; //Start copy Number 00033 int incrCopyNo; //Increment copy Number 00034 00035 std::string rotns; //Namespace for rotation matrix 00036 std::string idNameSpace; //Namespace of this and ALL sub-parts 00037 std::string childName; //Children name 00038 }; 00039 00040 #endif