#include <DetectorDescription/Algorithm/src/global_angular.h>
Public Member Functions | |
global_angular_Check () | |
~global_angular_Check () |
Definition at line 78 of file global_angular.h.
global_angular_Check::global_angular_Check | ( | ) |
Definition at line 223 of file global_angular.cc.
References AlgoCheck::constraintsE_, AlgoCheck::constraintsS_, and MAX_DOUBLE.
00224 { 00225 // for the time being only expression-valued parameters can be automatically checked 00226 // against their specified constraints 00227 00228 // schema default values will be shown if necessary in the following XML comments 00229 // on the second line. The fist shows the values as given in the instance document 00230 00231 // expressions have to be converted into doubles. No variables [bla] shall be allowed 00232 // inside the expressions; SystemOfUnits-symbols are the only supported ones. 00233 00234 00235 constraintsE_["startAngle"] = ConstraintE( 1, // minOccurs 00236 1, // maxOccurs 00237 0., // min 00238 360.0*deg, // max 00239 false, // use, true=required, false=optional 00240 true, // use, true=use default, false=no default 00241 0.0 00242 ); 00243 00244 constraintsE_["rangeAngle"] = ConstraintE( 1, // minOccurs 00245 1, // maxOccurs 00246 0., // min 00247 360.0*deg, // max 00248 false, // use, true=required, false=optional 00249 true, // use, true=use default, false=no default 00250 360.0*deg 00251 ); 00252 00253 constraintsE_["n"] = ConstraintE( 1, // minOccurs 00254 1, // maxOccurs 00255 1, // min 00256 +MAX_DOUBLE, // max 00257 false, // use, true=required, false=optional 00258 true, // use, true=use default, false=no default 00259 1 00260 ); 00261 constraintsE_["startCopyNo"] = ConstraintE( 1, // minOccurs 00262 1, // maxOccurs 00263 -MAX_DOUBLE, // min 00264 +MAX_DOUBLE, // max 00265 false, // use, true=required, false=optional 00266 true, // use, true=use default, false=no default 00267 1 00268 ); 00269 00270 constraintsE_["incrCopyNo"] = ConstraintE( 1, // minOccurs 00271 1, // maxOccurs 00272 -MAX_DOUBLE, // min 00273 +MAX_DOUBLE, // max 00274 false, // use, true=required, false=optional 00275 true, // use, true=use default, false=no default 00276 1 00277 ); 00278 00279 00280 constraintsE_["radius"] = ConstraintE( 1, // minOccurs 00281 1, // maxOccurs 00282 0., // min 00283 +MAX_DOUBLE, // max 00284 true, // use, true=required, false=optional 00285 false, // use, true=use default, false=no default 00286 2 00287 ); 00288 00289 constraintsS_["alignSolid"] = ConstraintS( 1, // minOccurs 00290 1, // maxOccurs 00291 00292 00293 false, // use, true=required, false=optional 00294 true, // use, true=use default, false=no default 00295 "T" 00296 ); 00297 00298 constraintsE_["center"] = ConstraintE( 3, // minOccurs 00299 3, // maxOccurs 00300 -MAX_DOUBLE, // min 00301 +MAX_DOUBLE, // max 00302 false, // use, true=required, false=optional 00303 true, // use, true=use default, false=no default 00304 0. 00305 ); 00306 00307 constraintsE_["rotate"] = ConstraintE( 3, // minOccurs 00308 9, // maxOccurs 00309 -360.0*deg, // min 00310 360.0*deg, // max 00311 false, // use, true=required, false=optional 00312 true, // use, true=use default, false=no default 00313 0.0 00314 ); 00315 00316 constraintsE_["rotateSolid"] = ConstraintE( 3, // minOccurs 00317 9, // maxOccurs 00318 -360.0*deg, // min 00319 360.0*deg, // max 00320 false, // use, true=required, false=optional 00321 true, // use, true=use default, false=no default 00322 0.0 00323 ); 00324 00325 }
global_angular_Check::~global_angular_Check | ( | ) | [inline] |