17#ifndef CbmTrackingTrdQa_H
18#define CbmTrackingTrdQa_H 1
24#include "TProfile2D.h"
29#include <TStopwatch.h>
61 virtual InitStatus
Init();
64 virtual InitStatus
ReInit();
67 virtual void Exec(Option_t* opt);
85 static const char*
Idx2Name(
int idx);
86 static const char*
Idx2Symb(
int idx);
113 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3, Option_t* opt =
"");
180 std::map<const char*, std::array<TH2F*, fgkNpdg>>
fhPidPtY;
Definition of the CbmQaHist class.
Access to a MC data branch for time-based analysis.
Task class creating and managing CbmMCDataArray objects.
Bookkeeping of time-slice content.
TClonesArray * fTrdHitMatch
TrdHits.
std::array< TH2F *, fgkNpdg > fhPidXY
CbmMCDataArray * fMCTracks
MC tracks.
static int Pdg2Idx(int pdg)
TClonesArray * fTrdHits
TrdPoints.
McTrackInfo & getMcTrackInfo(const CbmLink &link)
std::map< const char *, std::array< TH2F *, fgkNpdg > > fhPidPtY
ClassDef(CbmTrackingTrdQa, 0)
FairRootManager * fManager
map track link -> track info
Int_t fTrdNstations
MCtrack.
TClonesArray * fStsTrackMatches
StsTrack.
TClonesArray * fTrdTracks
GlobalTrack.
std::map< CbmLink, McTrackInfo > fMcTrackInfoMap
static const char * Idx2Symb(int idx)
CbmMCDataArray * fTrdPoints
static const char * fgkIdxName[fgkNpdg]
TClonesArray * fTrdTrackMatches
TrdTrack.
std::vector< CbmQaHist< TProfile2D > > fhStationEffXY
output folder with histos and canvases
virtual void Exec(Option_t *opt)
static int Idx2Pdg(int idx)
CbmTrackingTrdQa(const CbmTrackingTrdQa &)
static const char * Idx2Name(int idx)
virtual InitStatus Init()
virtual ~CbmTrackingTrdQa()
virtual void SetParContainers()
CbmMCDataManager * fMcManager
TClonesArray * fStsTracks
TrdTrackMatch.
TClonesArray * fGlobalTracks
TrdHitMatch.
CbmTrackingTrdQa operator=(const CbmTrackingTrdQa &)
void DivideHistos(TH1 *histo1, TH1 *histo2, TH1 *histo3, Option_t *opt="")
TVector3 fTargetPos
StsTrackMatch.
CbmTrackingTrdQa(Int_t iVerbose=1)
CbmTimeSlice * fTimeSlice
static const char * fgkIdxSymb[fgkNpdg]
virtual InitStatus ReInit()
void FillTrackMatchMap(Int_t &nRec, Int_t &nGhosts, Int_t &nClones)
void CollectMcEvents(TClonesArray *Matches)
Int_t fStsTrackMatch
matched TrdTrack index
Int_t fMatchedNHitsTrue
number of matched hits
Int_t fNtimesReconstructed
Double_t fQuali
matched StsTrack index
std::map< Int_t, Int_t > fHitMap
Int_t fMatchedNHitsAll
percentage of matched hits
Int_t fTrdTrackMatch
matched GlobalTrack index
Bool_t fIsAccepted
number of matched hits
Int_t fGlobalTrackMatch
Trd station -> number of attached hits.