PID quality control class.
More...
#include <PID.h>
|
| | PID ()=default |
| | Constructor.
|
| |
| bool | processTrack (const o2::tpc::TrackTPC &track, size_t nTracks) |
| |
| bool | processTrack (const o2::tpc::TrackTPC &track) |
| |
| void | initializeHistograms () |
| | Initialize all histograms.
|
| |
| void | resetHistograms () |
| | Reset all histograms.
|
| |
| void | dumpToFile (std::string filename) |
| | Dump results to a file.
|
| |
| void | setPIDCuts (int minnCls=60, float absTgl=1., float mindEdxTot=10.0, float maxdEdxTot=70., float minpTPC=0.05, float maxpTPC=20., float minpTPCMIPs=0.45, float maxpTPCMIPs=0.55, bool turnOffHistosForAsync=false, bool getdEdxVspHypoHist=false) |
| |
| void | setCreateCanvas (int createCanvas=1) |
| |
| std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > & | getMapOfHisto () |
| |
| const std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > & | getMapOfHisto () const |
| |
| std::unordered_map< std::string_view, std::vector< std::unique_ptr< TCanvas > > > & | getMapOfCanvas () |
| |
| TCanvas * | getSeparationPowerCanvas () |
| |
| const std::unordered_map< std::string_view, std::vector< std::unique_ptr< TCanvas > > > & | getMapOfCanvas () const |
| |
PID quality control class.
This class is used to extract PID related variables from TrackTPC objects and store it in histograms.
origin: TPC
- Author
- Thomas Klemenz, thoma.nosp@m.s.kl.nosp@m.emenz.nosp@m.@tum.nosp@m..de
Definition at line 50 of file PID.h.
◆ PID()
Constructor.
Definition at line 23 of file PID.cxx.
◆ dumpToFile()
| void PID::dumpToFile |
( |
std::string |
filename | ) |
|
Dump results to a file.
Definition at line 223 of file PID.cxx.
◆ getMapOfCanvas() [1/2]
| std::unordered_map< std::string_view, std::vector< std::unique_ptr< TCanvas > > > & o2::tpc::qc::PID::getMapOfCanvas |
( |
| ) |
|
|
inline |
Definition at line 98 of file PID.h.
◆ getMapOfCanvas() [2/2]
| const std::unordered_map< std::string_view, std::vector< std::unique_ptr< TCanvas > > > & o2::tpc::qc::PID::getMapOfCanvas |
( |
| ) |
const |
|
inline |
◆ getMapOfHisto() [1/2]
| std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > & o2::tpc::qc::PID::getMapOfHisto |
( |
| ) |
|
|
inline |
Definition at line 94 of file PID.h.
◆ getMapOfHisto() [2/2]
| const std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > & o2::tpc::qc::PID::getMapOfHisto |
( |
| ) |
const |
|
inline |
Definition at line 95 of file PID.h.
◆ getSeparationPowerCanvas()
| TCanvas * o2::tpc::qc::PID::getSeparationPowerCanvas |
( |
| ) |
|
|
inline |
Definition at line 99 of file PID.h.
◆ initializeHistograms()
| void PID::initializeHistograms |
( |
| ) |
|
Initialize all histograms.
Definition at line 56 of file PID.cxx.
◆ processTrack() [1/2]
◆ processTrack() [2/2]
bool extracts intormation from track and fills it to histograms
- Returns
- true if information can be extracted and filled to histograms
Definition at line 119 of file PID.cxx.
◆ resetHistograms()
| void PID::resetHistograms |
( |
| ) |
|
Reset all histograms.
Definition at line 103 of file PID.cxx.
◆ setCreateCanvas()
| void o2::tpc::qc::PID::setCreateCanvas |
( |
int |
createCanvas = 1 | ) |
|
|
inline |
Definition at line 89 of file PID.h.
◆ setPIDCuts()
| void o2::tpc::qc::PID::setPIDCuts |
( |
int |
minnCls = 60, |
|
|
float |
absTgl = 1., |
|
|
float |
mindEdxTot = 10.0, |
|
|
float |
maxdEdxTot = 70., |
|
|
float |
minpTPC = 0.05, |
|
|
float |
maxpTPC = 20., |
|
|
float |
minpTPCMIPs = 0.45, |
|
|
float |
maxpTPCMIPs = 0.55, |
|
|
bool |
turnOffHistosForAsync = false, |
|
|
bool |
getdEdxVspHypoHist = false |
|
) |
| |
|
inline |
Definition at line 73 of file PID.h.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/qc/include/TPCQC/PID.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Reconstruction/src/PID.cxx
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/qc/src/PID.cxx