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

double mass () const override
 
int nParameters () const override
 
 TrackParticle (const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
 
 ~TrackParticle () override
 
- 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
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
double mass() const override
Definition: TrackParticle.h:24
tauImpactParameter::TrackParticle::~TrackParticle ( )
inlineoverride

Definition at line 20 of file TrackParticle.h.

References mps_fire::i, and name().

20 {};

Member Function Documentation

double tauImpactParameter::TrackParticle::mass ( ) const
inlineoverridevirtual
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 }
int tauImpactParameter::TrackParticle::nParameters ( ) const
inlineoverridevirtual

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().