|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnPid.h>
Public Member Functions | |
| BmnPid (Int_t power=1) | |
| virtual | ~BmnPid () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| void | SetVector () |
Private Member Functions | |
| Int_t | EnumToPdg (PidParticles part) |
| void | NormalizeVector (vector< Double_t > &vec) |
| Double_t | GetSum (const vector< Double_t > &vec) |
| Double_t | EstimateProbability (Double_t p, Double_t beta, Double_t mass, Int_t power) |
Private Attributes | |
| TString | fGlobalTracksBranchName |
| TDatabasePDG * | db = nullptr |
| Int_t | fModelPower |
| Int_t | fEventNo |
| TClonesArray * | fGlobalTracksArray |
| BmnPid::BmnPid | ( | Int_t | power = 1 | ) |
Definition at line 15 of file BmnPid.cxx.
References fEventNo, fGlobalTracksArray, fGlobalTracksBranchName, and fModelPower.
|
virtual |
Definition at line 23 of file BmnPid.cxx.
|
private |
Definition at line 116 of file BmnPid.cxx.
Referenced by SetVector().
|
private |
Definition at line 111 of file BmnPid.cxx.
Referenced by SetVector().
|
virtual |
Definition at line 57 of file BmnPid.cxx.
References fEventNo, TStopwatch::RealTime(), SetVector(), TStopwatch::Start(), TStopwatch::Stop(), and workTime.
|
virtual |
Definition at line 156 of file BmnPid.cxx.
References workTime.
Definition at line 148 of file BmnPid.cxx.
References i.
Referenced by NormalizeVector().
|
virtual |
Definition at line 25 of file BmnPid.cxx.
References db, fGlobalTracksArray, fGlobalTracksBranchName, and TDatabasePDG::Instance().
|
private |
Definition at line 141 of file BmnPid.cxx.
References GetSum().
Referenced by SetVector().
| void BmnPid::SetVector | ( | ) |
Definition at line 79 of file BmnPid.cxx.
References TParticlePDG::Charge(), db, EnumToPdg(), EstimateProbability(), fGlobalTracksArray, fModelPower, BmnTrack::GetP(), TParticlePDG::Mass(), and NormalizeVector().
Referenced by Exec().
|
private |
Definition at line 40 of file BmnPid.h.
Referenced by Init(), and SetVector().
|
private |
|
private |
Definition at line 50 of file BmnPid.h.
Referenced by BmnPid(), Init(), and SetVector().
|
private |
|
private |
Definition at line 42 of file BmnPid.h.
Referenced by BmnPid(), and SetVector().