CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
tauImpactParameter::Particle Class Referenceabstract

#include <Particle.h>

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

Public Member Functions

virtual double bField () const
 
virtual double charge () const
 
virtual double covariance (int i, int j) const
 
virtual const TMatrixTSym< double > & covariance () const
 
virtual double mass () const =0
 
virtual int nParameters () const =0
 
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 ()
 

Private Attributes

double b_
 
double charge_
 
TMatrixTSym< double > cov_
 
TVectorT< double > par_
 
int pdgid_
 

Detailed Description

Definition at line 13 of file Particle.h.

Constructor & Destructor Documentation

tauImpactParameter::Particle::Particle ( const TVectorT< double > &  par,
const TMatrixTSym< double > &  cov,
int  pdgid,
double  charge,
double  b 
)
inline

Definition at line 15 of file Particle.h.

16  : par_(par),
17  cov_(cov),
18  b_(b),
19  charge_(charge),
20  pdgid_(pdgid)
21  {}
virtual double charge() const
Definition: Particle.h:29
TMatrixTSym< double > cov_
Definition: Particle.h:37
double b
Definition: hdecay.h:120
TVectorT< double > par_
Definition: Particle.h:36
virtual tauImpactParameter::Particle::~Particle ( )
inlinevirtual

Definition at line 22 of file Particle.h.

22 {};

Member Function Documentation

virtual double tauImpactParameter::Particle::bField ( ) const
inlinevirtual
virtual double tauImpactParameter::Particle::charge ( void  ) const
inlinevirtual

Definition at line 29 of file Particle.h.

References charge_.

Referenced by tauImpactParameter::TrackTools::lorentzParticleAtPosition().

29 {return charge_;}
virtual double tauImpactParameter::Particle::covariance ( int  i,
int  j 
) const
inlinevirtual

Definition at line 25 of file Particle.h.

References cov_.

Referenced by tauImpactParameter::TauA1NuConstrainedFitter::TauA1NuConstrainedFitter().

25 {if(0<=i && i<cov_.GetNrows() && 0<=j && j<cov_.GetNrows()) return cov_(i,j); return 0;}
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
TMatrixTSym< double > cov_
Definition: Particle.h:37
virtual const TMatrixTSym<double>& tauImpactParameter::Particle::covariance ( void  ) const
inlinevirtual

Definition at line 33 of file Particle.h.

References cov_.

Referenced by tauImpactParameter::LorentzVectorParticle::vertexCov().

33 {return cov_;}
TMatrixTSym< double > cov_
Definition: Particle.h:37
virtual double tauImpactParameter::Particle::mass ( ) const
pure virtual
virtual int tauImpactParameter::Particle::nParameters ( ) const
pure virtual
virtual double tauImpactParameter::Particle::parameter ( int  i) const
inlinevirtual
virtual const TVectorT<double>& tauImpactParameter::Particle::parameter ( ) const
inlinevirtual
virtual int tauImpactParameter::Particle::pdgId ( ) const
inlinevirtual
virtual double tauImpactParameter::Particle::qB ( ) const
inlinevirtual

Definition at line 30 of file Particle.h.

References b_, charge_, and nParameters().

Member Data Documentation

double tauImpactParameter::Particle::b_
private

Definition at line 38 of file Particle.h.

Referenced by bField(), and qB().

double tauImpactParameter::Particle::charge_
private

Definition at line 39 of file Particle.h.

Referenced by charge(), and qB().

TMatrixTSym<double> tauImpactParameter::Particle::cov_
private

Definition at line 37 of file Particle.h.

Referenced by covariance().

TVectorT<double> tauImpactParameter::Particle::par_
private

Definition at line 36 of file Particle.h.

Referenced by parameter().

int tauImpactParameter::Particle::pdgid_
private

Definition at line 40 of file Particle.h.

Referenced by pdgId().