Belle II Software development
|
This module takes the MCParticles, the genfit Tracks, the genfit TrackCand, and the MCTrackCands input and produce a root file containing various histograms showing the performance of the tracking package: fitter, pattern recognition algorithms. More...
#include <PerformanceEvaluationBaseClass.h>
Public Member Functions | |
TH1F * | createHistogram1D (const char *name, const char *title, Int_t nbins, Double_t min, Double_t max, const char *xtitle, TList *histoList=nullptr) |
Create a 1D histogram and add it to the TList of 1D-histograms. | |
TH1F * | createHistogram1D (const char *name, const char *title, Int_t nbins, Double_t *bins, const char *xtitle, TList *histoList=nullptr) |
Create a 1D histogram and add it to the TList of 1D-histograms. | |
TH2F * | createHistogram2D (const char *name, const char *title, Int_t nbinsX, Double_t minX, Double_t maxX, const char *titleX, Int_t nbinsY, Double_t minY, Double_t maxY, const char *titleY, TList *histoList=nullptr) |
Create a 2D histogram and add it to the TList of 2D-histograms. | |
TH2F * | createHistogram2D (const char *name, const char *title, Int_t nbinsX, Double_t *binsX, const char *titleX, Int_t nbinsY, Double_t *binsY, const char *titleY, TList *histoList=nullptr) |
Create a 2D histogram and add it to the TList of 2D-histograms. | |
TH3F * | createHistogram3D (const char *name, const char *title, Int_t nbinsX, Double_t minX, Double_t maxX, const char *titleX, Int_t nbinsY, Double_t minY, Double_t maxY, const char *titleY, Int_t nbinsZ, Double_t minZ, Double_t maxZ, const char *titleZ, TList *histoList=nullptr) |
Create a 3D histogram and add it to the TList of 3D-histograms. | |
TH3F * | createHistogram3D (const char *name, const char *title, Int_t nbinsX, Double_t *binsX, const char *titleX, Int_t nbinsY, Double_t *binsY, const char *titleY, Int_t nbinsZ, Double_t *binsZ, const char *titleZ, TList *histoList=nullptr) |
Create a 3D histogram and add it to the TList of 3D-histograms. | |
TH1 * | duplicateHistogram (const char *newname, const char *newtitle, TH1 *h, TList *histoList=nullptr) |
Make a copy of a 1D histogram and add it to the TList of 1D-histograms. | |
TH1F * | createHistogramsRatio (const char *name, const char *title, TH1 *hNum, TH1 *hDen, bool isEffPlot, int axisRef) |
Make a new 1D histogram from the ratio of two others and add it to the TList of 1D-histograms. | |
void | addEfficiencyPlots (TList *graphList=nullptr, TH3F *h3_xPerMCParticle=nullptr, TH3F *h3_MCParticle=nullptr) |
Create pt-, theta- and phi-efficiency 1D histograms and add them to the TList of 1D-histograms. | |
void | addInefficiencyPlots (TList *graphList=nullptr, TH3F *h3_xPerMCParticle=nullptr, TH3F *h3_MCParticle=nullptr) |
Create pt-, theta- and phi-inefficiency 1D histograms and add them to the TList of 1D-histograms. | |
void | addPurityPlots (TList *graphList=nullptr, TH3F *h3_xPerMCParticle=nullptr, TH3F *h3_MCParticle=nullptr) |
Create pt-, theta- and phi-purity 1D histograms and add them to the TList of 1D-histograms. | |
TH1F * | effPlot1D (TH1F *h1_den, TH1F *h1_num, const char *name, const char *title, bool geo_accettance, TList *histoList=nullptr) |
Create a 1D efficiency histogram and add it to the TList of 1D-histograms. | |
TH1F * | effPlot1D (TH1F *h1_MC, TH1F *h1_RecoTrack, TH1F *h1_Track, const char *name, const char *title, TList *histoList=nullptr) |
Create a 1D efficiency histogram and add it to the TList of 1D-histograms. | |
TH2F * | effPlot2D (TH2F *h2_den, TH2F *h2_num, const char *name, const char *title, bool geo_accettance, TList *histoList=nullptr) |
Create a 2D efficiency histogram and add it to the TList of 2D-histograms. | |
TH2F * | effPlot2D (TH2F *h2_MC, TH2F *h2_RecoTrack, TH2F *h2_Track, const char *name, const char *title, TList *histoList) |
Create a 2D efficiency histogram and add it to the TList of 2D-histograms. | |
TH1F * | geoAcc1D (TH1F *h1_den, TH1F *h1_num, const char *name, const char *title, TList *histoList=nullptr) |
Create a 1D efficiency histogram for geometric acceptance and add it to the TList of 1D-histograms. | |
TH2F * | geoAcc2D (TH2F *h2_den, TH2F *h2_num, const char *name, const char *title, TList *histoList=nullptr) |
Create a 2D efficiency histogram for geometric acceptance and add it to the TList of 2D-histograms. | |
TH1F * | V0FinderEff (TH1F *h1_dau0, TH1F *h1_dau1, TH1F *h1_Mother, const char *name, const char *title, TList *histoList=nullptr) |
Create a 1D efficiency histogram for V0 finding and add it to the TList of 1D-histograms. | |
Public Attributes | |
TList * | m_histoList = nullptr |
List of performance-evaluation histograms. | |
TList * | m_histoList_multiplicity = nullptr |
List of multiplicity histograms. | |
TList * | m_histoList_evtCharacterization = nullptr |
List of event-characterization histograms. | |
TList * | m_histoList_trkQuality = nullptr |
List of track-quality histograms. | |
TList * | m_histoList_firstHit = nullptr |
List of first-hit-position histograms. | |
TList * | m_histoList_pr = nullptr |
List of pattern-recognition histograms. | |
TList * | m_histoList_fit = nullptr |
List of track-fit histograms. | |
TList * | m_histoList_efficiency = nullptr |
List of efficiency histograms. | |
TList * | m_histoList_purity = nullptr |
List of purity histograms. | |
TList * | m_histoList_others = nullptr |
List of other performance-evaluation histograms. | |
std::string | m_rootFileName |
root file name | |
TFile * | m_rootFilePtr = nullptr |
pointer at root file used for storing histograms | |
This module takes the MCParticles, the genfit Tracks, the genfit TrackCand, and the MCTrackCands input and produce a root file containing various histograms showing the performance of the tracking package: fitter, pattern recognition algorithms.
Definition at line 30 of file PerformanceEvaluationBaseClass.h.
Definition at line 17 of file PerformanceEvaluationBaseClass.cc.
|
virtual |
Definition at line 21 of file PerformanceEvaluationBaseClass.cc.
void addEfficiencyPlots | ( | TList * | graphList = nullptr , |
TH3F * | h3_xPerMCParticle = nullptr , |
||
TH3F * | h3_MCParticle = nullptr |
||
) |
Create pt-, theta- and phi-efficiency 1D histograms and add them to the TList of 1D-histograms.
Definition at line 293 of file PerformanceEvaluationBaseClass.cc.
void addInefficiencyPlots | ( | TList * | graphList = nullptr , |
TH3F * | h3_xPerMCParticle = nullptr , |
||
TH3F * | h3_MCParticle = nullptr |
||
) |
Create pt-, theta- and phi-inefficiency 1D histograms and add them to the TList of 1D-histograms.
Definition at line 272 of file PerformanceEvaluationBaseClass.cc.
void addPurityPlots | ( | TList * | graphList = nullptr , |
TH3F * | h3_xPerMCParticle = nullptr , |
||
TH3F * | h3_MCParticle = nullptr |
||
) |
Create pt-, theta- and phi-purity 1D histograms and add them to the TList of 1D-histograms.
Definition at line 315 of file PerformanceEvaluationBaseClass.cc.
TH1F * createHistogram1D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbins, | ||
Double_t * | bins, | ||
const char * | xtitle, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D histogram and add it to the TList of 1D-histograms.
Definition at line 41 of file PerformanceEvaluationBaseClass.cc.
TH1F * createHistogram1D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbins, | ||
Double_t | min, | ||
Double_t | max, | ||
const char * | xtitle, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D histogram and add it to the TList of 1D-histograms.
Definition at line 26 of file PerformanceEvaluationBaseClass.cc.
TH2F * createHistogram2D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbinsX, | ||
Double_t * | binsX, | ||
const char * | titleX, | ||
Int_t | nbinsY, | ||
Double_t * | binsY, | ||
const char * | titleY, | ||
TList * | histoList = nullptr |
||
) |
Create a 2D histogram and add it to the TList of 2D-histograms.
Definition at line 74 of file PerformanceEvaluationBaseClass.cc.
TH2F * createHistogram2D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbinsX, | ||
Double_t | minX, | ||
Double_t | maxX, | ||
const char * | titleX, | ||
Int_t | nbinsY, | ||
Double_t | minY, | ||
Double_t | maxY, | ||
const char * | titleY, | ||
TList * | histoList = nullptr |
||
) |
Create a 2D histogram and add it to the TList of 2D-histograms.
Create 2D histogram
Definition at line 56 of file PerformanceEvaluationBaseClass.cc.
TH3F * createHistogram3D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbinsX, | ||
Double_t * | binsX, | ||
const char * | titleX, | ||
Int_t | nbinsY, | ||
Double_t * | binsY, | ||
const char * | titleY, | ||
Int_t | nbinsZ, | ||
Double_t * | binsZ, | ||
const char * | titleZ, | ||
TList * | histoList = nullptr |
||
) |
Create a 3D histogram and add it to the TList of 3D-histograms.
Definition at line 115 of file PerformanceEvaluationBaseClass.cc.
TH3F * createHistogram3D | ( | const char * | name, |
const char * | title, | ||
Int_t | nbinsX, | ||
Double_t | minX, | ||
Double_t | maxX, | ||
const char * | titleX, | ||
Int_t | nbinsY, | ||
Double_t | minY, | ||
Double_t | maxY, | ||
const char * | titleY, | ||
Int_t | nbinsZ, | ||
Double_t | minZ, | ||
Double_t | maxZ, | ||
const char * | titleZ, | ||
TList * | histoList = nullptr |
||
) |
Create a 3D histogram and add it to the TList of 3D-histograms.
Definition at line 93 of file PerformanceEvaluationBaseClass.cc.
TH1F * createHistogramsRatio | ( | const char * | name, |
const char * | title, | ||
TH1 * | hNum, | ||
TH1 * | hDen, | ||
bool | isEffPlot, | ||
int | axisRef | ||
) |
Make a new 1D histogram from the ratio of two others and add it to the TList of 1D-histograms.
Definition at line 170 of file PerformanceEvaluationBaseClass.cc.
TH1 * duplicateHistogram | ( | const char * | newname, |
const char * | newtitle, | ||
TH1 * | h, | ||
TList * | histoList = nullptr |
||
) |
Make a copy of a 1D histogram and add it to the TList of 1D-histograms.
Definition at line 137 of file PerformanceEvaluationBaseClass.cc.
TH1F * effPlot1D | ( | TH1F * | h1_den, |
TH1F * | h1_num, | ||
const char * | name, | ||
const char * | title, | ||
bool | geo_accettance, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D efficiency histogram and add it to the TList of 1D-histograms.
Definition at line 332 of file PerformanceEvaluationBaseClass.cc.
TH1F * effPlot1D | ( | TH1F * | h1_MC, |
TH1F * | h1_RecoTrack, | ||
TH1F * | h1_Track, | ||
const char * | name, | ||
const char * | title, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D efficiency histogram and add it to the TList of 1D-histograms.
Definition at line 378 of file PerformanceEvaluationBaseClass.cc.
TH2F * effPlot2D | ( | TH2F * | h2_den, |
TH2F * | h2_num, | ||
const char * | name, | ||
const char * | title, | ||
bool | geo_accettance, | ||
TList * | histoList = nullptr |
||
) |
Create a 2D efficiency histogram and add it to the TList of 2D-histograms.
Definition at line 440 of file PerformanceEvaluationBaseClass.cc.
TH2F * effPlot2D | ( | TH2F * | h2_MC, |
TH2F * | h2_RecoTrack, | ||
TH2F * | h2_Track, | ||
const char * | name, | ||
const char * | title, | ||
TList * | histoList | ||
) |
Create a 2D efficiency histogram and add it to the TList of 2D-histograms.
Definition at line 502 of file PerformanceEvaluationBaseClass.cc.
TH1F * geoAcc1D | ( | TH1F * | h1_den, |
TH1F * | h1_num, | ||
const char * | name, | ||
const char * | title, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D efficiency histogram for geometric acceptance and add it to the TList of 1D-histograms.
Definition at line 580 of file PerformanceEvaluationBaseClass.cc.
TH2F * geoAcc2D | ( | TH2F * | h2_den, |
TH2F * | h2_num, | ||
const char * | name, | ||
const char * | title, | ||
TList * | histoList = nullptr |
||
) |
Create a 2D efficiency histogram for geometric acceptance and add it to the TList of 2D-histograms.
Definition at line 605 of file PerformanceEvaluationBaseClass.cc.
TH1F * V0FinderEff | ( | TH1F * | h1_dau0, |
TH1F * | h1_dau1, | ||
TH1F * | h1_Mother, | ||
const char * | name, | ||
const char * | title, | ||
TList * | histoList = nullptr |
||
) |
Create a 1D efficiency histogram for V0 finding and add it to the TList of 1D-histograms.
Definition at line 644 of file PerformanceEvaluationBaseClass.cc.
TList* m_histoList = nullptr |
List of performance-evaluation histograms.
Definition at line 38 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_efficiency = nullptr |
List of efficiency histograms.
Definition at line 46 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_evtCharacterization = nullptr |
List of event-characterization histograms.
Definition at line 41 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_firstHit = nullptr |
List of first-hit-position histograms.
Definition at line 43 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_fit = nullptr |
List of track-fit histograms.
Definition at line 45 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_multiplicity = nullptr |
List of multiplicity histograms.
Definition at line 40 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_others = nullptr |
List of other performance-evaluation histograms.
Definition at line 48 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_pr = nullptr |
List of pattern-recognition histograms.
Definition at line 44 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_purity = nullptr |
List of purity histograms.
Definition at line 47 of file PerformanceEvaluationBaseClass.h.
TList* m_histoList_trkQuality = nullptr |
List of track-quality histograms.
Definition at line 42 of file PerformanceEvaluationBaseClass.h.
std::string m_rootFileName |
root file name
Definition at line 137 of file PerformanceEvaluationBaseClass.h.
TFile* m_rootFilePtr = nullptr |
pointer at root file used for storing histograms
Definition at line 140 of file PerformanceEvaluationBaseClass.h.