|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <CbmKFParticleInterface.h>
Static Public Member Functions | |
| static void | FindParticles (vector< CbmKFTrack > &vRTracks, vector< float > &ChiToPrimVtx, vector< L1FieldRegion > &vField, vector< CbmKFParticle > &Particles, CbmKFVertex &PrimVtx, const vector< int > &vTrackPDG, const float cuts[2][3]=DefaultCuts) |
| Find particles with 2-body decay channel from input tracks vRTracks with primary vertex PrimVtx: | |
| static void | ExtrapolateToPV (vector< CbmKFParticle > &vParticles, CbmKFVertex &PrimVtx) |
| static fvec | GetChi2BetweenParticles (CbmKFParticle_simd &p1, CbmKFParticle_simd &p2) |
| static void | Find2DaughterDecay (vector< CbmKFTrack > &vTracks, const vector< L1FieldRegion > &vField, vector< CbmKFParticle > &Particles, const int DaughterNegPDG, const int DaughterPosPDG, const int MotherPDG, vector< short > &idNeg, vector< short > &idPos, CbmKFVertex &PrimVtx, const float *cuts=0, bool isPrimary=0, vector< float > *vMotherTopoChi2Ndf=0, const float *secCuts=0, const float massMotherPDG=0, const float massMotherPDGSigma=0, vector< CbmKFParticle > *vMotherPrim=0, vector< CbmKFParticle > *vMotherSec=0) |
| static void | Find2DaughterDecay (vector< CbmKFTrack > &vTracks, const vector< L1FieldRegion > &vField, vector< CbmKFParticle > &Particles, const int DaughterNegPDG, const int DaughterPosPDG, const int MotherPDG, vector< short > &idNeg, vector< short > &idPos, CbmKFVertex &PrimVtx, const float *cuts, bool isPrimary, const float PtCut, const float Chi2PrimCut=-100.f, vector< float > *ChiToPrimVtx=0, const float *PCut=0) |
| static void | FindTrackV0Decay (const int MotherPDG, vector< CbmKFParticle > &Particles, vector< CbmKFParticle > &vV0, vector< CbmKFTrack > &vTracks, const vector< L1FieldRegion > &field, const int DaughterPDG, vector< short > &idTrack, CbmKFVertex &PrimVtx, const float *cuts=0, bool isPrimary=0, vector< float > *ChiToPrimVtx=0, vector< CbmKFParticle > *vHyperonPrim=0, float hyperonPrimMass=0, float hyperonPrimMassErr=0, vector< CbmKFParticle > *vHyperonSec=0) |
| static void | FindHyperons (int PDG, CbmKFParticle_simd vDaughters[2], vector< int > &daughterIds, vector< CbmKFParticle > &vLambdaSec, vector< CbmKFParticle > &vHyperon, CbmKFVertex &PrimVtx, const float *cuts=0, int startIndex=0) |
| static void | FindDMesLambdac (vector< CbmKFTrack > &vTracks, const vector< L1FieldRegion > &vField, vector< CbmKFParticle > &Particles, const int DaughterPDG[5], const int MotherPDG[8], vector< short > *idTrack[5], CbmKFVertex &PrimVtx, const float cuts[8][8], vector< float > ChiToPrimVtx) |
| static void | CombineTrackPart (vector< CbmKFTrack > &vTracks, const vector< L1FieldRegion > &vField, vector< CbmKFParticle > &Particles, CbmKFParticle &part, const int DaughterPDG, const int MotherPDG, vector< short > &id, const float *cuts, const unsigned short startIndex=0, const bool IsSamePart=0) |
| static void | SelectParticleCandidates (vector< CbmKFParticle > &Particles, vector< CbmKFParticle > &vCandidates, CbmKFVertex &PrimVtx, const float cuts[5]) |
| static Int_t | IJ (Int_t i, Int_t j) |
Public Attributes | |
| CbmKFParticle_simd | KFPart |
Protected Member Functions | |
| fvec & | Cij (Int_t i, Int_t j) |
Static Private Attributes | |
| static const float | DefaultCuts [2][3] = {{3., 3., -100.}, {3., 3., -100.}} |
Definition at line 15 of file CbmKFParticleInterface.h.
| CbmKFParticleInterface::CbmKFParticleInterface | ( | ) |
Definition at line 15 of file CbmKFParticleInterface.cxx.
References KFPart.
Referenced by CbmKFParticleInterface(), CombineTrackPart(), ExtrapolateToPV(), Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), operator=(), and SelectParticleCandidates().
| CbmKFParticleInterface::CbmKFParticleInterface | ( | CbmKFTrackInterface * | Track[] | ) |
Definition at line 19 of file CbmKFParticleInterface.cxx.
References KFPart.
| CbmKFParticleInterface::CbmKFParticleInterface | ( | CbmKFParticle * | part[], |
| const int | nPart = 0 ) |
Definition at line 25 of file CbmKFParticleInterface.cxx.
References KFPart.
| CbmKFParticleInterface::~CbmKFParticleInterface | ( | ) |
Definition at line 31 of file CbmKFParticleInterface.cxx.
| CbmKFParticleInterface::CbmKFParticleInterface | ( | const CbmKFParticleInterface & | c | ) |
Definition at line 33 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), and KFPart.
Definition at line 245 of file CbmKFParticleInterface.h.
Referenced by MeasureMass().
|
static |
Definition at line 2011 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), CbmKFParticle::AddDaughter(), CbmKFParticle::CleanDaughtersId(), Construct(), CbmKFParticle_simd::Create(), CbmKFParticle::DaughterIds(), fvecLen, GetChi2(), CbmKFParticle::GetCovMatrix(), GetKFParticle(), GetNDF(), CbmKFParticle::GetX(), CbmKFParticle::GetY(), CbmKFParticle::GetZ(), CbmKFParticle_simd::SetField(), CbmKFParticle_simd::SetId(), L1FieldRegion::SetOneEntry(), SetPDG(), SetVtxErrGuess(), and SetVtxGuess().
Referenced by FindDMesLambdac(), and FindParticles().
| void CbmKFParticleInterface::Construct | ( | CbmKFParticle_simd | vDaughters[], |
| int | NDaughters, | ||
| CbmKFVertexInterface * | Parent = 0, | ||
| float | Mass = -1, | ||
| float | CutChi2 = -1, | ||
| bool | isAtVtxGuess = 0 ) |
| void CbmKFParticleInterface::Construct | ( | CbmKFTrackInterface * | vDaughters[][fvecLen], |
| int | NDaughters, | ||
| CbmKFVertexInterface * | Parent = 0, | ||
| float | Mass = -1, | ||
| float | CutChi2 = -1 ) |
Definition at line 45 of file CbmKFParticleInterface.cxx.
References Construct(), and fvecLen.
Referenced by CombineTrackPart(), Construct(), Find2DaughterDecay(), FindHyperons(), and FindTrackV0Decay().
| void CbmKFParticleInterface::ConstructPVT | ( | vector< CbmKFTrack > & | vRTracks | ) |
Definition at line 2124 of file CbmKFParticleInterface.cxx.
| void CbmKFParticleInterface::Convert | ( | CbmKFParticle_simd * | Particle, |
| fvec | r0[], | ||
| bool | ToProduction ) |
Definition at line 641 of file CbmKFParticleInterface.cxx.
References CbmKFParticle_simd::GetCovMatrix(), KFPart, L1FieldValue::x, L1FieldValue::y, and L1FieldValue::z.
Referenced by MeasureProductionVertex(), TransportToDecayVertex(), and TransportToProductionVertex().
| void CbmKFParticleInterface::Extrapolate | ( | CbmKFParticle_simd * | Particle, |
| fvec | r0[], | ||
| fvec | T ) |
Definition at line 762 of file CbmKFParticleInterface.cxx.
References ExtrapolateLine(), CbmKFParticle_simd::fField, L1FieldRegion::Get(), CbmKFParticle_simd::GetCovMatrix(), CbmKFParticle_simd::GetParameters(), m, multQSQt1(), n, L1FieldValue::x, L1FieldValue::y, and L1FieldValue::z.
Referenced by Extrapolate(), ExtrapolateToPV(), MeasureProductionVertex(), TransportToDecayVertex(), and TransportToProductionVertex().
Definition at line 1020 of file CbmKFParticleInterface.cxx.
References Extrapolate(), and KFPart.
| void CbmKFParticleInterface::ExtrapolateLine | ( | CbmKFParticle_simd * | Particle, |
| fvec | r0[], | ||
| fvec | T ) |
Definition at line 713 of file CbmKFParticleInterface.cxx.
References CbmKFParticle_simd::GetCovMatrix(), and CbmKFParticle_simd::GetParameters().
Referenced by Extrapolate().
|
static |
Definition at line 1524 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), Extrapolate(), fvecLen, GetDStoPoint(), GetKFParticle(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), KFPart, and CbmKFParticle_simd::r.
Referenced by FindParticles().
|
static |
Definition at line 1715 of file CbmKFParticleInterface.cxx.
References fabs(), Find2DaughterDecay(), and CbmKFTrack::GetTrack().
|
static |
Definition at line 1573 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), Construct(), fabs(), fvecLen, GetChi2(), CbmKFVertex::GetCovMatrix(), GetKFParticle(), CbmKFParticle::GetMass(), GetNDF(), GetParameters(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), CbmKFParticle::GetZ(), GetZ(), KFPart, MeasureProductionVertex(), CbmKFParticle_simd::SetField(), CbmKFParticle::SetId(), CbmKFParticle_simd::SetId(), L1FieldRegion::SetOneEntry(), SetPDG(), SetVtxErrGuess(), and SetVtxGuess().
Referenced by Find2DaughterDecay(), FindDMesLambdac(), and FindParticles().
|
static |
Definition at line 1938 of file CbmKFParticleInterface.cxx.
References CombineTrackPart(), fabs(), Find2DaughterDecay(), CbmKFTrack::GetTrack(), and SelectParticleCandidates().
Referenced by FindParticles().
|
static |
Definition at line 1879 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), Construct(), CbmKFParticle_simd::Create(), CbmKFParticle::DaughterIds(), fvecLen, GetChi2(), GetKFParticle(), GetNDF(), GetParameters(), CbmKFParticle::GetZ(), GetZ(), KFPart, MeasureProductionVertex(), and SetPDG().
Referenced by FindParticles().
|
static |
Definition at line 1207 of file CbmKFParticleInterface.cxx.
References CombineTrackPart(), ExtrapolateToPV(), Find2DaughterDecay(), FindDMesLambdac(), FindHyperons(), FindTrackV0Decay(), CbmKFTrack::GetCovMatrix(), CbmKFTrack::GetRefChi2(), CbmKFTrack::GetRefNDF(), CbmKFTrack::GetTrack(), CbmKFParticle::SetId(), CbmKFTrackInterface::SetId(), and CbmKFParticle::SetPDG().
|
static |
Definition at line 1772 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), Construct(), CbmKFParticle_simd::Create(), fabs(), fvecLen, GetChi2(), CbmKFVertex::GetCovMatrix(), GetKFParticle(), CbmKFParticle::GetMass(), GetNDF(), GetParameters(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), GetZ(), KFPart, MeasureProductionVertex(), CbmKFParticle_simd::SetField(), CbmKFParticle::SetId(), CbmKFParticle_simd::SetId(), L1FieldRegion::SetOneEntry(), SetPDG(), SetVtxErrGuess(), and SetVtxGuess().
Referenced by FindParticles().
|
inline |
Definition at line 66 of file CbmKFParticleInterface.h.
References KFPart.
Referenced by CombineTrackPart(), Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and SelectParticleCandidates().
|
static |
Definition at line 1545 of file CbmKFParticleInterface.cxx.
References CbmKFParticle_simd::GetCovariance(), CbmKFParticle_simd::GetX(), CbmKFParticle_simd::GetY(), and CbmKFParticle_simd::GetZ().
Definition at line 73 of file CbmKFParticleInterface.h.
Definition at line 74 of file CbmKFParticleInterface.h.
References i, IJ(), and KFPart.
|
inline |
Definition at line 70 of file CbmKFParticleInterface.h.
References KFPart.
| fvec CbmKFParticleInterface::GetDStoPoint | ( | const CbmKFParticle_simd & | Particle, |
| const fvec | xyz[] ) const |
Definition at line 1049 of file CbmKFParticleInterface.cxx.
References CbmKFParticle_simd::GetParameters().
Referenced by ExtrapolateToPV(), and GetDStoPoint().
Definition at line 1095 of file CbmKFParticleInterface.cxx.
References GetDStoPoint(), and KFPart.
|
inline |
Definition at line 63 of file CbmKFParticleInterface.h.
References KFPart.
| void CbmKFParticleInterface::GetKFParticle | ( | CbmKFParticle & | Part, |
| int | iPart = 0 ) |
Definition at line 1147 of file CbmKFParticleInterface.cxx.
References CbmKFParticle::AddDaughter(), CbmKFParticle::AtProductionVertex, CbmKFParticle::Chi2, CbmKFParticle::CleanDaughtersId(), CbmKFParticle::fieldRegion, CbmKFParticle::GetCovMatrix(), CbmKFParticle::GetParameters(), i, KFPart, CbmKFParticle::NDF, CbmKFParticle::Q, CbmKFParticle::SetId(), CbmKFParticle::SetNDaughters(), and CbmKFParticle::SetPDG().
Referenced by CombineTrackPart(), ExtrapolateToPV(), Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and GetKFParticle().
| void CbmKFParticleInterface::GetKFParticle | ( | CbmKFParticle * | Part, |
| int | nPart = 0 ) |
Definition at line 1180 of file CbmKFParticleInterface.cxx.
References GetKFParticle(), and i.
| void CbmKFParticleInterface::GetKFVertex | ( | CbmKFVertex * | vtx | ) |
Definition at line 1100 of file CbmKFParticleInterface.cxx.
References fvecLen, GetKFVertexJ(), i, and KFPart.
| CbmKFVertex CbmKFParticleInterface::GetKFVertexJ | ( | int | j | ) |
Definition at line 1122 of file CbmKFParticleInterface.cxx.
References CbmKFVertex::GetCovMatrix(), CbmKFVertex::GetRefChi2(), CbmKFVertex::GetRefNDF(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), i, and KFPart.
Referenced by GetKFVertex().
| void CbmKFParticleInterface::GetKFVertexJ | ( | int | j, |
| CbmKFVertex * | vtx ) |
Definition at line 1136 of file CbmKFParticleInterface.cxx.
References CbmKFVertex::GetCovMatrix(), CbmKFVertex::GetRefChi2(), CbmKFVertex::GetRefNDF(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), i, and KFPart.
Definition at line 1201 of file CbmKFParticleInterface.cxx.
References KFPart.
Definition at line 1196 of file CbmKFParticleInterface.cxx.
References KFPart.
|
inline |
Definition at line 67 of file CbmKFParticleInterface.h.
References KFPart.
Referenced by CombineTrackPart(), Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and SelectParticleCandidates().
Definition at line 72 of file CbmKFParticleInterface.h.
|
inline |
Definition at line 68 of file CbmKFParticleInterface.h.
References KFPart.
Referenced by Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and SelectParticleCandidates().
|
inline |
Definition at line 69 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 117 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 60 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 61 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 62 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 65 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 64 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 99 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 100 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 57 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 58 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 59 of file CbmKFParticleInterface.h.
References KFPart.
Referenced by Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and SelectParticleCandidates().
Definition at line 248 of file CbmKFParticleInterface.h.
References i.
Referenced by GetCovariance(), multQSQt(), and rCovariance().
| void CbmKFParticleInterface::MeasureMass | ( | CbmKFParticle_simd * | Particle, |
| fvec | r0[], | ||
| fvec | Mass ) |
Definition at line 449 of file CbmKFParticleInterface.cxx.
References Cij(), CbmKFParticle_simd::GetCovMatrix(), CbmKFParticle_simd::GetParameters(), i, and rcp().
| void CbmKFParticleInterface::MeasureProductionVertex | ( | CbmKFParticle_simd * | Particle, |
| fvec | r0[], | ||
| CbmKFVertexInterface * | Parent ) |
Definition at line 489 of file CbmKFParticleInterface.cxx.
References Convert(), Extrapolate(), CbmKFParticle_simd::GetCovMatrix(), CbmKFVertexInterface::GetCovMatrix(), CbmKFParticle_simd::GetParameters(), CbmKFVertexInterface::GetRefX(), CbmKFVertexInterface::GetRefY(), CbmKFVertexInterface::GetRefZ(), i, m, and z.
Referenced by Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), and SelectParticleCandidates().
Definition at line 901 of file CbmKFParticleInterface.cxx.
Definition at line 920 of file CbmKFParticleInterface.cxx.
Referenced by Extrapolate().
| CbmKFParticleInterface CbmKFParticleInterface::operator= | ( | const CbmKFParticleInterface & | c | ) |
Definition at line 39 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), and KFPart.
|
inline |
Definition at line 89 of file CbmKFParticleInterface.h.
References KFPart.
Definition at line 93 of file CbmKFParticleInterface.h.
Definition at line 94 of file CbmKFParticleInterface.h.
References i, IJ(), and KFPart.
|
inline |
Definition at line 86 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 90 of file CbmKFParticleInterface.h.
References KFPart.
Definition at line 92 of file CbmKFParticleInterface.h.
|
inline |
Definition at line 83 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 84 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 85 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 88 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 87 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 80 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 81 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 82 of file CbmKFParticleInterface.h.
References KFPart.
|
static |
Definition at line 2087 of file CbmKFParticleInterface.cxx.
References CbmKFParticleInterface(), fvecLen, GetChi2(), GetNDF(), GetParameters(), GetZ(), KFPart, and MeasureProductionVertex().
Referenced by FindDMesLambdac().
|
inline |
Definition at line 26 of file CbmKFParticleInterface.h.
References KFPart.
|
inline |
Definition at line 116 of file CbmKFParticleInterface.h.
References KFPart.
Referenced by CombineTrackPart(), Find2DaughterDecay(), FindHyperons(), and FindTrackV0Decay().
Definition at line 1191 of file CbmKFParticleInterface.cxx.
References KFPart.
Referenced by CombineTrackPart(), Find2DaughterDecay(), and FindTrackV0Decay().
Definition at line 1186 of file CbmKFParticleInterface.cxx.
References KFPart, x, y, and z.
Referenced by CombineTrackPart(), Find2DaughterDecay(), and FindTrackV0Decay().
| void CbmKFParticleInterface::TransportToDecayVertex | ( | ) |
Definition at line 1037 of file CbmKFParticleInterface.cxx.
References Convert(), Extrapolate(), i, and KFPart.
| void CbmKFParticleInterface::TransportToProductionVertex | ( | ) |
Definition at line 1025 of file CbmKFParticleInterface.cxx.
References Convert(), Extrapolate(), i, and KFPart.
|
staticprivate |
Definition at line 13 of file CbmKFParticleInterface.h.
| CbmKFParticle_simd CbmKFParticleInterface::KFPart |
Definition at line 251 of file CbmKFParticleInterface.h.
Referenced by CbmKFParticleInterface(), CbmKFParticleInterface(), CbmKFParticleInterface(), CbmKFParticleInterface(), Cij(), Convert(), Extrapolate(), ExtrapolateToPV(), Find2DaughterDecay(), FindHyperons(), FindTrackV0Decay(), GetChi2(), GetCovariance(), GetCovariance(), GetCovMatrix(), GetDStoPoint(), GetE(), GetKFParticle(), GetKFVertex(), GetKFVertexJ(), GetKFVertexJ(), GetMass(), GetMomentum(), GetNDF(), GetParameter(), GetParameters(), GetParameters(), GetPDG(), GetPx(), GetPy(), GetPz(), GetQ(), GetS(), GetTx(), GetTy(), GetX(), GetY(), GetZ(), operator=(), rChi2(), rCovariance(), rCovariance(), rE(), rNDF(), rParameter(), rPx(), rPy(), rPz(), rQ(), rS(), rX(), rY(), rZ(), SelectParticleCandidates(), SetField(), SetPDG(), SetVtxErrGuess(), SetVtxGuess(), TransportToDecayVertex(), and TransportToProductionVertex().