CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
global_linear.h
Go to the documentation of this file.
1 
2 // FILE IS GENERATED. DON'T MODIFY!
3 // source: global.xml
4 #ifndef DDAlgorithm_global_linear_h
5 #define DDAlgorithm_global_linear_h
6 
8 #include "CLHEP/Units/GlobalSystemOfUnits.h"
9 // I tried the following on CERN lxplus and still no MAX_DOUBLE was defined.
10 // so I tried DBL_MAX which does exist, but I do not know the source of this.
11 // So, in keeping with everything else I saw:
12 #include <cfloat>
13 #include <string>
14 #include <iostream>
15 
16 
17 #define MAX_DOUBLE DBL_MAX
18 //#include <climits>
19 
20 
43 //base in the input parameters// each algorithm implementation is suffixed by _n, n=0,1,2,...
44 class global_linear_0 : public AlgoImpl
45 {
46 public:
47  global_linear_0(AlgoPos*,std::string label);
49 
50  bool checkParameters();
51 
53 
55 
56 
57 
58 
59 
60 // no XML counterpart, but usefull.
61  void stream(std::ostream &) const;
62 
63 };
64 
65 //without base in input parameters// each algorithm implementation is suffixed by _n, n=0,1,2,...
66 class global_linear_1 : public AlgoImpl
67 {
68 public:
69  global_linear_1(AlgoPos*,std::string label);
71 
72  bool checkParameters();
73 
75 
77 
78 
79 // no XML counterpart, but usefull.
80  void stream(std::ostream &) const;
81 
82 };
83 
84 
85 /**************************************************************************
86 
87  The following Code gets only generated IF the code-generator
88  has the capability of generating evaluation/checking code for
89  the specification of the parameters in the algorithm XML.
90 
91  If the following is not generated, there will be not automatic
92  checking of the basic properties of the user-supplied parameters
93  (bounds, occurences, default values, ...)
94 
95 ***************************************************************************/
96 
98 
100 {
101 public:
102  // only ctor-code is generated!
105 };
106 
107 #endif
108 
109 
base class for generated checking code for algorithm parameters.
Definition: AlgoCheck.h:10
class for algorithmic positioning, represents an algorithm
Definition: AlgoPos.h:27
global_linear_1(AlgoPos *, std::string label)
void stream(std::ostream &) const
DDTranslation translation()
subclass must calculate a translation std::vector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
void stream(std::ostream &) const
implementation of an algorithm, non generated checking code.
Definition: AlgoImpl.h:19
DDRotationMatrix rotation()
subclass must calculate a rotation matrix
DDTranslation translation()
subclass must calculate a translation std::vector
DDRotationMatrix rotation()
subclass must calculate a rotation matrix
bool checkParameters()
subclass must check the supplied parameters ParE_, ParS_
global_linear_0(AlgoPos *, std::string label)
bool checkParameters()
subclass must check the supplied parameters ParE_, ParS_
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.