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

K0Event Class Reference

#include <K0Event.h>

Inheritance diagram for K0Event:

Inheritance graph
[legend]
Collaboration diagram for K0Event:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { NFV = 3, NTFO = 3, NVER = 2 }

Public Member Functions

 K0Event ()
virtual ~K0Event ()
virtual void genEvent ()
virtual int fitEvent (BaseFitter &fitter)
 do it!

TrackFitObjectgetTrueFitObject (int i)
TrackFitObjectgetSmearedFitObject (int i)
ChargedParticleTrackcreateSmearedChargedTrack (const char *name, const ChargedParticleTrack &in)

Public Attributes

FourVectorfv [NFV]
TrackFitObjectgentrack [NTFO]
TrackFitObjectsmtrack [NTFO]
TrackFitObjectrectrack [NTFO]
ThreeVectorgenvert [NVER]

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NFV 
NTFO 
NVER 

Definition at line 33 of file K0Event.h.


Constructor & Destructor Documentation

K0Event::K0Event  ) 
 

Definition at line 38 of file K0Event.C.

References fv, gentrack, genvert, NFV, NTFO, NVER, and rectrack.

K0Event::~K0Event  )  [virtual]
 

Definition at line 46 of file K0Event.C.

References fv, gentrack, genvert, NFV, NTFO, NVER, and rectrack.


Member Function Documentation

ChargedParticleTrack * K0Event::createSmearedChargedTrack const char *  name,
const ChargedParticleTrack in
 

Definition at line 158 of file K0Event.C.

References TrackFitObject::bfield, FReal, ChargedParticleTrack::getCharge(), ChargedParticleTrack::getMass(), TrackFitObject::getParam(), ChargedParticleTrack::parfact, rnorml(), and TrackFitObject::setError().

Referenced by genEvent().

int K0Event::fitEvent BaseFitter fitter  )  [virtual]
 

do it!

Implements BaseEvent.

Definition at line 195 of file K0Event.C.

References VertexFitObject::addConstraints(), BaseFitter::addFitObject(), VertexFitObject::addTrack(), BaseFitter::fit(), TrackFitObject::fixVertexParam(), BaseFitter::getError(), VertexFitObject::initForFit(), prob(), VertexFitObject::PXYZ, rectrack, and VertexFitObject::VXYZ.

Referenced by main().

void K0Event::genEvent  )  [virtual]
 

generate primary vertex

generate K0S momentum vector and decay length

Implements BaseEvent.

Definition at line 57 of file K0Event.C.

References createSmearedChargedTrack(), FourVector::decayto(), TrackFitObject::fixParam(), TrackFitObject::fixVertexParam(), FReal, fv, gentrack, genvert, FourVector::getBetaGamma(), ThreeVector::getMag(), FourVector::getThreeVector(), ranmar(), rectrack, rnorml(), TrackFitObject::setName(), and smtrack.

Referenced by main().

TrackFitObject* K0Event::getSmearedFitObject int  i  )  [inline]
 

Definition at line 29 of file K0Event.h.

References rectrack.

TrackFitObject* K0Event::getTrueFitObject int  i  )  [inline]
 

Definition at line 28 of file K0Event.h.

References gentrack.


Member Data Documentation

FourVector* K0Event::fv[NFV]
 

Definition at line 34 of file K0Event.h.

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

TrackFitObject* K0Event::gentrack[NTFO]
 

Definition at line 35 of file K0Event.h.

Referenced by genEvent(), getTrueFitObject(), K0Event(), main(), and ~K0Event().

ThreeVector* K0Event::genvert[NVER]
 

Definition at line 38 of file K0Event.h.

Referenced by genEvent(), K0Event(), main(), and ~K0Event().

TrackFitObject* K0Event::rectrack[NTFO]
 

Definition at line 37 of file K0Event.h.

Referenced by fitEvent(), genEvent(), getSmearedFitObject(), K0Event(), main(), and ~K0Event().

TrackFitObject* K0Event::smtrack[NTFO]
 

Definition at line 36 of file K0Event.h.

Referenced by genEvent(), and main().


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