BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnPairFinder Class Reference

#include <BmnPairFinder.h>

Inheritance diagram for BmnPairFinder:
Collaboration diagram for BmnPairFinder:

Public Member Functions

 BmnPairFinder (TParticlePDG *particle=TDatabasePDG::Instance() ->GetParticle("Lambda0"))
virtual ~BmnPairFinder ()
virtual void Exec (Option_t *option)
virtual InitStatus Init ()
virtual void Finish ()
 BmnPairFinder (TParticlePDG *particle=TDatabasePDG::Instance() ->GetParticle("Lambda0"))
virtual ~BmnPairFinder ()
virtual void Exec (Option_t *option)
virtual InitStatus Init ()
virtual void Finish ()

Private Member Functions

Double_t FindV0ByVirtualPlanes (BmnGlobalTrack *track1, BmnGlobalTrack *track2, Double_t z_0, Double_t range)
Double_t FindInvMass (FairTrackParam pi_plus_meson_V0, FairTrackParam pi_minus_meson_V0)
Double_t GetPath (Double_t vPx, Double_t vPy, Double_t vPz, Double_t v0x, Double_t v0y, Double_t v0z)
Double_t FindDCA0 (FairTrackParam pi_plus_meson_V0, FairTrackParam pi_minus_meson_V0, Double_t vPx, Double_t vPy, Double_t vPz, Double_t v0x, Double_t v0y, Double_t v0z)
Double_t FindEta (FairTrackParam pi_plus_meson_V0)
Double_t FindAngleDecayProducts (FairTrackParam proton_V0, FairTrackParam pi_minus_meson_V0)
Double_t FindV0ByVirtualPlanes (BmnGlobalTrack *track1, BmnGlobalTrack *track2, Double_t z_0, Double_t range)
Double_t FindInvMass (FairTrackParam pi_plus_meson_V0, FairTrackParam pi_minus_meson_V0)
Double_t GetPath (Double_t vPx, Double_t vPy, Double_t vPz, Double_t v0x, Double_t v0y, Double_t v0z)
Double_t FindDCA0 (FairTrackParam pi_plus_meson_V0, FairTrackParam pi_minus_meson_V0, Double_t vPx, Double_t vPy, Double_t vPz, Double_t v0x, Double_t v0y, Double_t v0z)
Double_t FindEta (FairTrackParam pi_plus_meson_V0)
Double_t FindAngleDecayProducts (FairTrackParam proton_V0, FairTrackParam pi_minus_meson_V0)

Private Attributes

BmnKalmanFilter * fKalman
DstEventHeader * fDstHeader
TClonesArray * fStsTracks
CbmVertex * fVertex
TClonesArray * fParticlePair
Int_t fRunId
Int_t evNumber
unique_ptr< TParticlePDG > fParticle
unique_ptr< TParticlePDG > fDecayFirstParticle
unique_ptr< TParticlePDG > fDecaySecondParticle
Double_t lowV0Z

Detailed Description

Definition at line 48 of file BmnPairFinder.h.

Constructor & Destructor Documentation

◆ BmnPairFinder() [1/2]

BmnPairFinder::BmnPairFinder ( TParticlePDG * particle = TDatabasePDG::Instance()->GetParticle("Lambda0"))

Definition at line 33 of file BmnPairFinder.cxx.

References evNumber, fDstHeader, fKalman, fParticle, fParticlePair, fRunId, and fVertex.

Referenced by Finish().

Here is the caller graph for this function:

◆ ~BmnPairFinder() [1/2]

BmnPairFinder::~BmnPairFinder ( )
virtual

Definition at line 45 of file BmnPairFinder.cxx.

◆ BmnPairFinder() [2/2]

BmnPairFinder::BmnPairFinder ( TParticlePDG * particle = TDatabasePDG::Instance() ->GetParticle("Lambda0"))

References TDatabasePDG::Instance().

Here is the call graph for this function:

◆ ~BmnPairFinder() [2/2]

virtual BmnPairFinder::~BmnPairFinder ( )
virtual

Member Function Documentation

◆ Exec() [1/2]

◆ Exec() [2/2]

virtual void BmnPairFinder::Exec ( Option_t * option)
virtual

◆ FindAngleDecayProducts() [1/2]

Double_t BmnPairFinder::FindAngleDecayProducts ( FairTrackParam proton_V0,
FairTrackParam pi_minus_meson_V0 )
private

Definition at line 382 of file BmnPairFinder.cxx.

References TMath::ACos(), TVector3::Dot(), TVector3::Mag(), TMath::Pi(), TVector3::SetX(), TVector3::SetY(), TVector3::SetZ(), and TMath::Sqrt().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindAngleDecayProducts() [2/2]

Double_t BmnPairFinder::FindAngleDecayProducts ( FairTrackParam proton_V0,
FairTrackParam pi_minus_meson_V0 )
private

◆ FindDCA0() [1/2]

Double_t BmnPairFinder::FindDCA0 ( FairTrackParam pi_plus_meson_V0,
FairTrackParam pi_minus_meson_V0,
Double_t vPx,
Double_t vPy,
Double_t vPz,
Double_t v0x,
Double_t v0y,
Double_t v0z )
private

