rave is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/rave does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 9 and Version 10 of RaveKinematics


Ignore:
Timestamp:
Jan 25, 2008, 12:32:44 PM (17 years ago)
Author:
fmos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RaveKinematics

    v9 v10  
    152152
    153153The available constraints are:
    154 * Back-to-Back
    155 * Four-Momentum
    156 * Mass
    157 * Momentum
    158 * Pointing
    159 * Simple pointing
    160 * Smart pointing
    161 * Two-track Mass
    162 * Vertex
    163 * (Multiple)
     154 * Back-to-Back
     155 * Four-Momentum
     156 * Mass
     157 * Momentum
     158 * Pointing
     159 * Simple pointing
     160 * Smart pointing
     161 * Two-track Mass
     162 * Vertex
     163 * (Multiple)
    164164
    165 Constraints are represented by instances of the !KinematicConstraint class. They cannot be created freely, but only by using the !KinematicConstraintBuilder. This builder offers a creation method for each type of constraint. The signatures of those methods are
    166 
    167 {{{
    168 #!cpp
    169 using namespace rave;
    170 KinematicConstraint createBackToBackKinematicConstraint () const;
    171 KinematicConstraint createFourMomentumKinematicConstraint (
    172 const Vector4D &momentum, const Vector4D &deviation) const;
    173 KinematicConstraint createMassKinematicConstraint (
    174 const double &mass, const float sigma) const;
    175 KinematicConstraint createMomentumKinematicConstraint (
    176 const Vector3D &momentum, const rave::Vector3D &deviation) const;
    177 KinematicConstraint createPointingKinematicConstraint (
    178 const Point3D &reference) const;
    179 KinematicConstraint createSimplePointingConstraint (
    180 const Point3D &reference) const;
    181 KinematicConstraint createSmartPointingConstraint (
    182 const Point3D &reference) const;
    183 KinematicConstraint createTwoTrackMassKinematicConstraint (
    184 const double &mass) const;
    185 KinematicConstraint createVertexKinematicConstraint () const;
    186 MultipleKinematicConstraint createMultipleKinematicConstraint () const;
    187 }}}
     165Constraints are represented by instances of the !KinematicConstraint class. They cannot be created freely, but only by using the !KinematicConstraintBuilder. This builder offers a creation method for each type of constraint. The signatures of those methods can be found in the Doxygen documentation shipping with Rave.
    188166
    189167As is visible from these signatures, the !MultipleKinematicConstraint has a special role copared to the other constraints.