]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/GEO/AliAnalysisTaskZDCTreeMaker.h
Adding analysis task
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / GEO / AliAnalysisTaskZDCTreeMaker.h
CommitLineData
aea8c945 1#ifndef ALIANALYSISTASKZDCTREEMAKER_H
2#define ALIANALYSISTASKZDCTREEMAKER_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 AliAnalysisTaskZDCTreeMaker
9// author: Chiara Oppedisano
10//*****************************************************
11
12#include "AliAnalysisTaskSE.h"
13
14class TROOT;
15class TSystem;
16class TList;
17class TFile;
18class TTree;
19
20class AliAnalysisTaskZDCTreeMaker : public AliAnalysisTaskSE {
21
22 public:
23
24 AliAnalysisTaskZDCTreeMaker();
25 AliAnalysisTaskZDCTreeMaker(const char *name);
26 virtual ~AliAnalysisTaskZDCTreeMaker();
27
28 // Implementation of interface methods
29 virtual void UserCreateOutputObjects();
30 virtual void UserExec(Option_t *option);
31 virtual void Terminate(Option_t *);
32
33 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
34 void SetInput(const char* input) {fAnalysisInput = input;}
35 void SetMCInput() {fIsMCInput = kTRUE;}
36 void SetUseSpecialOutput(Bool_t v=kTRUE) {fUseSpecialOutput = v;}
37
38 private:
39
40 Int_t fDebug; // Debug flag
41 TString fAnalysisInput; // "ESD", "AOD"
42 Bool_t fIsMCInput; // true when input is MC
43 Bool_t fUseSpecialOutput; // do we use special output instead of merging?
44 //
45 TList *fOutput; //! list send on output slot 0
46 //
47 TTree *fCentralityTree; //! output tree
48 //
49 //char fTrigClass[100]; // fired trigger classes
50 //
51 Bool_t fIsEventSelected; // is physics selection on
52 //
53 Double_t fxVertex; // X vertex from ITS
54 Double_t fyVertex; // Y vertex from ITS
55 Double_t fzVertex; // Z vertex from ITS
56 Bool_t fVertexer3d; // Is vertex from 3d vertexer?
57 //
58 Int_t fNTracklets; // no. tracklets
59 Int_t fNClusters[2]; // no. clusters on SPD layers
60 //
61 Int_t fIsV0ATriggered; // VOA decision
62 Int_t fIsV0CTriggered; // V0C decision
63 Float_t fMultV0A; // mult. V0A
64 Float_t fMultV0C; // mult. V0C
65 //
66 UInt_t fESDFlag; // ZDC ESD flags
67 Float_t fZNCEnergy; // ZNC Energy
68 Float_t fZPCEnergy; // ZPC Energy
69 Float_t fZNAEnergy; // ZNA Energy
70 Float_t fZPAEnergy; // ZPA Energy
71 Float_t fZEM1Energy; // ZEM1 Energy
72 Float_t fZEM2Energy; // ZEM2 Energy
73
74 Float_t fZNCtower[5]; // ZNC 5 tower signals
75 Float_t fZPCtower[5]; // ZPC 5 tower signals
76 Float_t fZNAtower[5]; // ZNA 5 tower signals
77 Float_t fZPAtower[5]; // ZPA 5 tower signals
78 Float_t fZNCtowerLG[5]; // ZNC 5 tower signals
79 Float_t fZPCtowerLG[5]; // ZPC 5 tower signals
80 Float_t fZNAtowerLG[5]; // ZNA 5 tower signals
81 Float_t fZPAtowerLG[5]; // ZPA 5 tower signals
82 //
83// Int_t fTDCvalues[32][4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
84// Float_t fTDCcorr[32][4]; // TDC corrected values !ONLY FOR ESDs ANALYSIS!
85 //
86 Int_t fTDCZNC[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
87 Int_t fTDCZPC[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
88 Int_t fTDCZNA[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
89 Int_t fTDCZPA[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
90// Int_t fTDCZEM1; // TDC raw values !ONLY FOR ESDs ANALYSIS!
91// Int_t fTDCZEM2; // TDC raw values !ONLY FOR ESDs ANALYSIS!
92
93 Float_t fCentralityV0M; // Centrality from V0A+V0C
94 Float_t fCentralityV0A; // Centrality from V0A
95 Float_t fCentralityV0C; // Centrality from V0C
96 Float_t fCentralityCL1; // Centrality from Clusters in layer 1
97 //
98 AliAnalysisTaskZDCTreeMaker& operator= (const AliAnalysisTaskZDCTreeMaker& ana);
99 AliAnalysisTaskZDCTreeMaker(const AliAnalysisTaskZDCTreeMaker& c);
100 //
101 ClassDef(AliAnalysisTaskZDCTreeMaker,1);
102
103};
104
105#endif
106