1 #ifndef AliMFTClusterQA_H
2 #define AliMFTClusterQA_H
5 #include "AliRunLoader.h"
9 #include "TClonesArray.h"
10 #include "AliMFTCluster.h"
11 #include "AliMFTSegmentation.h"
18 //====================================================================================================================================================
20 // Class for the analysis of the MFT clusters (a.k.a. rec points). Few QA histograms are created
22 // Contact author: antonio.uras@cern.ch
24 //====================================================================================================================================================
26 class AliMFTClusterQA : public TObject {
31 virtual ~AliMFTClusterQA() {;}
33 void Init(Char_t *readDir, Char_t *outDir, Int_t nEventsToAnalyze);
34 Bool_t LoadNextEvent();
40 AliMFTClusterQA(const AliMFTClusterQA& obj);
41 AliMFTClusterQA& operator=(const AliMFTClusterQA& other);
45 static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes;
47 TH1D *fHistNClustersPerEvent[fNMaxPlanes], *fHistNPixelsPerCluster[fNMaxPlanes];
48 TH1D *fHistClusterSizeX[fNMaxPlanes], *fHistClusterSizeY[fNMaxPlanes], *fHistClusterRadialPosition[fNMaxPlanes];
49 TH2D *fClusterScatterPlotXY[fNMaxPlanes];
51 AliLoader *fMFTLoader;
52 AliRunLoader *fRunLoader;
55 Int_t fNPlanes, fNEvents, fEv;
59 TString fReadDir, fOutDir;
61 ClassDef(AliMFTClusterQA, 1);
65 //====================================================================================================================================================