Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

recocert::V0 Class Reference

A V0. More...

#include <V0.hpp>

List of all members.

Public Methods

 V0 ()
 Default constructor.

 V0 (const vertex::KVertex &vertex, const vertex::ChargedParticle *p1, const vertex::ChargedParticle *p2, const vertex::Vertex *primary)
 Construct a V0 given a decay vertex and a primary vertex. More...

void getData (V0Data &data) const
 Fill structure with internal V0 data (to be phased out).

const vertex::KVertex& vertex () const
 Return a reference to the V0 vertex.

const vertex::ChargedParticle* pos () const
 Return pointer to the positive particle.

const vertex::ChargedParticle* neg () const
 Return pointer to the negative particle.

double mass (double posMass, double negMass) const
 Calculate the invariant mass of the V0 given individual masses of the decay particles. More...

double mass (double mass) const
 Calculate the invariant mass of the V0 given individual masses of the decay particles. More...


Private Attributes

vertex::KVertex _vertex
 The V0 vertex.

const vertex::ChargedParticle* _p1
 Particle one.

const vertex::ChargedParticle* _p2
 Particle two.

V0Data _data
 Internal data structure.


Detailed Description

A V0.

A V0 represents an unstable particle that decays into a positive and negative particle.


Constructor & Destructor Documentation

recocert::V0::V0 ( )
 

Default constructor.

recocert::V0::V0 ( const vertex::KVertex & vertex,
const vertex::ChargedParticle * p1,
const vertex::ChargedParticle * p2,
const vertex::Vertex * primary )
 

Construct a V0 given a decay vertex and a primary vertex.

Input parameters:

  • vertex: the decay vertex
  • p1: one of the decay particles
  • p2: the other decay particle
  • primary: the primary vertex (to be phased out)


Member Function Documentation

void recocert::V0::getData ( V0Data & data ) const
 

Fill structure with internal V0 data (to be phased out).

double recocert::V0::mass ( double mass ) const
 

Calculate the invariant mass of the V0 given individual masses of the decay particles.

Returns invariant mass of V0 given input masses, assuming positive and negative particles have same mass.

Input parameters:

  • mass: mass of particles

double recocert::V0::mass ( double posMass,
double negMass ) const
 

Calculate the invariant mass of the V0 given individual masses of the decay particles.

Returns invariant mass of V0 given input masses.

Input parameters:

  • posMass: mass of positive particle
  • negMass: mass of negative particle

const vertex::ChargedParticle * recocert::V0::neg ( ) const [inline]
 

Return pointer to the negative particle.

const vertex::ChargedParticle * recocert::V0::pos ( ) const [inline]
 

Return pointer to the positive particle.

const vertex::KVertex & recocert::V0::vertex ( ) const [inline]
 

Return a reference to the V0 vertex.


Member Data Documentation

V0Data recocert::V0::_data [private]
 

Internal data structure.

const vertex::ChargedParticle * recocert::V0::_p1 [private]
 

Particle one.

const vertex::ChargedParticle * recocert::V0::_p2 [private]
 

Particle two.

vertex::KVertex recocert::V0::_vertex [mutable, private]
 

The V0 vertex.


The documentation for this class was generated from the following file:
Generated at Sat Oct 4 20:18:33 2003 for recocert by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001