PandaRoot
KFVertex Class Reference

#include <KFVertex.h>

Inheritance diagram for KFVertex:
KFParticle KFParticleBase

Public Member Functions

 KFVertex ()
 
 ~KFVertex ()
 
 KFVertex (const KFPVertex &vertex)
 
Int_t GetNContributors () const
 
void operator+= (const KFParticle &Daughter)
 
KFVertex operator- (const KFParticle &Daughter) const
 
void operator-= (const KFParticle &Daughter)
 
void SetBeamConstraint (float X, float Y, float Z, float ErrX, float ErrY, float ErrZ)
 
void SetBeamConstraintOff ()
 
void ConstructPrimaryVertex (const KFParticle *vDaughters[], int NDaughters, Bool_t vtxFlag[], float ChiCut=3.5)
 
- Public Member Functions inherited from KFParticle
 KFParticle ()
 
 ~KFParticle ()
 
 KFParticle (const KFParticle &d1, const KFParticle &d2, Bool_t gamma=false)
 
 KFParticle (const KFParticle &d1, const KFParticle &d2, const KFParticle &d3)
 
 KFParticle (const KFParticle &d1, const KFParticle &d2, const KFParticle &d3, const KFParticle &d4)
 
void Create (const Double_t Param[], const Double_t Cov[], Int_t Charge, Double_t mass)
 
 KFParticle (const KFPTrack &track, Int_t PID)
 
 KFParticle (const KFPVertex &vertex)
 
void CleanDaughtersId ()
 
void SetNDaughters (int n)
 
void AddDaughter (int id)
 
void Initialize ()
 
void SetVtxGuess (Double_t x, Double_t y, Double_t z)
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetE () const
 
Double_t GetS () const
 
Int_t GetQ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
Bool_t GetAtProductionVertex () const
 
void SetAtProductionVertex (Bool_t b)
 
const Double_t & X () const
 
const Double_t & Y () const
 
const Double_t & Z () const
 
const Double_t & Px () const
 
const Double_t & Py () const
 
const Double_t & Pz () const
 
const Double_t & E () const
 
const Double_t & S () const
 
const Int_t & Q () const
 
const Double_t & Chi2 () const
 
const Int_t & NDF () const
 
Double_t GetParameter (int i) const
 
Double_t GetCovariance (int i) const
 
Double_t GetCovariance (int i, int j) const
 
Double_t GetP () const
 
Double_t GetPt () const
 
Double_t GetEta () const
 
Double_t GetPhi () const
 
Double_t GetMomentum () const
 
Double_t GetMass () const
 
Double_t GetDecayLength () const
 
Double_t GetDecayLengthXY () const
 
Double_t GetLifeTime () const
 
Double_t GetR () const
 
Double_t GetErrX () const
 
Double_t GetErrY () const
 
Double_t GetErrZ () const
 
Double_t GetErrPx () const
 
Double_t GetErrPy () const
 
Double_t GetErrPz () const
 
Double_t GetErrE () const
 
Double_t GetErrS () const
 
Double_t GetErrP () const
 
Double_t GetErrPt () const
 
Double_t GetErrEta () const
 
Double_t GetErrPhi () const
 
Double_t GetErrMomentum () const
 
Double_t GetErrMass () const
 
Double_t GetErrDecayLength () const
 
Double_t GetErrDecayLengthXY () const
 
Double_t GetErrLifeTime () const
 
Double_t GetErrR () const
 
int GetP (Double_t &P, Double_t &SigmaP) const
 
int GetPt (Double_t &Pt, Double_t &SigmaPt) const
 
int GetEta (Double_t &Eta, Double_t &SigmaEta) const
 
int GetPhi (Double_t &Phi, Double_t &SigmaPhi) const
 
int GetMomentum (Double_t &P, Double_t &SigmaP) const
 
int GetMass (Double_t &M, Double_t &SigmaM) const
 
int GetDecayLength (Double_t &L, Double_t &SigmaL) const
 
int GetDecayLengthXY (Double_t &L, Double_t &SigmaL) const
 
int GetLifeTime (Double_t &T, Double_t &SigmaT) const
 
int GetR (Double_t &R, Double_t &SigmaR) const
 
Double_t GetRapidity () const
 
Double_t GetTheta () const
 
Double_t & X ()
 
Double_t & Y ()
 
Double_t & Z ()
 
Double_t & Px ()
 
Double_t & Py ()
 
Double_t & Pz ()
 
Double_t & E ()
 
Double_t & S ()
 
Int_t & Q ()
 
Double_t & Chi2 ()
 
Int_t & NDF ()
 
Double_t & Parameter (int i)
 
Double_t & Covariance (int i)
 
