1 #ifndef AliT0AnalysisTaskQA_cxx
2 #define AliT0AnalysisTaskQA_cxx
4 // task determines mean and sigma of T0 signals ORA, ORC, ORA-ORC, ORA+ORC/2
7 #define NPMT0 24 //number T0 of photomultipliers
14 #include "AliAnalysisTaskSE.h"
16 class AliT0AnalysisTaskQA : public AliAnalysisTaskSE {
18 AliT0AnalysisTaskQA();
19 AliT0AnalysisTaskQA(const char *name);
20 virtual ~AliT0AnalysisTaskQA();
22 virtual void UserCreateOutputObjects();
23 virtual void UserExec(Option_t *option);
24 virtual void Terminate(Option_t *);
25 TObjArray* GetOffsetHistos() {return fTzeroObject;}
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
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
43 AliT0AnalysisTaskQA(const AliT0AnalysisTaskQA&); // not implemented
44 AliT0AnalysisTaskQA& operator=(const AliT0AnalysisTaskQA&); // not implemented
46 ClassDef(AliT0AnalysisTaskQA, 1); // example of analysis