00001 00002 // FILE IS GENERATED. DON'T MODIFY! 00003 // source: global.xml 00004 #ifndef DDAlgorithm_global_linear_h 00005 #define DDAlgorithm_global_linear_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 00043 //base in the input parameters// each algorithm implementation is suffixed by _n, n=0,1,2,... 00044 class global_linear_0 : public AlgoImpl 00045 { 00046 public: 00047 global_linear_0(AlgoPos*,std::string label); 00048 ~global_linear_0(); 00049 00050 bool checkParameters(); 00051 00052 DDTranslation translation(); 00053 00054 DDRotationMatrix rotation(); 00055 00056 00057 00058 00059 00060 // no XML counterpart, but usefull. 00061 void stream(std::ostream &) const; 00062 00063 }; 00064 00065 //without base in input parameters// each algorithm implementation is suffixed by _n, n=0,1,2,... 00066 class global_linear_1 : public AlgoImpl 00067 { 00068 public: 00069 global_linear_1(AlgoPos*,std::string label); 00070 ~global_linear_1(); 00071 00072 bool checkParameters(); 00073 00074 DDTranslation translation(); 00075 00076 DDRotationMatrix rotation(); 00077 00078 00079 // no XML counterpart, but usefull. 00080 void stream(std::ostream &) const; 00081 00082 }; 00083 00084 00085 /************************************************************************** 00086 00087 The following Code gets only generated IF the code-generator 00088 has the capability of generating evaluation/checking code for 00089 the specification of the parameters in the algorithm XML. 00090 00091 If the following is not generated, there will be not automatic 00092 checking of the basic properties of the user-supplied parameters 00093 (bounds, occurences, default values, ...) 00094 00095 ***************************************************************************/ 00096 00097 #include "DetectorDescription/ExprAlgo/interface/AlgoCheck.h" 00098 00099 class global_linear_Check : public AlgoCheck 00100 { 00101 public: 00102 // only ctor-code is generated! 00103 global_linear_Check(); 00104 ~global_linear_Check() { } 00105 }; 00106 00107 #endif 00108 00109