efficiency histograms added
[u/mrichter/AliRoot.git] / PWG1 / T0 / AliT0AnalysisTaskQA.h
CommitLineData
07682040 1#ifndef AliT0AnalysisTaskQA_cxx
2#define AliT0AnalysisTaskQA_cxx
3
4// task determines mean and sigma of T0 signals ORA, ORC, ORA-ORC, ORA+ORC/2
5// Authors: FK
6
7#define NPMT0 24 //number T0 of photomultipliers
8
9class TH1F;
10class TObjArray;
11class AliESDEvent;
12class TH2F;
13
14#ifndef ALIANALYSISTASKSE_H
15#include "AliAnalysisTaskSE.h"
16#endif
17
18class AliT0AnalysisTaskQA : public AliAnalysisTaskSE {
19 public:
20 AliT0AnalysisTaskQA();
21 AliT0AnalysisTaskQA(const char *name);
22 virtual ~AliT0AnalysisTaskQA();
23
24 virtual void UserCreateOutputObjects();
25 virtual void UserExec(Option_t *option);
26 virtual void Terminate(Option_t *);
27 TObjArray* GetOffsetHistos() {return fTzeroObject;}
28
29 private:
30 AliESDEvent *fESD; //! ESD object
31 TObjArray *fTzeroObject; // array with CFDi-CFD1 and CFDi
32 TH1F *fTzeroORA; //! or A spectrum
33 TH1F *fTzeroORC; //! or C spectrum
34 TH1F *fResolution; //! or A minus or C spectrum
35 TH1F *fTzeroORAplusORC; //! ORA+ORC /2
36 int fRunNumber;
37 TH2F **fTimeVSAmplitude; //! Time vs. Amplitude
38 TH2F *fCFDVSPmtId; //! CFDi vs pmt id
39 TH2F *fSPDVertexVST0Vertex; //! SPD vertex vs T0 vertex
40 TH2F *fOrAvsNtracks; //! T0A vs Ntracks
41 TH2F *fOrCvsNtracks; //! T0C vs Ntracks
750c312d 42 TH2F *fT0vsNtracks; //! T0A vs Ntracks
43 TH1F *fEffAC; //T0AC eff
44 TH1F *fEffA; //T0A eff
45 TH1F *fEffC; //T0C eff
46 TH1F *ftracksEffSPD; // ntracks in SPD
07682040 47
48
49 AliT0AnalysisTaskQA(const AliT0AnalysisTaskQA&); // not implemented
50 AliT0AnalysisTaskQA& operator=(const AliT0AnalysisTaskQA&); // not implemented
51
52 ClassDef(AliT0AnalysisTaskQA, 1); // example of analysis
53};
54
55#endif