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), cov_(cov), b_(b), charge_(charge), pdgid_(pdgid) {}
virtual double charge() const
Definition: Particle.h:32
TMatrixTSym< double > cov_
Definition: Particle.h:40
double b
Definition: hdecay.h:118
TVectorT< double > par_
Definition: Particle.h:39
virtual tauImpactParameter::Particle::~Particle ( )
inlinevirtual

Definition at line 17 of file Particle.h.

17 {};

Member Function Documentation

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

Definition at line 32 of file Particle.h.

References charge_.

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

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

Definition at line 24 of file Particle.h.

References cov_.

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

24  {
25  if (0 <= i && i < cov_.GetNrows() && 0 <= j && j < cov_.GetNrows())
26  return cov_(i, j);
27  return 0;
28  }
TMatrixTSym< double > cov_
Definition: Particle.h:40
virtual const TMatrixTSym<double>& tauImpactParameter::Particle::covariance ( void  ) const
inlinevirtual

Definition at line 36 of file Particle.h.

References cov_.

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

36 { return cov_; }
TMatrixTSym< double > cov_
Definition: Particle.h:40
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 33 of file Particle.h.

References b_, charge_, and nParameters().

Member Data Documentation

double tauImpactParameter::Particle::b_
private

Definition at line 41 of file Particle.h.

Referenced by bField(), and qB().

double tauImpactParameter::Particle::charge_
private

Definition at line 42 of file Particle.h.

Referenced by charge(), and qB().

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

Definition at line 40 of file Particle.h.

Referenced by covariance().

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

Definition at line 39 of file Particle.h.

Referenced by parameter().

int tauImpactParameter::Particle::pdgid_
private

Definition at line 43 of file Particle.h.

Referenced by pdgId().