Double_t & Covariance (int i, int j)
 
Double_t * Parameters ()
 
Double_t * CovarianceMatrix ()
 
void AddDaughter (const KFParticle &Daughter)
 
void operator+= (const KFParticle &Daughter)
 
void SetProductionVertex (const KFParticle &Vtx)
 
void SetMassConstraint (Double_t Mass, Double_t SigmaMass=0)
 
void SetNoDecayLength ()
 
void Construct (const KFParticle *vDaughters[], int nDaughters, const KFParticle *ProdVtx=nullptr, Double_t Mass=-1, Bool_t IsConstrained=0)
 
void TransportToDecayVertex ()
 
void TransportToProductionVertex ()
 
void TransportToPoint (const Double_t xyz[])
 
void TransportToVertex (const KFPVertex &v)
 
void TransportToParticle (const KFParticle &p)
 
void TransportToDS (Double_t dS)
 
Double_t GetDStoPoint (const Double_t xyz[]) const
 
void GetDStoParticle (const KFParticle &p, Double_t &DS, Double_t &DSp) const
 
void GetDStoParticleXY (const KFParticleBase &p, Double_t &DS, Double_t &DSp) const
 
Double_t GetDistanceFromVertex (const Double_t vtx[]) const
 
Double_t GetDistanceFromVertex (const KFParticle &Vtx) const
 
Double_t GetDistanceFromVertex (const KFPVertex &Vtx) const
 
Double_t GetDistanceFromParticle (const KFParticle &p) const
 
Double_t GetDeviationFromVertex (const Double_t v[], const Double_t Cv[]=0) const
 
Double_t GetDeviationFromVertex (const KFParticle &Vtx) const
 
Double_t GetDeviationFromVertex (const KFPVertex &Vtx) const
 
Double_t GetDeviationFromParticle (const KFParticle &p) const
 
Bool_t GetDistanceFromVertexXY (const Double_t vtx[], Double_t &val, Double_t &err) const
 
Bool_t GetDistanceFromVertexXY (const Double_t vtx[], const Double_t Cv[], Double_t &val, Double_t &err) const
 
Bool_t GetDistanceFromVertexXY (const KFParticle &Vtx, Double_t &val, Double_t &err) const
 
Bool_t GetDistanceFromVertexXY (const KFPVertex &Vtx, Double_t &val, Double_t &err) const
 
Double_t GetDistanceFromVertexXY (const Double_t vtx[]) const
 
Double_t GetDistanceFromVertexXY (const KFParticle &Vtx) const
 
Double_t GetDistanceFromVertexXY (const KFPVertex &Vtx) const
 
Double_t GetDistanceFromParticleXY (const KFParticle &p) const
 
Double_t GetDeviationFromVertexXY (const Double_t v[], const Double_t Cv[]=0) const
 
Double_t GetDeviationFromVertexXY (const KFParticle &Vtx) const
 
Double_t GetDeviationFromVertexXY (const KFPVertex &Vtx) const
 
Double_t GetDeviationFromParticleXY (const KFParticle &p) const
 
Double_t GetAngle (const KFParticle &p) const
 
Double_t GetAngleXY (const KFParticle &p) const
 
Double_t GetAngleRZ (const KFParticle &p) const
 
void SubtractFromVertex (KFParticle &v) const
 
void ConstructGamma (const KFParticle &daughter1, const KFParticle &daughter2)
 
Double_t GetPseudoProperDecayTime (const KFParticle &primVertex, const Double_t &mass, Double_t *timeErr2=0) const
 
void GetFieldValue (const Double_t xyz[], Double_t B[]) const
 
- Public Member Functions inherited from KFParticleBase
 KFParticleBase ()
 
virtual ~KFParticleBase ()
 
void Initialize (const Double_t Param[], const Double_t Cov[], Int_t Charge, Double_t Mass)
 
void Initialize ()
 
void SetVtxGuess (Double_t x, Double_t y, Double_t z)
 
void SetConstructMethod (Int_t m)
 
void SetMassHypo (Double_t m)
 
const Double_t & GetMassHypo () const
 
const Double_t & GetSumDaughterMass () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetE () const
 
Double_t GetS () const
 
Int_t GetQ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
const Double_t & X () const
 
const Double_t & Y () const
 
const Double_t & Z () const
 
const Double_t & Px () const
 
const Double_t & Py () const
 
const Double_t & Pz () const
 
const Double_t & E () const
 
const Double_t & S () const
 
const Int_t & Q () const
 
const Double_t & Chi2 () const
 
const Int_t & NDF () const
 
Double_t GetParameter (Int_t i) const
 
Double_t GetCovariance (Int_t i) const
 
Double_t GetCovariance (Int_t i, Int_t j) const
 
