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

#include <BmnHypNuclPairFinder.h>

Inheritance diagram for BmnHypNuclPairFinder:
Collaboration diagram for BmnHypNuclPairFinder:

Public Member Functions

 BmnHypNuclPairFinder ()
 BmnHypNuclPairFinder (TString hyp, Int_t run, Bool_t exp=kTRUE)
virtual ~BmnHypNuclPairFinder ()
virtual void Exec (Option_t *option)
virtual InitStatus Init ()
virtual void Finish ()
 BmnHypNuclPairFinder ()
 BmnHypNuclPairFinder (TString hyp, Int_t run, Bool_t exp=kTRUE)
virtual ~BmnHypNuclPairFinder ()
virtual void Exec (Option_t *option)
virtual InitStatus Init ()
virtual void Finish ()

Private Member Functions

void Analysis ()
Float_t FindV0ByVirtualPlanes (FairTrackParam *par1, FairTrackParam *par2, Float_t z_0, Float_t range=50.)
Float_t GetdEdx (CbmStsTrack *tr)
void GetNHits (CbmStsTrack *tr, Int_t &nGEM, Int_t &nFSD)
Float_t GetSigXTof700He3 (FairTrackParam *par)
Float_t GetSigYTof700He3 (FairTrackParam *par)
Float_t GetDyTof700 (FairTrackParam *par)
Float_t GetDxTof700 (FairTrackParam *par)
Bool_t IsKaPlus (BmnGlobalTrack *gl)
void Analysis ()
Float_t FindV0ByVirtualPlanes (FairTrackParam *par1, FairTrackParam *par2, Float_t z_0, Float_t range=50.)
Float_t GetdEdx (CbmStsTrack *tr)
void GetNHits (CbmStsTrack *tr, Int_t &nGEM, Int_t &nFSD)
Float_t GetSigXTof700He3 (FairTrackParam *par)
Float_t GetSigYTof700He3 (FairTrackParam *par)
Float_t GetDyTof700 (FairTrackParam *par)
Float_t GetDxTof700 (FairTrackParam *par)
Bool_t IsKaPlus (BmnGlobalTrack *gl)

Static Private Member Functions

static Float_t ComputeChi2_2D (Float_t dx, Float_t dy, Float_t c1_00, Float_t c1_01, Float_t c1_11, Float_t c2_00, Float_t c2_01, Float_t c2_11)
static Float_t ComputeChi2_2D (Float_t dx, Float_t dy, Float_t c1_00, Float_t c1_01, Float_t c1_11, Float_t c2_00, Float_t c2_01, Float_t c2_11)

Private Attributes

UInt_t fEventCounter
TClonesArray * fStsHits
 event counter
TClonesArray * fUpperGemClusters
TClonesArray * fLowerGemClusters
TClonesArray * fUpperFsdClusters
TClonesArray * fLowerFsdClusters
TClonesArray * fStsTracks
TClonesArray * fGlobTracks
TClonesArray * fTof700Hits
CbmVertex * fVertex
BmnTrigInfoDst * fTrigger
DstEventHeader * fDstHeader
BmnKalmanFilter * fKalman
TClonesArray * fParticlePair
Float_t massPos
Float_t massNeg
const Int_t fPDG1 = 2212
const Int_t fPDG2 = -211
const Float_t fMassHe4 = 3.7284013
const Float_t fMassHe3 = 2.8094135
const Float_t fMassPi = 0.1395704
const Float_t fMassP = 0.9382721
const Float_t fMassD = 1.8756129
Bool_t isExp
Int_t runId
TF1 * m2CutLowKplsTof700
TF1 * m2CutUpKplsTof700
TF1 * m2CutLowKplsTof400
TF1 * m2CutUpKplsTof400
TF1 * fit_dP_He
TF1 * alephFit_d
TF1 * m2CutLow
TF1 * m2CutUp
Int_t nSt
vector< Int_t > nSect
Int_t nMomSlices
vector< Float_t > minMomBound
vector< Float_t > maxMomBound
Double_t *** a
Double_t *** b
vector< FairTrackParam > fParInVPPos
vector< FairTrackParam > fParInVPNeg
vector< Float_t > fM2Pos700
vector< Float_t > fChi2NDFPos
vector< Float_t > fChi2NDFNeg
vector< Float_t > fDedxPos
vector< Short_t > fNGemHitsNeg
vector< Short_t > fNGemHitsPos
vector< Short_t > fNFsdHitsNeg
vector< Short_t > fNFsdHitsPos

