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

◆ Particle()

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) {}
TMatrixTSym< double > cov_
Definition: Particle.h:40
double b
Definition: hdecay.h:118
TVectorT< double > par_
Definition: Particle.h:39
virtual double charge() const
Definition: Particle.h:32

◆ ~Particle()

virtual tauImpactParameter::Particle::~Particle ( )
inlinevirtual

Definition at line 17 of file Particle.h.

17 {};

Member Function Documentation

◆ bField()

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

◆ charge()

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

Definition at line 32 of file Particle.h.

References charge_.

32 { return charge_; }

◆ covariance() [1/2]

virtual double tauImpactParameter::Particle::covariance ( int  i,
int  j 
) const
inlinevirtual

Definition at line 24 of file Particle.h.

References cov_, mps_fire::i, and dqmiolumiharvest::j.

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

◆ covariance() [2/2]

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

◆ mass()

virtual double tauImpactParameter::Particle::mass ( ) const
pure virtual

◆ nParameters()

virtual int tauImpactParameter::Particle::nParameters ( ) const
pure virtual

◆ parameter() [1/2]

virtual double tauImpactParameter::Particle::parameter ( int  i) const
inlinevirtual

Reimplemented in tauImpactParameter::LorentzVectorParticle.

Definition at line 19 of file Particle.h.

References mps_fire::i, and par_.

19  {
20  if (0 <= i && i < par_.GetNrows())
21  return par_(i);
22  return 0;
23  }
TVectorT< double > par_
Definition: Particle.h:39

◆ parameter() [2/2]

virtual const TVectorT<double>& tauImpactParameter::Particle::parameter ( ) const
inlinevirtual

◆ pdgId()

virtual int tauImpactParameter::Particle::pdgId ( ) const
inlinevirtual

Definition at line 31 of file Particle.h.

References pdgid_.

Referenced by Particle.Particle::__str__().

31 { return pdgid_; }

◆ qB()

virtual double tauImpactParameter::Particle::qB ( ) const
inlinevirtual

Definition at line 33 of file Particle.h.

References b_, and charge_.

Member Data Documentation

◆ b_

double tauImpactParameter::Particle::b_
private

Definition at line 41 of file Particle.h.

Referenced by bField(), and qB().

◆ charge_

double tauImpactParameter::Particle::charge_
private

Definition at line 42 of file Particle.h.

Referenced by charge(), and qB().

◆ cov_

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

Definition at line 40 of file Particle.h.

Referenced by covariance().

◆ par_

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

Definition at line 39 of file Particle.h.

Referenced by parameter().

◆ pdgid_

int tauImpactParameter::Particle::pdgid_
private

Definition at line 43 of file Particle.h.

Referenced by pdgId().