2 #include "AliRunLoader.h"
6 #include "TClonesArray.h"
45 fHistNClustersPerEvent[iPlane] = 0;
46 fHistNPixelsPerCluster[iPlane] = 0;
47 fHistClusterSizeX[iPlane] = 0;
48 fHistClusterSizeY[iPlane] = 0;
49 fHistClusterRadialPosition[iPlane] = 0;
50 fClusterScatterPlotXY[iPlane] = 0;
82 AliDebug(1, Form(
"event %5d",
fEv));
87 if (!
fMFTLoader->TreeR()->GetEvent())
return kTRUE;
93 AliDebug(1,Form(
"nClusters = %5d", nClusters));
94 for (Int_t iCluster=0; iCluster<nClusters; iCluster++) {
112 fFileOut =
new TFile(Form(
"%s/MFT.RecPoints.QA.root",
fOutDir.Data()),
"recreate");
117 Form(
"Number of clusters per event in Plane%02d",iPlane),
118 25000, -0.5, 24999.5);
121 Form(
"Number of pixels per cluster in Plane%02d",iPlane),
125 Form(
"#Deltax for clusters in Plane%02d",iPlane),
129 Form(
"#Deltay for clusters in Plane%02d",iPlane),
147 Form(
"Cluster radial position (Plane%02d)",iPlane),
148 rMax, 0, Double_t(rMax)/10.);
151 Form(
"Cluster scatter plot (Plane%02d)",iPlane),
152 2*rMax+1, (-rMax-0.5)/10., (rMax+0.5)/10., 2*rMax+1, (-rMax-0.5)/10., (rMax+0.5)/10.);
169 AliInfo(
"Writing QA histos...");
177 Double_t area = 100.*TMath::Pi()*(rMax*rMax - rMin*rMin);
TFile * Open(const char *filename, Long64_t &nevents)
TObjArray * GetRecPointsList() const
TH1D * fHistNClustersPerEvent[fNMaxPlanes]
TH1D * fHistClusterSizeY[fNMaxPlanes]
TH2D * fClusterScatterPlotXY[fNMaxPlanes]
ClassImp(AliMFTClusterQA) AliMFTClusterQA
TH1D * fHistClusterRadialPosition[fNMaxPlanes]
TH1D * fHistClusterSizeX[fNMaxPlanes]
AliRunLoader * fRunLoader
void Init(Char_t *readDir, Char_t *outDir, Int_t nEventsToAnalyze)
TH1D * fHistNPixelsPerCluster[fNMaxPlanes]
static const Int_t kNDisks
Number of Disk.