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

TopEvent Class Reference

#include <TopEvent.h>

Inheritance diagram for TopEvent:

Inheritance graph
[legend]
Collaboration diagram for TopEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TopEvent ()
virtual ~TopEvent ()
virtual void genEvent ()
 provides four-momenta (i.e. read values from ntuple, run toy MC, ...)

virtual int fitEvent (BaseFitter &fitter)
 do it!

double genX (double lambda, double xmin)
BaseConstraintgetPxConstraint ()
BaseConstraintgetPyConstraint ()
MassConstraintgetW1Constraint ()
MassConstraintgetW2Constraint ()
MassConstraintgetTopConstraint ()
ParticleFitObjectgetTrueFitObject (int i)
ParticleFitObjectgetSmearedFitObject (int i)

Protected Types

enum  { NFV = 11, NBFO = 6 }

Protected Attributes

FourVectorfv [NFV]
ParticleFitObjectbfo [NBFO]
ParticleFitObjectbfosmear [NBFO]
PConstraint pxc
PConstraint pyc
MassConstraint w1
MassConstraint w2
MassConstraint w

Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
NFV 
NBFO 

Definition at line 40 of file TopEvent.h.


Constructor & Destructor Documentation

TopEvent::TopEvent  ) 
 

Definition at line 22 of file TopEvent.C.

References bfo, bfosmear, fv, NBFO, NFV, MassConstraint::setMass(), w1, and w2.

TopEvent::~TopEvent  )  [virtual]
 

Definition at line 33 of file TopEvent.C.

References bfo, bfosmear, fv, NBFO, and NFV.


Member Function Documentation

int TopEvent::fitEvent BaseFitter fitter  )  [virtual]
 

do it!

Implements BaseEvent.

Definition at line 150 of file TopEvent.C.

References BaseFitter::addConstraint(), BaseFitter::addFitObject(), bfosmear, BaseFitter::fit(), BaseFitter::getError(), MassConstraint::getMass(), prob(), pxc, pyc, BaseFitter::reset(), w, w1, and w2.

Referenced by main().

void TopEvent::genEvent  )  [virtual]
 

provides four-momenta (i.e. read values from ntuple, run toy MC, ...)

Implements BaseEvent.

Definition at line 57 of file TopEvent.C.

References ParticleConstraint::addToFOList(), bfo, bfosmear, FourVector::decayto(), FReal, fv, genX(), FourVector::getE(), pxc, pyc, rnorml(), w, w1, and w2.

Referenced by main().

double TopEvent::genX double  lambda,
double  xmin
 

Definition at line 42 of file TopEvent.C.

References FReal, and ranmar().

Referenced by genEvent().

BaseConstraint& TopEvent::getPxConstraint  )  [inline]
 

Definition at line 30 of file TopEvent.h.

References pxc.

Referenced by main().

BaseConstraint& TopEvent::getPyConstraint  )  [inline]
 

Definition at line 31 of file TopEvent.h.

References pyc.

Referenced by main().

ParticleFitObject* TopEvent::getSmearedFitObject int  i  )  [inline]
 

Definition at line 37 of file TopEvent.h.

References bfosmear.

Referenced by main().

MassConstraint& TopEvent::getTopConstraint  )  [inline]
 

Definition at line 34 of file TopEvent.h.

References w.

Referenced by main().

ParticleFitObject* TopEvent::getTrueFitObject int  i  )  [inline]
 

Definition at line 36 of file TopEvent.h.

References bfo.

Referenced by main().

MassConstraint& TopEvent::getW1Constraint  )  [inline]
 

Definition at line 32 of file TopEvent.h.

References w1.

Referenced by main().

MassConstraint& TopEvent::getW2Constraint  )  [inline]
 

Definition at line 33 of file TopEvent.h.

References w2.

Referenced by main().


Member Data Documentation

ParticleFitObject* TopEvent::bfo[NBFO] [protected]
 

Definition at line 42 of file TopEvent.h.

Referenced by genEvent(), getTrueFitObject(), TopEvent(), and ~TopEvent().

ParticleFitObject* TopEvent::bfosmear[NBFO] [protected]
 

Definition at line 43 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), getSmearedFitObject(), TopEvent(), and ~TopEvent().

FourVector* TopEvent::fv[NFV] [protected]
 

Definition at line 41 of file TopEvent.h.

Referenced by genEvent(), TopEvent(), and ~TopEvent().

PConstraint TopEvent::pxc [protected]
 

Definition at line 45 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), and getPxConstraint().

PConstraint TopEvent::pyc [protected]
 

Definition at line 46 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), and getPyConstraint().

MassConstraint TopEvent::w [protected]
 

Definition at line 49 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), and getTopConstraint().

MassConstraint TopEvent::w1 [protected]
 

Definition at line 47 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), getW1Constraint(), and TopEvent().

MassConstraint TopEvent::w2 [protected]
 

Definition at line 48 of file TopEvent.h.

Referenced by fitEvent(), genEvent(), getW2Constraint(), and TopEvent().


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