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

MassConstraint Class Reference

#include <MassConstraint.h>

Inheritance diagram for MassConstraint:

Inheritance graph
[legend]
Collaboration diagram for MassConstraint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MassConstraint (double mass_=0.)
virtual ~MassConstraint ()
virtual double getValue () const
 Returns the value of the constraint.

virtual void getDerivatives (int idim, double der[]) const
virtual double getMass (int flag=1)
virtual void setMass (double mass_)

Protected Attributes

double mass

Constructor & Destructor Documentation

MassConstraint::MassConstraint double  mass_ = 0.  ) 
 

Definition at line 24 of file MassConstraint.C.

MassConstraint::~MassConstraint  )  [virtual]
 

Definition at line 27 of file MassConstraint.C.


Member Function Documentation

void MassConstraint::getDerivatives int  idim,
double  der[]
const [virtual]
 

Get first order derivatives. Call this with a predefined array "der" with the necessary number of entries!

Implements ParticleConstraint.

Definition at line 53 of file MassConstraint.C.

References ParticleConstraint::fitobjects, and ParticleConstraint::flags.

double MassConstraint::getMass int  flag = 1  )  [virtual]
 

Definition at line 87 of file MassConstraint.C.

References ParticleConstraint::fitobjects, and ParticleConstraint::flags.

Referenced by TopEvent::fitEvent(), and main().

double MassConstraint::getValue  )  const [virtual]
 

Returns the value of the constraint.

Implements ParticleConstraint.

Definition at line 30 of file MassConstraint.C.

References ParticleConstraint::fitobjects, ParticleConstraint::flags, and mass.

Referenced by main().

virtual void MassConstraint::setMass double  mass_  )  [inline, virtual]
 

Definition at line 26 of file MassConstraint.h.

References mass.

Referenced by TopEvent::TopEvent().


Member Data Documentation

double MassConstraint::mass [protected]
 

Definition at line 29 of file MassConstraint.h.

Referenced by getValue(), and setMass().


The documentation for this class was generated from the following files:
Generated on Fri Sep 14 17:38:36 2007 for Kinfit by doxygen 1.3.2