Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / T0 / AliT0AnalysisTaskQA.h
CommitLineData
2d3c1146 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#include "AliAnalysisTaskSE.h"
15
16class AliT0AnalysisTaskQA : public AliAnalysisTaskSE {
17 public:
18 AliT0AnalysisTaskQA();
19 AliT0AnalysisTaskQA(const char *name);
20 virtual ~AliT0AnalysisTaskQA();
21
22 virtual void UserCreateOutputObjects();
23 virtual void UserExec(Option_t *option);
24 virtual void Terminate(Option_t *);
25 TObjArray* GetOffsetHistos() {return fTzeroObject;}
26
27 private:
28 AliESDEvent *fESD; //! ESD object
29 TObjArray *fTzeroObject; // array with CFDi-CFD1 and CFDi
30 TH1F *fTzeroORA; //! or A spectrum
31 TH1F *fTzeroORC; //! or C spectrum
32 TH1F *fResolution; //! or A minus or C spectrum
33 TH1F *fTzeroORAplusORC; //! ORA+ORC /2
34 int fRunNumber;
35 TH2F **fTimeVSAmplitude; //! Time vs. Amplitude
36 TH2F *fCFDVSPmtId; //! CFDi vs pmt id
37 TH2F *fSPDVertexVST0Vertex; //! SPD vertex vs T0 vertex
38 TH2F *fOrAvsNtracks; //! T0A vs Ntracks
39 TH2F *fOrCvsNtracks; //! T0C vs Ntracks
40 TH2F *fT0vsNtracks; //! T0A vs Ntracks
41
42
43 AliT0AnalysisTaskQA(const AliT0AnalysisTaskQA&); // not implemented
44 AliT0AnalysisTaskQA& operator=(const AliT0AnalysisTaskQA&); // not implemented
45
46 ClassDef(AliT0AnalysisTaskQA, 1); // example of analysis
47};
48
49#endif