Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

MassConstraint.h

Go to the documentation of this file.
00001 
00002 // Class MassConstraint
00003 //
00004 // Author: Jenny Boehme
00005 // Last update: $Date: 2005/01/12 10:11:45 $
00006 //          by: $Author: blist $
00007 // 
00008 // Description: M(p1,p2)=M_W constraint
00009 //               
00011 
00012 #ifndef __MASSCONSTRAINT_H
00013 #define __MASSCONSTRAINT_H
00014 
00015 #include "jbltools/kinfit/ParticleConstraint.h"
00016 
00017 class ParticleFitObject;
00018 
00019 class MassConstraint : public ParticleConstraint {
00020   public:
00021     MassConstraint (double mass_ = 0.);
00022     virtual ~MassConstraint();
00023     virtual double getValue() const;
00024     virtual void getDerivatives (int idim, double der[]) const;
00025     virtual double getMass (int flag = 1);
00026     virtual void setMass (double mass_) {mass = mass_;};
00027   
00028   protected:
00029     double mass;
00030 
00031 };
00032 
00033 #endif // __MASSCONSTRAINT_H

Generated on Fri Sep 14 17:38:21 2007 for Kinfit by doxygen 1.3.2