Int_t GetMomentum (Double_t &P, Double_t &SigmaP) const
 
Int_t GetPt (Double_t &Pt, Double_t &SigmaPt) const
 
Int_t GetEta (Double_t &Eta, Double_t &SigmaEta) const
 
Int_t GetPhi (Double_t &Phi, Double_t &SigmaPhi) const
 
Int_t GetMass (Double_t &M, Double_t &SigmaM) const
 
Int_t GetDecayLength (Double_t &L, Double_t &SigmaL) const
 
Int_t GetDecayLengthXY (Double_t &L, Double_t &SigmaL) const
 
Int_t GetLifeTime (Double_t &T, Double_t &SigmaT) const
 
Int_t GetR (Double_t &R, Double_t &SigmaR) const
 
Double_t & X ()
 
Double_t & Y ()
 
Double_t & Z ()
 
Double_t & Px ()
 
Double_t & Py ()
 
Double_t & Pz ()
 
Double_t & E ()
 
Double_t & S ()
 
Int_t & Q ()
 
Double_t & Chi2 ()
 
Int_t & NDF ()
 
Double_t & Parameter (Int_t i)
 
Double_t & Covariance (Int_t i)
 
Double_t & Covariance (Int_t i, Int_t j)
 
void operator+= (const KFParticleBase &Daughter)
 
void AddDaughter (const KFParticleBase &Daughter)
 
void AddDaughterWithEnergyFit (const KFParticleBase &Daughter)
 
void AddDaughterWithEnergyCalc (const KFParticleBase &Daughter)
 
void AddDaughterWithEnergyFitMC (const KFParticleBase &Daughter)
 
void SetProductionVertex (const KFParticleBase &Vtx)
 
void SetNonlinearMassConstraint (Double_t Mass)
 
void SetMassConstraint (Double_t Mass, Double_t SigmaMass=0)
 
void SetNoDecayLength ()
 
void Construct (const KFParticleBase *vDaughters[], Int_t nDaughters, const KFParticleBase *ProdVtx=nullptr, Double_t Mass=-1, Bool_t IsConstrained=0)
 
void TransportToDecayVertex ()
 
void TransportToProductionVertex ()
 
void TransportToDS (Double_t dS)
 
Double_t GetDStoPointBz (Double_t Bz, const Double_t xyz[]) const
 
Double_t GetDStoPointBy (Double_t By, const Double_t xyz[]) const
 
void GetDStoParticleBz (Double_t Bz, const KFParticleBase &p, Double_t &dS, Double_t &dS1) const
 
void GetDStoParticleBy (Double_t B, const KFParticleBase &p, Double_t &dS, Double_t &dS1) const
 
Double_t GetDStoPointCBM (const Double_t xyz[]) const
 
void GetDStoParticleCBM (const KFParticleBase &p, Double_t &dS, Double_t &dS1) const
 
void TransportBz (Double_t Bz, Double_t dS, Double_t P[], Double_t C[]) const
 
void TransportCBM (Double_t dS, Double_t P[], Double_t C[]) const
 
Double_t GetDistanceFromVertex (const Double_t vtx[]) const
 
Double_t GetDistanceFromVertex (const KFParticleBase &Vtx) const
 
Double_t GetDistanceFromParticle (const KFParticleBase &p) const
 
Double_t GetDeviationFromVertex (const Double_t v[], const Double_t Cv[]=0) const
 
Double_t GetDeviationFromVertex (const KFParticleBase &Vtx) const
 
Double_t GetDeviationFromParticle (const KFParticleBase &p) const
 
void SubtractFromVertex (KFParticleBase &Vtx) const
 
void ConstructGammaBz (const KFParticleBase &daughter1, const KFParticleBase &daughter2, double Bz)
 
void RotateXY (Double_t angle, Double_t Vtx[3])
 
int Id () const
 
int NDaughters () const
 
const std::vector< int > & DaughterIds () const
 
void SetId (int id)
 
void AddDaughterId (int id)
 
void SetPDG (int pdg)
 
int GetPDG () const
 

Protected Attributes

Bool_t fIsConstrained
 
- Protected Attributes inherited from KFParticleBase
Double_t fP [8]
 
Double_t fC [36]
 
Int_t fQ
 
Int_t fNDF
 
Double_t fChi2
 
Double_t fSFromDecay
 
Bool_t fAtProductionVertex
 
Double_t fVtxGuess [3]
 
Bool_t fIsLinearized
 
Int_t fConstructMethod
 
Double_t SumDaughterMass
 
Double_t fMassHypo
 
int fId
 
std::vector< int > fDaughtersIds
 
int fPDG
 

Additional Inherited Members

