Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / PWGPP / ZDC / AliAnalysisTaskZDCpA.h
CommitLineData
e78776f6 1#ifndef ALIANALYSISTASKZDCPA_H
2#define ALIANALYSISTASKZDCPA_H
3
4/* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//*****************************************************
8// Class AliAnalysisTaskZDCpA
9// author: Chiara Oppedisano
10//*****************************************************
11
12#include "AliAnalysisTaskSE.h"
13
14class TROOT;
15class TSystem;
16class TList;
17class TFile;
18class TH2F;
19class TTree;
20
21class AliAnalysisTaskZDCpA : public AliAnalysisTaskSE {
22
23 public:
24
25 AliAnalysisTaskZDCpA();
26 AliAnalysisTaskZDCpA(const char *name);
27 AliAnalysisTaskZDCpA& operator= (const AliAnalysisTaskZDCpA& ana);
28 AliAnalysisTaskZDCpA(const AliAnalysisTaskZDCpA& c);
29 virtual ~AliAnalysisTaskZDCpA();
30
31 // Implementation of interface methods
32 virtual void UserCreateOutputObjects();
33 virtual void UserExec(Option_t *option);
34 virtual void Terminate(Option_t *option);
35
36 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
37 void SetMCInput() {fIsMCInput = kTRUE;}
38
39 private:
40
41 Int_t fDebug; // Debug flag
42 Bool_t fIsMCInput; // true when input is MC
43 //
44 TList *fOutput; //! list send on output slot 0
409b5d4d 45 TH1F *fhTDCZNC; //! TDC ZNC sum
46 TH1F *fhTDCZNA; //! TDC DIFF sum
e78776f6 47 TH1F *fhTDCZNSum; //! TDC ZNC sum
48 TH1F *fhTDCZNDiff; //! TDC DIFF sum
409b5d4d 49 TH1F *fhZNCSumQ; //! ZNC sum 4Q
50 TH1F *fhZNASumQ; //! ZNA sum 4Q
51 TH1F *fhZPCSumQ; //! ZPC sum 4Q
52 TH1F *fhZPASumQ; //! ZPA sum 4Q
e78776f6 53 TH1F *fhZEM1Spectrum; //! ZEM1 spectra
54 TH1F *fhZEM2Spectrum; //! ZEM2 spectra
55 TH1F *fhZNCpmc; //! ZNC PMCs
56 TH1F *fhZNApmc; //! ZNA PMCs
57 TH1F *fhZPCpmc; //! ZPC PMCs
58 TH1F *fhZPApmc; //! ZPA PMCs
59 TH2F *fhZNCCentroid; //! ZNC centroid
60 TH2F *fhZNACentroid; //! ZNA centroid
e78776f6 61 TH1F *fhPMCZNCemd; //! ZNC PMC low gain chain
62 TH1F *fhPMCZNAemd; //! ZNA PMC low gain chain
63 TH2F *fDebunch; //! TDC sum vs. diff
f798984a 64 TH1F *fhTDCZNAcorr; //! ZNA corrected TDC
65 TH1F *fhTDCZNCcorr; //! ZNC corrected TDC
66
e78776f6 67
409b5d4d 68 ClassDef(AliAnalysisTaskZDCpA,2);
e78776f6 69
70};
71
72#endif
73