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 const TMatrixTSym< double > & covariance () const
 
virtual double covariance (int i, int j) const
 
virtual const TVectorT< double > & parameter () const
 
virtual double parameter (int i) 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

anonymous enum
Enumerator
kappa 
lambda 
phi 
dxy 
dz 
NHelixPar 

Definition at line 17 of file TrackParticle.h.

17 { kappa = 0, lambda, phi, dxy, dz, NHelixPar }; // 5 track helix Parameters

Constructor & Destructor Documentation

◆ TrackParticle()

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.

12  : Particle(par, cov, pdgid, charge, b), mass_(mass) {}

◆ ~TrackParticle()

tauImpactParameter::TrackParticle::~TrackParticle ( )
inlineoverride

Definition at line 21 of file TrackParticle.h.

21 {};

Member Function Documentation

◆ mass()

double tauImpactParameter::TrackParticle::mass ( ) const
inlineoverridevirtual

Implements tauImpactParameter::Particle.

Definition at line 25 of file TrackParticle.h.

25 { return mass_; }

References mass_.

Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().

◆ name()

TString TrackParticle::name ( int  i)
static

Definition at line 14 of file TrackParticle.cc.

14  {
15  if (i == kappa)
16  return "kappa";
17  if (i == lambda)
18  return "lambda";
19  if (i == phi)
20  return "phi";
21  if (i == dz)
22  return "dz";
23  if (i == dxy)
24  return "dxy";
25  return "invalid";
26 }

References dxy, dz, mps_fire::i, kappa, lambda, and phi.

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

◆ nParameters()

int tauImpactParameter::TrackParticle::nParameters ( ) const
inlineoverridevirtual

Implements tauImpactParameter::Particle.

Definition at line 24 of file TrackParticle.h.

24 { return NHelixPar; }

References NHelixPar.

Member Data Documentation

◆ mass_

double tauImpactParameter::TrackParticle::mass_
private

Definition at line 28 of file TrackParticle.h.

Referenced by mass().

mps_fire.i
i
Definition: mps_fire.py:355
tauImpactParameter::TrackParticle::phi
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::mass
double mass() const override
Definition: TrackParticle.h:25
tauImpactParameter::TrackParticle::NHelixPar
Definition: TrackParticle.h:17
b
double b
Definition: hdecay.h:118
tauImpactParameter::TrackParticle::dz
Definition: TrackParticle.h:17
tauImpactParameter::Particle::charge
virtual double charge() const
Definition: Particle.h:32
tauImpactParameter::TrackParticle::lambda
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::dxy
Definition: TrackParticle.h:17
tauImpactParameter::Particle::Particle
Particle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double charge, double b)
Definition: Particle.h:15
tauImpactParameter::TrackParticle::mass_
double mass_
Definition: TrackParticle.h:28
tauImpactParameter::TrackParticle::kappa
Definition: TrackParticle.h:17
EgammaValidation_cff.pdgid
pdgid
Definition: EgammaValidation_cff.py:30