- Static Public Member Functions inherited from KFParticle
static void SetField (Double_t Bz)
 
- Static Public Member Functions inherited from KFParticleBase
static void GetArmenterosPodolanski (KFParticleBase &positive, KFParticleBase &negative, Double_t QtAlfa[2])
 
- Protected Member Functions inherited from KFParticle
void GetDStoParticle (const KFParticleBase &p, Double_t &DS, Double_t &DSp) const
 
void Transport (Double_t dS, Double_t P[], Double_t C[]) const
 
- Protected Member Functions inherited from KFParticleBase
Double_t & Cij (Int_t i, Int_t j)
 
void Convert (bool ToProduction)
 
void TransportLine (Double_t S, Double_t P[], Double_t C[]) const
 
Double_t GetDStoPointLine (const Double_t xyz[]) const
 
void GetDStoParticleLine (const KFParticleBase &p, Double_t &dS, Double_t &dS1) const
 
void GetDSIter (const KFParticleBase &p, Double_t const &dS, Double_t x[3], Double_t dx[3], Double_t ddx[3]) const
 
void GetMeasurement (const Double_t XYZ[], Double_t m[], Double_t V[]) const
 
void SetMassConstraint (Double_t *mP, Double_t *mC, Double_t mJ[7][7], Double_t mass)
 
- Static Protected Member Functions inherited from KFParticle
static Double_t GetFieldAlice ()
 
static void GetExternalTrackParam (const KFParticleBase &p, Double_t &X, Double_t &Alpha, Double_t P[5])
 
- Static Protected Member Functions inherited from KFParticleBase
static Int_t IJ (Int_t i, Int_t j)
 
static Bool_t InvertSym3 (const Double_t A[], Double_t Ainv[])
 
static void MultQSQt (const Double_t Q[], const Double_t S[], Double_t SOut[])
 
static Double_t GetSCorrection (const Double_t Part[], const Double_t XYZ[])
 

Detailed Description

Definition at line 24 of file KFVertex.h.

Constructor & Destructor Documentation

◆ KFVertex() [1/2]

KFVertex::KFVertex ( )
inline

Definition at line 33 of file KFVertex.h.

Referenced by ~KFVertex().

33 : KFParticle(), fIsConstrained(0) {}
Bool_t fIsConstrained
Definition: KFVertex.h:79

◆ ~KFVertex()

KFVertex::~KFVertex ( )
inline

Definition at line 37 of file KFVertex.h.

References KFVertex().

37 {}

◆ KFVertex() [2/2]

KFVertex::KFVertex ( const KFPVertex vertex)

Member Function Documentation

◆ ConstructPrimaryVertex()

void KFVertex::ConstructPrimaryVertex ( const KFParticle vDaughters[],
int  NDaughters,
Bool_t  vtxFlag[],
float  ChiCut = 3.5 
)

Referenced by GetNContributors().

◆ GetNContributors()

Int_t KFVertex::GetNContributors ( ) const
inline

◆ operator+=()

void KFVertex::operator+= ( const KFParticle Daughter)
inline

Definition at line 88 of file KFVertex.h.

References KFParticle::operator+=().

Referenced by GetNContributors().

89 {
90  KFParticle::operator+=(Daughter);
91 }
void operator+=(const KFParticle &Daughter)
Definition: KFParticle.h:844

◆ operator-()

KFVertex KFVertex::operator- ( const KFParticle Daughter) const
inline

Definition at line 98 of file KFVertex.h.

References KFParticle::SubtractFromVertex().

Referenced by GetNContributors().

99 {
100  KFVertex tmp = *this;
101  Daughter.SubtractFromVertex(tmp);
102  return tmp;
103 }
void SubtractFromVertex(KFParticle &v) const
Definition: KFParticle.h:961

◆ operator-=()

void KFVertex::operator-= ( const KFParticle Daughter)
inline

Definition at line 93 of file KFVertex.h.

References KFParticle::SubtractFromVertex().

Referenced by GetNContributors().

94 {
95  Daughter.SubtractFromVertex(*this);
96 }
void SubtractFromVertex(KFParticle &v) const
Definition: KFParticle.h:961

◆ SetBeamConstraint()

void KFVertex::SetBeamConstraint ( float  X,
float  Y,
float  Z,
float  ErrX,
float  ErrY,
float  ErrZ 
)

Referenced by GetNContributors().

◆ SetBeamConstraintOff()

void KFVertex::SetBeamConstraintOff ( )

Referenced by GetNContributors().

Member Data Documentation

◆ fIsConstrained

Bool_t KFVertex::fIsConstrained
protected

Definition at line 79 of file KFVertex.h.

Referenced by GetNContributors().


The documentation for this class was generated from the following file: