Go to the documentation of this file.
10 #ifndef CbmMuchTransportQa_H
11 #define CbmMuchTransportQa_H
19 #include "FairLogger.h"
20 #include "FairRootFileSink.h"
21 #include "FairRootManager.h"
23 #include "FairRuntimeDb.h"
25 #include "TClonesArray.h"
26 #include "TDatabasePDG.h"
31 #include "TParameter.h"
32 #include "TParticlePDG.h"
34 #include "TPieSlice.h"
40 #define BINS_STA fNstations, 0, fNstations
62 void Exec(Option_t* option);
void Exec(Option_t *option)
std::vector< TH2F * > fvMcPointPhiZ
MC point Y vs X [N stations].
TH1F * fhNtracks
MC point R vs Z [N stations].
void Fill2dSpatialDistributionHistos(CbmMuchPoint *point, Int_t stId)
CbmMuchTransportQa(const char *name="MuchHitFinderQa", Int_t verbose=1)
Constructor.
CbmQaCanvas * fCanvUsNtra
virtual ~CbmMuchTransportQa()
Destructor.
TH1F * fhUsNtraPr
number of secondary tracks
TH1F * fhFractionSec
fraction of primary tracks
void InitRatioPieCharts()
void InitFractionHistos()
std::vector< TH1F * > fvFraction
fraction of kaons
void MakePRatioPieCharts()
TH1F * fhFractionEl
fraction of pions
TH1F * fhFractionPr
fraction of secondary tracks
Definition of the CbmQaCanvas class.
void InitCountingHistos()
void MakePrimRatioPieCharts()
CbmQaCanvas * fCanvStationXY
MC point particle ratio pie charts [N stations].
TH1F * fhUsNtraSec
number of primary tracks
void SetParContainers()
FairTask methods.
std::vector< TH2F * > fvMcPointRZ
MC point Phi vs Z [N stations].
TH1F * fhUsNtraAll
number of processed events
TH1F * fhFractionPrim
number of all tracks / event
std::vector< TPie * > fvMcPointPrimRatio
MC point particle ratio pie charts [N stations].
TH1F * fhUsNtraEl
number of pions
TParameter< int > fhNevents
output folder with histos and canvases
void FillCountingHistos(Int_t stId, Int_t motherId, Int_t pdgCode)
std::vector< TH1F * > fvUsNtra
number of kaons
TH1F * fhFractionPi
fraction of protons
std::vector< TPie * > fvMcPointPRatio
pointers to the above histos
CbmQaCanvas * fCanvStationPrimRatio
TH1F * fhUsNtraMu
number of electrons
TH1F * fhFractionMu
fraction of electrons
TH1F * fhUsNtraKa
number of muons
CbmQaCanvas * fCanvStationPRatio
TH1F * fhUsNtraPrim
number of all tracks
TH1F * fhUsNtraPi
number of protons
CbmMuchTransportQa & operator=(const CbmMuchTransportQa &)=delete
std::vector< TH2F * > fvMcPointXY
pointers to the above fhUsNtra* histos
CbmQaCanvas * fCanvStationRZ
TH1F * fhFractionKa
fraction of muons
void Init2dSpatialDistributionHistos()
TClonesArray * fPoints
containers
CbmMuchTransportQa(const CbmMuchTransportQa &)=delete
Deactivated copy constructors.
CbmQaCanvas * fCanvStationPhiZ
TFolder fOutFolder
subfolder for histograms