Static Private Attributes

static constexpr Float_t kInvalidChi2 = -1.0f

Detailed Description

Definition at line 26 of file BmnHypNuclPairFinder.h.

Constructor & Destructor Documentation

◆ BmnHypNuclPairFinder() [1/4]

BmnHypNuclPairFinder::BmnHypNuclPairFinder ( )

Definition at line 6 of file BmnHypNuclPairFinder.cxx.

Referenced by GetDxTof700(), and IsKaPlus().

Here is the caller graph for this function:

◆ BmnHypNuclPairFinder() [2/4]

BmnHypNuclPairFinder::BmnHypNuclPairFinder ( TString hyp,
Int_t run,
Bool_t exp = kTRUE )

◆ ~BmnHypNuclPairFinder() [1/2]

BmnHypNuclPairFinder::~BmnHypNuclPairFinder ( )
virtual

◆ BmnHypNuclPairFinder() [3/4]

BmnHypNuclPairFinder::BmnHypNuclPairFinder ( )

◆ BmnHypNuclPairFinder() [4/4]

BmnHypNuclPairFinder::BmnHypNuclPairFinder ( TString hyp,
Int_t run,
Bool_t exp = kTRUE )

◆ ~BmnHypNuclPairFinder() [2/2]

virtual BmnHypNuclPairFinder::~BmnHypNuclPairFinder ( )
virtual

Member Function Documentation

◆ Analysis() [1/2]

◆ Analysis() [2/2]

void BmnHypNuclPairFinder::Analysis ( )
private

◆ ComputeChi2_2D() [1/2]

Float_t BmnHypNuclPairFinder::ComputeChi2_2D ( Float_t dx,
Float_t dy,
Float_t c1_00,
Float_t c1_01,
Float_t c1_11,
Float_t c2_00,
Float_t c2_01,
Float_t c2_11 )
inlinestaticprivate

Definition at line 130 of file BmnHypNuclPairFinder.h.

References kInvalidChi2.

Referenced by Analysis().

Here is the caller graph for this function:

◆ ComputeChi2_2D() [2/2]

Float_t BmnHypNuclPairFinder::ComputeChi2_2D ( Float_t dx,
Float_t dy,
Float_t c1_00,
Float_t c1_01,
Float_t c1_11,
Float_t c2_00,
Float_t c2_01,
Float_t c2_11 )
inlinestaticprivate

Definition at line 130 of file BmnHypNuclPairFinder.h.

References kInvalidChi2.

◆ Exec() [1/2]

void BmnHypNuclPairFinder::Exec ( Option_t * option)
virtual

Definition at line 436 of file BmnHypNuclPairFinder.cxx.

References Analysis(), fEventCounter, fParticlePair, fTrigger, fVertex, isExp, TMath::Sq(), and TMath::Sqrt().

Here is the call graph for this function:

◆ Exec() [2/2]

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

◆ FindV0ByVirtualPlanes() [1/2]

Float_t BmnHypNuclPairFinder::FindV0ByVirtualPlanes ( FairTrackParam * par1,
FairTrackParam * par2,
Float_t z_0,
Float_t range = 50. )
private

Definition at line 472 of file BmnHypNuclPairFinder.cxx.

References TMath::Abs(), fKalman, fPDG1, fPDG2, kBMNERROR, nPlanes, z, zMax, and zMin.

Referenced by Analysis().

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

◆ FindV0ByVirtualPlanes() [2/2]

Float_t BmnHypNuclPairFinder::FindV0ByVirtualPlanes ( FairTrackParam * par1,
FairTrackParam * par2,
Float_t z_0,
Float_t range = 50. )
private

◆ Finish() [1/2]

void BmnHypNuclPairFinder::Finish ( )
virtual

Definition at line 465 of file BmnHypNuclPairFinder.cxx.

References fKalman.

◆ Finish() [2/2]

virtual void BmnHypNuclPairFinder::Finish ( )
virtual

References kInvalidChi2.

◆ GetdEdx() [1/2]

Float_t BmnHypNuclPairFinder::GetdEdx ( CbmStsTrack * tr)
private

Definition at line 528 of file BmnHypNuclPairFinder.cxx.

References a, b, CbmStsHit::fDigiF, fLowerFsdClusters, fLowerGemClusters, fStsHits, CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamFirst(), CbmStsHit::GetSectorNr(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), CbmStsHit::GetSystemId(), i, isExp, kGEM, kSILICON, maxMomBound, minMomBound, nMomSlices, and StripCluster::TotalSignal.

Referenced by Analysis().

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

◆ GetdEdx() [2/2]

Float_t BmnHypNuclPairFinder::GetdEdx ( CbmStsTrack * tr)
private

◆ GetDxTof700() [1/2]

Float_t BmnHypNuclPairFinder::GetDxTof700 ( FairTrackParam * par)
private

References BmnHypNuclPairFinder().

Here is the call graph for this function:

◆ GetDxTof700() [2/2]

Float_t BmnHypNuclPairFinder::GetDxTof700 ( FairTrackParam * par)
private

◆ GetDyTof700() [1/2]

Float_t BmnHypNuclPairFinder::GetDyTof700 ( FairTrackParam * par)
private

◆ GetDyTof700() [2/2]

Float_t BmnHypNuclPairFinder::GetDyTof700 ( FairTrackParam * par)
private

◆ GetNHits() [1/2]

void BmnHypNuclPairFinder::GetNHits ( CbmStsTrack * tr,
Int_t & nGEM,
Int_t & nFSD )
private

Definition at line 625 of file BmnHypNuclPairFinder.cxx.

References fStsHits, CbmStsTrack::GetNStsHits(), CbmStsTrack::GetStsHitIndex(), CbmStsHit::GetSystemId(), kGEM, and kSILICON.

Referenced by Analysis().

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

◆ GetNHits() [2/2]

void BmnHypNuclPairFinder::GetNHits ( CbmStsTrack * tr,
Int_t & nGEM,
Int_t & nFSD )
private

◆ GetSigXTof700He3() [1/2]

Float_t BmnHypNuclPairFinder::GetSigXTof700He3 ( FairTrackParam * par)
private

◆ GetSigXTof700He3() [2/2]

Float_t BmnHypNuclPairFinder::GetSigXTof700He3 ( FairTrackParam * par)
private

◆ GetSigYTof700He3() [1/2]

Float_t BmnHypNuclPairFinder::GetSigYTof700He3 ( FairTrackParam * par)
private

◆ GetSigYTof700He3() [2/2]

Float_t BmnHypNuclPairFinder::GetSigYTof700He3 ( FairTrackParam * par)
private

◆ Init() [1/2]

InitStatus BmnHypNuclPairFinder::Init ( )
virtual

◆ Init() [2/2]

virtual InitStatus BmnHypNuclPairFinder::Init ( )
virtual

◆ IsKaPlus() [1/2]

Bool_t BmnHypNuclPairFinder::IsKaPlus ( BmnGlobalTrack * gl)
private

Definition at line 639 of file BmnHypNuclPairFinder.cxx.

References BmnGlobalTrack::GetMass2(), BmnTrack::GetP(), m2CutLowKplsTof400, m2CutLowKplsTof700, and m2CutUpKplsTof700.

Referenced by Analysis().

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

◆ IsKaPlus() [2/2]

Bool_t BmnHypNuclPairFinder::IsKaPlus ( BmnGlobalTrack * gl)
private

