CMS 3D CMS Logo

Public Member Functions

global_linear_Check Class Reference

#include <global_linear.h>

Inheritance diagram for global_linear_Check:
AlgoCheck

List of all members.

Public Member Functions

 global_linear_Check ()
 ~global_linear_Check ()

Detailed Description

Definition at line 99 of file global_linear.h.


Constructor & Destructor Documentation

global_linear_Check::global_linear_Check ( )

Definition at line 189 of file global_linear.cc.

References AlgoCheck::constraintsE_, and MAX_DOUBLE.

{
  // for the time being only expression-valued parameters can be automatically checked
  // against their specified constraints
  
  // schema default values will be shown if necessary in the following XML comments 
  // on the second line. The fist shows the values as given in the instance document

  // expressions have to be converted into doubles. No variables [bla] shall be allowed
  // inside the expressions; SystemOfUnits-symbols are the only supported ones.
  

  constraintsE_["theta"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        0*deg,  // min
                                        180*deg,  // max 
                                        true,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

  constraintsE_["phi"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        0*deg,  // min
                                        360*deg,  // max 
                                        true,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

  constraintsE_["delta"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        true,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

  constraintsE_["offset"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        false,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        0
                                       );

  constraintsE_["base"] = ConstraintE( 3,      // minOccurs
                                        3,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        false,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

}
global_linear_Check::~global_linear_Check ( ) [inline]

Definition at line 104 of file global_linear.h.

{ }