Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / PWGPP / ZDC / AliAnalysisTaskZDC.h
CommitLineData
d42843d3 1#ifndef ALIANALYSISTASKZDC_H
2#define ALIANALYSISTASKZDC_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 AliAnalysisTaskZDC
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 AliAnalysisTaskZDC : public AliAnalysisTaskSE {
22
23 public:
24
25 AliAnalysisTaskZDC();
26 AliAnalysisTaskZDC(const char *name);
27 AliAnalysisTaskZDC& operator= (const AliAnalysisTaskZDC& ana);
28 AliAnalysisTaskZDC(const AliAnalysisTaskZDC& c);
29 virtual ~AliAnalysisTaskZDC();
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
45 TH1F *fhTDCZNSum; //! TDC ZNC sum
46 TH1F *fhTDCZNDiff; //! TDC DIFF sum
47 TH1F *fhZNCSpectrum; //! ZNC spectra
48 TH1F *fhZNASpectrum; //! ZNA spectra
49 TH1F *fhZPCSpectrum; //! ZPC spectra
50 TH1F *fhZPASpectrum; //! ZPA spectra
51 TH1F *fhZEM1Spectrum; //! ZEM1 spectra
52 TH1F *fhZEM2Spectrum; //! ZEM2 spectra
53 TH1F *fhZNCpmc; //! ZNC PMCs
54 TH1F *fhZNApmc; //! ZNA PMCs
55 TH1F *fhZPCpmc; //! ZPC PMCs
56 TH1F *fhZPApmc; //! ZPA PMCs
57 TH2F *fhZNCCentroid; //! ZNC centroid
58 TH2F *fhZNACentroid; //! ZNA centroid
59 TH1F *fhZNCemd; //! ZNC sum low gain chain
60 TH1F *fhZNAemd; //! ZNA sum gain chain
61 TH1F *fhPMCZNCemd; //! ZNC PMC low gain chain
62 TH1F *fhPMCZNAemd; //! ZNA PMC low gain chain
63 TH2F *fDebunch; //! TDC sum vs. diff
64
65
66 ClassDef(AliAnalysisTaskZDC,1);
67
68};
69
70#endif
71