Definition at line 326 of file BmnPairFinder.cxx.

References TMath::Abs(), TMath::Sq(), TMath::Sqrt(), TVector3::X(), TVector3::Y(), and TVector3::Z().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindDCA0() [2/2]

Double_t BmnPairFinder::FindDCA0 ( FairTrackParam pi_plus_meson_V0,
FairTrackParam pi_minus_meson_V0,
Double_t vPx,
Double_t vPy,
Double_t vPz,
Double_t v0x,
Double_t v0y,
Double_t v0z )
private

◆ FindEta() [1/2]

Double_t BmnPairFinder::FindEta ( FairTrackParam pi_plus_meson_V0)
private

Definition at line 369 of file BmnPairFinder.cxx.

References TMath::Abs(), TMath::Log(), and TMath::Sqrt().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindEta() [2/2]

Double_t BmnPairFinder::FindEta ( FairTrackParam pi_plus_meson_V0)
private

◆ FindInvMass() [1/2]

Double_t BmnPairFinder::FindInvMass ( FairTrackParam pi_plus_meson_V0,
FairTrackParam pi_minus_meson_V0 )
private

Definition at line 289 of file BmnPairFinder.cxx.

References fDecayFirstParticle, fDecaySecondParticle, TLorentzVector::SetXYZM(), and TMath::Sqrt().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindInvMass() [2/2]

Double_t BmnPairFinder::FindInvMass ( FairTrackParam pi_plus_meson_V0,
FairTrackParam pi_minus_meson_V0 )
private

◆ FindV0ByVirtualPlanes() [1/2]

Double_t BmnPairFinder::FindV0ByVirtualPlanes ( BmnGlobalTrack * track1,
BmnGlobalTrack * track2,
Double_t z_0,
Double_t range )
private

Definition at line 239 of file BmnPairFinder.cxx.

References Dist(), fDecayFirstParticle, fDecaySecondParticle, fKalman, BmnTrack::GetParamFirst(), kBMNERROR, nPlanes, TMath::Sq(), TMath::Sqrt(), zMax, and zMin.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindV0ByVirtualPlanes() [2/2]

Double_t BmnPairFinder::FindV0ByVirtualPlanes ( BmnGlobalTrack * track1,
BmnGlobalTrack * track2,
Double_t z_0,
Double_t range )
private

◆ Finish() [1/2]

void BmnPairFinder::Finish ( )
virtual

Definition at line 420 of file BmnPairFinder.cxx.

◆ Finish() [2/2]

virtual void BmnPairFinder::Finish ( )
virtual

References BmnPairFinder().

Here is the call graph for this function:

◆ GetPath() [1/2]

Double_t BmnPairFinder::GetPath ( Double_t vPx,
Double_t vPy,
Double_t vPz,
Double_t v0x,
Double_t v0y,
Double_t v0z )
private

Definition at line 319 of file BmnPairFinder.cxx.

References TVector3::Mag().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPath() [2/2]

Double_t BmnPairFinder::GetPath ( Double_t vPx,
Double_t vPy,
Double_t vPz,
Double_t v0x,
Double_t v0y,
Double_t v0z )
private

◆ Init() [1/2]

InitStatus BmnPairFinder::Init ( )
virtual

Definition at line 50 of file BmnPairFinder.cxx.

References fDecayFirstParticle, fDecaySecondParticle, fDstHeader, fKalman, fParticle, fParticlePair, fStsTracks, fVertex, TDatabasePDG::Instance(), and lowV0Z.

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus BmnPairFinder::Init ( )
virtual

Member Data Documentation

◆ evNumber

Int_t BmnPairFinder::evNumber
private

Definition at line 74 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), Exec(), and FindAngleDecayProducts().

◆ fDecayFirstParticle

unique_ptr< TParticlePDG > BmnPairFinder::fDecayFirstParticle
private

◆ fDecaySecondParticle

unique_ptr< TParticlePDG > BmnPairFinder::fDecaySecondParticle
private

◆ fDstHeader

DstEventHeader * BmnPairFinder::fDstHeader
private

Definition at line 53 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), and Init().

◆ fKalman

BmnKalmanFilter * BmnPairFinder::fKalman
private

Definition at line 51 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), Exec(), FindV0ByVirtualPlanes(), and Init().

◆ fParticle

unique_ptr< TParticlePDG > BmnPairFinder::fParticle
private

Definition at line 75 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), FindAngleDecayProducts(), and Init().

◆ fParticlePair

TClonesArray * BmnPairFinder::fParticlePair
private

Definition at line 57 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), Exec(), and Init().

◆ fRunId

Int_t BmnPairFinder::fRunId
private

Definition at line 73 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), and FindAngleDecayProducts().

◆ fStsTracks

TClonesArray * BmnPairFinder::fStsTracks
private

Definition at line 54 of file BmnPairFinder.h.

Referenced by Exec(), and Init().

◆ fVertex

CbmVertex * BmnPairFinder::fVertex
private

Definition at line 55 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), Exec(), and Init().

◆ lowV0Z

Double_t BmnPairFinder::lowV0Z
private

Definition at line 78 of file BmnPairFinder.h.

Referenced by FindAngleDecayProducts(), and Init().


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