Bug in storage manager making possible to delete permanent event fixed
[u/mrichter/AliRoot.git] / MFT / AliMFTClusterQA.h
CommitLineData
820b4d9e 1#ifndef AliMFTClusterQA_H
2#define AliMFTClusterQA_H
3
4#include "TObject.h"
5#include "AliRunLoader.h"
6#include "AliRun.h"
7#include "AliLoader.h"
8#include "AliMFT.h"
9#include "TClonesArray.h"
10#include "AliMFTCluster.h"
11#include "AliMFTSegmentation.h"
12#include "TFile.h"
13#include "TH1D.h"
d4643a10 14#include "TH2D.h"
820b4d9e 15#include "AliLog.h"
16#include "TString.h"
17
18//====================================================================================================================================================
19//
20// Class for the analysis of the MFT clusters (a.k.a. rec points). Few QA histograms are created
21//
22// Contact author: antonio.uras@cern.ch
23//
24//====================================================================================================================================================
25
26class AliMFTClusterQA : public TObject {
27
28public:
29
30 AliMFTClusterQA();
31 virtual ~AliMFTClusterQA() {;}
32
33 void Init(Char_t *readDir, Char_t *outDir, Int_t nEventsToAnalyze);
34 Bool_t LoadNextEvent();
35 void BookHistos();
36 void Terminate();
37
38private:
39
40 AliMFTClusterQA(const AliMFTClusterQA& obj);
41 AliMFTClusterQA& operator=(const AliMFTClusterQA& other);
42
43protected:
44
d4643a10 45 static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes;
820b4d9e 46
d4643a10 47 TH1D *fHistNClustersPerEvent[fNMaxPlanes], *fHistNPixelsPerCluster[fNMaxPlanes];
bcaf50eb 48 TH1D *fHistClusterSizeX[fNMaxPlanes], *fHistClusterSizeY[fNMaxPlanes], *fHistClusterRadialPosition[fNMaxPlanes];
d4643a10 49 TH2D *fClusterScatterPlotXY[fNMaxPlanes];
820b4d9e 50
51 AliLoader *fMFTLoader;
52 AliRunLoader *fRunLoader;
53 AliMFT *fMFT;
54
55 Int_t fNPlanes, fNEvents, fEv;
56
57 TFile *fFileOut;
58
59 TString fReadDir, fOutDir;
60
61 ClassDef(AliMFTClusterQA, 1);
62
63};
64
bcaf50eb 65//====================================================================================================================================================
820b4d9e 66
67#endif
68
69