00001 00002 // FILE IS GENERATED. DON'T MODIFY! 00003 // source: global.xml 00004 #ifndef DDAlgorithm_global_simpleAngular_h 00005 #define DDAlgorithm_global_simpleAngular_h 00006 00007 #include "DetectorDescription/ExprAlgo/interface/AlgoImpl.h" 00008 //#include "CLHEP/Units/GlobalSystemOfUnits.h" 00009 // I tried the following on CERN lxplus and still no MAX_DOUBLE was defined. 00010 // so I tried DBL_MAX which does exist, but I do not know the source of this. 00011 // So, in keeping with everything else I saw: 00012 #include <cfloat> 00013 #include <string> 00014 #include <iostream> 00015 00016 00017 #define MAX_DOUBLE DBL_MAX 00018 //#include <climits> 00019 00020 00056 //number no delta// each algorithm implementation is suffixed by _n, n=0,1,2,... 00057 class global_simpleAngular_0 : public AlgoImpl 00058 { 00059 public: 00060 global_simpleAngular_0(AlgoPos*,std::string label); 00061 ~global_simpleAngular_0(); 00062 00063 bool checkParameters(); 00064 00065 DDTranslation translation(); 00066 00067 DDRotationMatrix rotation(); 00068 00069 00070 00071 void checkTermination(); 00072 // no XML counterpart, but usefull. 00073 void stream(std::ostream &) const; 00074 00075 }; 00076 00077 //delta no number// each algorithm implementation is suffixed by _n, n=0,1,2,... 00078 class global_simpleAngular_1 : public AlgoImpl 00079 { 00080 public: 00081 global_simpleAngular_1(AlgoPos*,std::string label); 00082 ~global_simpleAngular_1(); 00083 00084 bool checkParameters(); 00085 00086 DDTranslation translation(); 00087 00088 DDRotationMatrix rotation(); 00089 00090 00091 00092 void checkTermination(); 00093 // no XML counterpart, but usefull. 00094 void stream(std::ostream &) const; 00095 00096 }; 00097 00098 //delta AND number// each algorithm implementation is suffixed by _n, n=0,1,2,... 00099 class global_simpleAngular_2 : public AlgoImpl 00100 { 00101 public: 00102 global_simpleAngular_2(AlgoPos*,std::string label); 00103 ~global_simpleAngular_2(); 00104 00105 bool checkParameters(); 00106 00107 DDTranslation translation(); 00108 00109 DDRotationMatrix rotation(); 00110 00111 00112 00113 void checkTermination(); 00114 // no XML counterpart, but usefull. 00115 void stream(std::ostream &) const; 00116 00117 }; 00118 00119 00120 /************************************************************************** 00121 00122 The following Code gets only generated IF the code-generator 00123 has the capability of generating evaluation/checking code for 00124 the specification of the parameters in the algorithm XML. 00125 00126 If the following is not generated, there will be not automatic 00127 checking of the basic properties of the user-supplied parameters 00128 (bounds, occurences, default values, ...) 00129 00130 ***************************************************************************/ 00131 00132 #include "DetectorDescription/ExprAlgo/interface/AlgoCheck.h" 00133 00134 class global_simpleAngular_Check : public AlgoCheck 00135 { 00136 public: 00137 // only ctor-code is generated! 00138 global_simpleAngular_Check(); 00139 ~global_simpleAngular_Check() { }; 00140 }; 00141 00142 #endif 00143 00144