CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
tauImpactParameter::TrackParticle Class Reference

#include <TrackParticle.h>

Inheritance diagram for tauImpactParameter::TrackParticle:
tauImpactParameter::Particle

Public Types

enum  {
  kappa =0, lambda, phi, dxy,
  dz, NHelixPar
}
 

Public Member Functions

virtual double mass () const
 
virtual int nParameters () const
 
 TrackParticle (const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
 
virtual ~TrackParticle ()
 
- Public Member Functions inherited from tauImpactParameter::Particle
virtual double bField () const
 
virtual double charge () const
 
virtual double covariance (int i, int j) const
 
virtual const TMatrixTSym< double > & covariance () const
 
virtual double parameter (int i) const
 
virtual const TVectorT< double > & parameter () const
 
 Particle (const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double charge, double b)
 
virtual int pdgId () const
 
virtual double qB () const
 
virtual ~Particle ()
 

Static Public Member Functions

static TString name (int i)
 

Private Attributes

double mass_
 

Detailed Description

Definition at line 15 of file TrackParticle.h.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

TrackParticle::TrackParticle ( const TVectorT< double > &  par,
const TMatrixTSym< double > &  cov,
int  pdgid,
double  mass,
double  charge,
double  b 
)

Definition at line 10 of file TrackParticle.cc.

11  : Particle(par,cov,pdgid,charge,b),
12  mass_(mass)
13 {}
virtual double charge() const
Definition: Particle.h:29
virtual double mass() const
Definition: TrackParticle.h:24
double b
Definition: hdecay.h:120
Particle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double charge, double b)
Definition: Particle.h:15
virtual tauImpactParameter::TrackParticle::~TrackParticle ( )
inlinevirtual

Definition at line 20 of file TrackParticle.h.

References mps_fire::i, and name().

20 {};

Member Function Documentation

virtual double tauImpactParameter::TrackParticle::mass ( ) const
inlinevirtual
TString TrackParticle::name ( int  i)
static

Definition at line 15 of file TrackParticle.cc.

References dxy, dz, kappa, lambda, and phi.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and ~TrackParticle().

15  {
16  if ( i == kappa ) return "kappa";
17  if ( i == lambda ) return "lambda";
18  if ( i == phi ) return "phi";
19  if ( i == dz ) return "dz";
20  if ( i == dxy ) return "dxy";
21  return "invalid";
22 }
virtual int tauImpactParameter::TrackParticle::nParameters ( ) const
inlinevirtual

Implements tauImpactParameter::Particle.

Definition at line 23 of file TrackParticle.h.

References NHelixPar.

Member Data Documentation

double tauImpactParameter::TrackParticle::mass_
private

Definition at line 27 of file TrackParticle.h.

Referenced by mass().