ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitCommon/MathTools/interface/Helix.h
(Generate patch)

Comparing UserCode/MitCommon/MathTools/interface/Helix.h (file contents):
Revision 1.3 by loizides, Mon Jul 20 03:12:22 2009 UTC vs.
Revision 1.4 by loizides, Mon Jul 20 13:50:47 2009 UTC

# Line 49 | Line 49 | namespace mithep {
49  
50        virtual TVector3      Position(double s = 0.0) const;
51        virtual TVector3      Direction(double s = 0.0) const;
52 <      //  the second derivative of the helix vs (three-dimensional) path length
52 >      // the second derivative of the helix vs (three-dimensional) path length
53        virtual TVector3      SecondDerivative(double s = 0.0) const;
54        // Get pathlength at fixed rho=sqrt(x^2 + y^2)
55        virtual double        PathLengthAtRhoEquals(double rho) const;
# Line 346 | Line 346 | void mithep::Helix::SetPhi0(Angle phi0)
346   inline
347   void mithep::Helix::SetParameters(const TVector &p)
348   {
349 <  // Check we're getting a sensible vector
349 >  // Check we're getting a sensible vector.
350 >
351    if (p.GetNrows() < 5) {
352      return;
353    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines