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

#include <BmnDedx.h>

Inheritance diagram for BmnDedx:
Collaboration diagram for BmnDedx:

Public Member Functions

 BmnDedx ()
 Constructor.
 BmnDedx (Int_t runid)
virtual ~BmnDedx ()
 Destructor.
virtual InitStatus Init ()
 Inherited from FairTask.
virtual void Exec (Option_t *opt)
 Inherited from FairTask.
virtual void Finish ()
 Inherited from FairTask.
Float_t GetDedx (BmnGlobalTrack *tr)
void CalcDedx (BmnGlobalTrack *tr)
Float_t CalcNormalizedDedx (BmnGlobalTrack *tr)
Short_t GetQ (BmnGlobalTrack *tr)
 BmnDedx ()
 Constructor.
 BmnDedx (Int_t runid)
virtual ~BmnDedx ()
 Destructor.
virtual InitStatus Init ()
 Inherited from FairTask.
virtual void Exec (Option_t *opt)
 Inherited from FairTask.
virtual void Finish ()
 Inherited from FairTask.
Float_t GetDedx (BmnGlobalTrack *tr)
void CalcDedx (BmnGlobalTrack *tr)
Float_t CalcNormalizedDedx (BmnGlobalTrack *tr)
Short_t GetQ (BmnGlobalTrack *tr)
Public Member Functions inherited from BmnTask
 BmnTask ()
 Default constructor.
 BmnTask (const char *name, Int_t iVerbose=1)
 Standard constructor.
virtual ~BmnTask ()
 Destroy the BmnTask object.
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 BmnTask (const BmnTask &)=delete
BmnTask & operator= (const BmnTask &)=delete
 BmnTask ()
 Default constructor.
 BmnTask (const char *name, Int_t iVerbose=1)
 Standard constructor.
virtual ~BmnTask ()
 Destroy the BmnTask object.
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 BmnTask (const BmnTask &)=delete
BmnTask & operator= (const BmnTask &)=delete

Private Attributes

TF1 * fAlephFit_He4
Float_t fMinMom
Float_t fMaxMom
Float_t fNormDedxThresh
Int_t fNSt
vector< Int_t > fNSect
Int_t fNMomSlices
vector< Float_t > fMinMomBound
vector< Float_t > fMaxMomBound
Float_t *** a
Float_t *** b
Int_t fRunId
TClonesArray * fStsTracks
TClonesArray * fStsHits
TClonesArray * fLowGemClusters
TClonesArray * fLowFsdClusters
TClonesArray * fGlobTracks
Float_t fDedx
Double_t fTime

Detailed Description

Definition at line 18 of file BmnDedx.h.

Constructor & Destructor Documentation

◆ BmnDedx() [1/4]

BmnDedx::BmnDedx ( )

Definition at line 3 of file BmnDedx.cxx.

References fMaxMom, fMinMom, fNormDedxThresh, fNSect, and fNSt.

Referenced by GetQ().

Here is the caller graph for this function:

◆ BmnDedx() [2/4]

BmnDedx::BmnDedx ( Int_t runid)

Definition at line 27 of file BmnDedx.cxx.

References fMaxMom, fMinMom, fNormDedxThresh, fNSect, and fNSt.

◆ ~BmnDedx() [1/2]

BmnDedx::~BmnDedx ( )
virtual

Definition at line 242 of file BmnDedx.cxx.

◆ BmnDedx() [3/4]

BmnDedx::BmnDedx ( )

◆ BmnDedx() [4/4]

BmnDedx::BmnDedx ( Int_t runid)

◆ ~BmnDedx() [2/2]

virtual BmnDedx::~BmnDedx ( )
virtual

Member Function Documentation

◆ CalcDedx() [1/2]

void BmnDedx::CalcDedx ( BmnGlobalTrack * tr)

Definition at line 159 of file BmnDedx.cxx.

References a, b, fDedx, CbmStsHit::fDigiF, fLowFsdClusters, fLowGemClusters, fMaxMomBound, fMinMomBound, fNMomSlices, fStsHits, fStsTracks, BmnGlobalTrack::GetGemTrackIndex(), CbmStsTrack::GetNStsHits(), BmnTrack::GetP(), GetQ(), CbmStsHit::GetSectorNr(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), CbmStsHit::GetSystemId(), i, kGEM, kSILICON, BmnGlobalTrack::SetDedx(), BmnGlobalTrack::SetQ(), and StripCluster::TotalSignal.

Referenced by Exec().

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

◆ CalcDedx() [2/2]

void BmnDedx::CalcDedx ( BmnGlobalTrack * tr)

◆ CalcNormalizedDedx() [1/2]

Float_t BmnDedx::CalcNormalizedDedx ( BmnGlobalTrack * tr)

Definition at line 229 of file BmnDedx.cxx.

References fAlephFit_He4, fDedx, and BmnTrack::GetP().

Referenced by GetQ().

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

◆ CalcNormalizedDedx() [2/2]

Float_t BmnDedx::CalcNormalizedDedx ( BmnGlobalTrack * tr)

◆ Exec() [1/2]

void BmnDedx::Exec ( Option_t * opt)
virtual

Definition at line 51 of file BmnDedx.cxx.

References CalcDedx(), fGlobTracks, fTime, TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

Here is the call graph for this function:

◆ Exec() [2/2]

virtual void BmnDedx::Exec ( Option_t * opt)
virtual

◆ Finish() [1/2]

void BmnDedx::Finish ( )
virtual

Definition at line 75 of file BmnDedx.cxx.

References fTime.

◆ Finish() [2/2]

virtual void BmnDedx::Finish ( )
virtual

◆ GetDedx() [1/2]

Float_t BmnDedx::GetDedx ( BmnGlobalTrack * tr)

Definition at line 223 of file BmnDedx.cxx.

References fDedx, and BmnGlobalTrack::GetDedx().

Here is the call graph for this function:

◆ GetDedx() [2/2]

Float_t BmnDedx::GetDedx ( BmnGlobalTrack * tr)

◆ GetQ() [1/2]

Short_t BmnDedx::GetQ ( BmnGlobalTrack * tr)

Definition at line 234 of file BmnDedx.cxx.

References CalcNormalizedDedx(), and fNormDedxThresh.

Referenced by CalcDedx().

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

◆ GetQ() [2/2]

Short_t BmnDedx::GetQ ( BmnGlobalTrack * tr)

References BmnDedx(), a, b, fAlephFit_He4, fDedx, fGlobTracks, fLowFsdClusters, fLowGemClusters, fMaxMom, fMaxMomBound, fMinMom, fMinMomBound, fNMomSlices, fNormDedxThresh, fNSect, fNSt, fRunId, fStsHits, fStsTracks, and fTime.

Here is the call graph for this function:

◆ Init() [1/2]

InitStatus BmnDedx::Init ( )
virtual

Definition at line 80 of file BmnDedx.cxx.

References a, b, TFile::Close(), fGlobTracks, TH1::FindBin(), fLowFsdClusters, fLowGemClusters, fNMomSlices, fNSect, fNSt, fRunId, fStsHits, fStsTracks, TDirectoryFile::Get(), TH1::GetBinContent(), i, and TFile::Open().

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus BmnDedx::Init ( )
virtual

Member Data Documentation

◆ a

Float_t *** BmnDedx::a
private

Definition at line 62 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ b

Float_t *** BmnDedx::b
private

Definition at line 63 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fAlephFit_He4

TF1 * BmnDedx::fAlephFit_He4
private

Definition at line 53 of file BmnDedx.h.

Referenced by CalcNormalizedDedx(), and GetQ().

◆ fDedx

Float_t BmnDedx::fDedx
private

Definition at line 70 of file BmnDedx.h.

Referenced by CalcDedx(), CalcNormalizedDedx(), GetDedx(), and GetQ().

◆ fGlobTracks

TClonesArray * BmnDedx::fGlobTracks
private

Definition at line 69 of file BmnDedx.h.

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

◆ fLowFsdClusters

TClonesArray * BmnDedx::fLowFsdClusters
private

Definition at line 68 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fLowGemClusters

TClonesArray * BmnDedx::fLowGemClusters
private

Definition at line 67 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fMaxMom

Float_t BmnDedx::fMaxMom
private

Definition at line 55 of file BmnDedx.h.

Referenced by BmnDedx(), BmnDedx(), and GetQ().

◆ fMaxMomBound

vector< Float_t > BmnDedx::fMaxMomBound
private

Definition at line 61 of file BmnDedx.h.

Referenced by CalcDedx(), and GetQ().

◆ fMinMom

Float_t BmnDedx::fMinMom
private

Definition at line 54 of file BmnDedx.h.

Referenced by BmnDedx(), BmnDedx(), and GetQ().

◆ fMinMomBound

vector< Float_t > BmnDedx::fMinMomBound
private

Definition at line 60 of file BmnDedx.h.

Referenced by CalcDedx(), and GetQ().

◆ fNMomSlices

Int_t BmnDedx::fNMomSlices
private

Definition at line 59 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fNormDedxThresh

Float_t BmnDedx::fNormDedxThresh
private

Definition at line 56 of file BmnDedx.h.

Referenced by BmnDedx(), BmnDedx(), and GetQ().

◆ fNSect

vector< Int_t > BmnDedx::fNSect
private

Definition at line 58 of file BmnDedx.h.

Referenced by BmnDedx(), BmnDedx(), GetQ(), and Init().

◆ fNSt

Int_t BmnDedx::fNSt
private

Definition at line 57 of file BmnDedx.h.

Referenced by BmnDedx(), BmnDedx(), GetQ(), and Init().

◆ fRunId

Int_t BmnDedx::fRunId
private

Definition at line 64 of file BmnDedx.h.

Referenced by GetQ(), and Init().

◆ fStsHits

TClonesArray * BmnDedx::fStsHits
private

Definition at line 66 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fStsTracks

TClonesArray * BmnDedx::fStsTracks
private

Definition at line 65 of file BmnDedx.h.

Referenced by CalcDedx(), GetQ(), and Init().

◆ fTime

Double_t BmnDedx::fTime
private

Definition at line 72 of file BmnDedx.h.

Referenced by Exec(), Finish(), and GetQ().


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