References BmnHypNuclPairFinder().

Here is the call graph for this function:

Member Data Documentation

◆ a

Double_t *** BmnHypNuclPairFinder::a
private

Definition at line 89 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), GetdEdx(), and Init().

◆ alephFit_d

TF1 * BmnHypNuclPairFinder::alephFit_d
private

Definition at line 76 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and Analysis().

◆ b

Double_t *** BmnHypNuclPairFinder::b
private

Definition at line 90 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), GetdEdx(), and Init().

◆ fChi2NDFNeg

vector< Float_t > BmnHypNuclPairFinder::fChi2NDFNeg
private

Definition at line 96 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fChi2NDFPos

vector< Float_t > BmnHypNuclPairFinder::fChi2NDFPos
private

Definition at line 95 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fDedxPos

vector< Float_t > BmnHypNuclPairFinder::fDedxPos
private

Definition at line 97 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fDstHeader

DstEventHeader * BmnHypNuclPairFinder::fDstHeader
private

Definition at line 41 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Init().

◆ fEventCounter

UInt_t BmnHypNuclPairFinder::fEventCounter
private

Definition at line 29 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Exec().

◆ fGlobTracks

TClonesArray * BmnHypNuclPairFinder::fGlobTracks
private

Definition at line 37 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), Analysis(), and Init().

◆ fit_dP_He

TF1 * BmnHypNuclPairFinder::fit_dP_He
private

Definition at line 71 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and Analysis().

◆ fKalman

BmnKalmanFilter * BmnHypNuclPairFinder::fKalman
private

◆ fLowerFsdClusters

TClonesArray * BmnHypNuclPairFinder::fLowerFsdClusters
private

Definition at line 35 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), GetdEdx(), and Init().

◆ fLowerGemClusters

TClonesArray * BmnHypNuclPairFinder::fLowerGemClusters
private

Definition at line 33 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), GetdEdx(), and Init().

◆ fM2Pos700

vector< Float_t > BmnHypNuclPairFinder::fM2Pos700
private

Definition at line 94 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fMassD

const Float_t BmnHypNuclPairFinder::fMassD = 1.8756129
private

Definition at line 57 of file BmnHypNuclPairFinder.h.

◆ fMassHe3

const Float_t BmnHypNuclPairFinder::fMassHe3 = 2.8094135
private

Definition at line 54 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder().

◆ fMassHe4

const Float_t BmnHypNuclPairFinder::fMassHe4 = 3.7284013
private

Definition at line 53 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder().

◆ fMassP

const Float_t BmnHypNuclPairFinder::fMassP = 0.9382721
private

Definition at line 56 of file BmnHypNuclPairFinder.h.

◆ fMassPi

const Float_t BmnHypNuclPairFinder::fMassPi = 0.1395704
private

Definition at line 55 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder().

◆ fNFsdHitsNeg

vector< Short_t > BmnHypNuclPairFinder::fNFsdHitsNeg
private

Definition at line 100 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fNFsdHitsPos

vector< Short_t > BmnHypNuclPairFinder::fNFsdHitsPos
private

Definition at line 101 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fNGemHitsNeg

vector< Short_t > BmnHypNuclPairFinder::fNGemHitsNeg
private

Definition at line 98 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fNGemHitsPos

vector< Short_t > BmnHypNuclPairFinder::fNGemHitsPos
private

Definition at line 99 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fParInVPNeg

vector< FairTrackParam > BmnHypNuclPairFinder::fParInVPNeg
private

Definition at line 93 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fParInVPPos

vector< FairTrackParam > BmnHypNuclPairFinder::fParInVPPos
private

Definition at line 92 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and Init().

◆ fParticlePair

TClonesArray * BmnHypNuclPairFinder::fParticlePair
private

Definition at line 45 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), Analysis(), Exec(), and Init().

◆ fPDG1

const Int_t BmnHypNuclPairFinder::fPDG1 = 2212
private

Definition at line 50 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and FindV0ByVirtualPlanes().

