BmnRoot 26.10.0-233-gb9bbe585
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 ()

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)

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()

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.

◆ ~BmnPairFinder()

BmnPairFinder::~BmnPairFinder ( )
virtual

Definition at line 45 of file BmnPairFinder.cxx.

Member Function Documentation

◆ Exec()

◆ FindAngleDecayProducts()

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:

◆ FindDCA0()

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:

◆ FindEta()

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:

◆ FindInvMass()

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:

◆ FindV0ByVirtualPlanes()

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:

◆ Finish()

void BmnPairFinder::Finish ( )
virtual

Definition at line 420 of file BmnPairFinder.cxx.

◆ GetPath()

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:

◆ Init()

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:

Member Data Documentation

◆ evNumber

Int_t BmnPairFinder::evNumber
private

Definition at line 74 of file BmnPairFinder.h.

Referenced by BmnPairFinder(), and Exec().

◆ fDecayFirstParticle

unique_ptr<TParticlePDG> BmnPairFinder::fDecayFirstParticle
private

Definition at line 76 of file BmnPairFinder.h.

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

◆ fDecaySecondParticle

unique_ptr<TParticlePDG> BmnPairFinder::fDecaySecondParticle
private

Definition at line 77 of file BmnPairFinder.h.

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

◆ 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(), 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().

◆ 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 Init().


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