14#ifndef CBMSTSRECONSTRUCTIONQA_H
15#define CBMSTSRECONSTRUCTIONQA_H 1
20#include "TStopwatch.h"
73 virtual void Exec(Option_t* opt);
77 virtual void Finish();
80 InitStatus GetGeometry();
100 void FillMatchMap(Int_t& nRec, Int_t& nGhosts, Int_t& nClones);
108 void DivideHistos(TH1* histo1, TH1* histo2, TH1* histo3);
112 std::map<Int_t, Int_t> fHitMap;
113 std::map<CbmMCTrack*, std::set<Int_t> > fHitTrackMap;
116 std::map<Int_t, Int_t> fMatchMap;
120 std::map<Int_t, Double_t> fQualiMap;
124 TClonesArray* fMCTracks;
125 TClonesArray* fStsPoints;
126 TClonesArray* fStsHits;
127 TClonesArray* fStsTracks;
128 TClonesArray* fMatches;
129 TClonesArray* fStsDigis;
136 Int_t fStationNrFromMcId[10000];
138 Double_t fWidthSectors[20][500];
139 Int_t HitSt [100000][10];
146 TH1F* fhMomAccAll, *fhMomRecAll, *fhMomEffAll;
147 TH1F* fhMomAccPrim, *fhMomRecPrim, *fhMomEffPrim;
148 TH1F* fhMomAccSec, *fhMomRecSec, *fhMomEffSec;
149 TH1F* fhNpAccAll, *fhNpRecAll, *fhNpEffAll;
150 TH1F* fhNpAccPrim, *fhNpRecPrim, *fhNpEffPrim;
151 TH1F* fhNpAccSec, *fhNpRecSec, *fhNpEffSec;
152 TH1F* fhZAccSec, *fhZRecSec, *fhZEffSec;
153 TH1F* fhNhClones, *fhNhGhosts;
159 Int_t fPartPdgTable[10];
160 TH1F *fhMomAccPart[10], *fhMomRecPart[10], *fhMomEffPart[10];
162 TH1F* fhMomClones, *fhMomGhosts;
172 TH3F* fhPrimaryVertex;
174 TH1F* fhRecRefTracks;
183 TH1F* fhStsTrackFPos[3];
184 TH1F* fhStsTrackLPos[3];
185 TH1F* fhStsTrackFDir[2];
186 TH1F* fhStsTrackLDir[2];
189 TH1F* fhStsTrackFMom;
190 TH1F* fhStsTrackLMom;
191 TH1F* fhStsTrackChiSq;
199 Int_t fNAccAll, fNAccPrim, fNAccRef, fNAccSec;
200 Int_t fNRecAll, fNRecPrim, fNRecRef, fNRecSec;
201 Int_t fNGhosts, fNClones;
204 Int_t fNEventsFailed;
207 Bool_t fOnlineAnalysis;
208 TCanvas* fOnlineCanvas;
209 TPad* fOnlinePad[10];
213 Int_t fNofFiredDigis[20][300][2];
214 Int_t fNofDigisPChip[20][300][2][8];
215 Int_t fNofHits[20][300];
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
virtual void SetParContainers()
void SetShowStation2(Int_t stNr)
void SetShowStation1(Int_t stNr)
CbmStsReconstructionQa(Int_t iVerbose=1)
CbmStsReconstructionQa(Bool_t visualizeBool, Int_t minHits, Double_t quota, Int_t iVerbose)
virtual InitStatus ReInit()
virtual ~CbmStsReconstructionQa()