◆ fPDG2

const Int_t BmnHypNuclPairFinder::fPDG2 = -211
private

Definition at line 51 of file BmnHypNuclPairFinder.h.

Referenced by Analysis(), and FindV0ByVirtualPlanes().

◆ fStsHits

TClonesArray * BmnHypNuclPairFinder::fStsHits
private

Definition at line 31 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), GetdEdx(), GetNHits(), and Init().

◆ fStsTracks

TClonesArray * BmnHypNuclPairFinder::fStsTracks
private

Definition at line 36 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), Analysis(), and Init().

◆ fTof700Hits

TClonesArray * BmnHypNuclPairFinder::fTof700Hits
private

Definition at line 38 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Init().

◆ fTrigger

BmnTrigInfoDst * BmnHypNuclPairFinder::fTrigger
private

Definition at line 40 of file BmnHypNuclPairFinder.h.

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

◆ fUpperFsdClusters

TClonesArray * BmnHypNuclPairFinder::fUpperFsdClusters
private

Definition at line 34 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Init().

◆ fUpperGemClusters

TClonesArray * BmnHypNuclPairFinder::fUpperGemClusters
private

Definition at line 32 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Init().

◆ fVertex

CbmVertex * BmnHypNuclPairFinder::fVertex
private

Definition at line 39 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), Analysis(), Exec(), and Init().

◆ isExp

Bool_t BmnHypNuclPairFinder::isExp
private

Definition at line 59 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), Exec(), and GetdEdx().

◆ kInvalidChi2

constexpr Float_t BmnHypNuclPairFinder::kInvalidChi2 = -1.0f
staticconstexprprivate

Definition at line 117 of file BmnHypNuclPairFinder.h.

Referenced by ComputeChi2_2D(), and Finish().

◆ m2CutLow

TF1 * BmnHypNuclPairFinder::m2CutLow
private

Definition at line 79 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and ~BmnHypNuclPairFinder().

◆ m2CutLowKplsTof400

TF1 * BmnHypNuclPairFinder::m2CutLowKplsTof400
private

Definition at line 65 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and IsKaPlus().

◆ m2CutLowKplsTof700

TF1 * BmnHypNuclPairFinder::m2CutLowKplsTof700
private

Definition at line 63 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and IsKaPlus().

◆ m2CutUp

TF1 * BmnHypNuclPairFinder::m2CutUp
private

Definition at line 81 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and ~BmnHypNuclPairFinder().

◆ m2CutUpKplsTof400

TF1 * BmnHypNuclPairFinder::m2CutUpKplsTof400
private

Definition at line 66 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and ~BmnHypNuclPairFinder().

◆ m2CutUpKplsTof700

TF1 * BmnHypNuclPairFinder::m2CutUpKplsTof700
private

Definition at line 64 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and IsKaPlus().

◆ massNeg

Float_t BmnHypNuclPairFinder::massNeg
private

Definition at line 48 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Analysis().

◆ massPos

Float_t BmnHypNuclPairFinder::massPos
private

Definition at line 47 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Analysis().

◆ maxMomBound

vector< Float_t > BmnHypNuclPairFinder::maxMomBound
private

Definition at line 87 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and GetdEdx().

◆ minMomBound

vector< Float_t > BmnHypNuclPairFinder::minMomBound
private

Definition at line 86 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and GetdEdx().

◆ nMomSlices

Int_t BmnHypNuclPairFinder::nMomSlices
private

Definition at line 85 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), GetdEdx(), and Init().

◆ nSect

vector< Int_t > BmnHypNuclPairFinder::nSect
private

Definition at line 84 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and Init().

◆ nSt

Int_t BmnHypNuclPairFinder::nSt
private

Definition at line 83 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), ~BmnHypNuclPairFinder(), and Init().

◆ runId

Int_t BmnHypNuclPairFinder::runId
private

Definition at line 60 of file BmnHypNuclPairFinder.h.

Referenced by BmnHypNuclPairFinder(), and Init().


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