]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/GEO/AliAnalysisTaskZDCTreeMaker.h
Fixes for coverity
[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;}
faa02a10 34 void SetInput(int input) {fAnalysisInput = input;}
aea8c945 35 void SetMCInput() {fIsMCInput = kTRUE;}
faa02a10 36 void SetUseSpecialOutput(Bool_t v=kTRUE) {fUseSpecialOutput = v;}
aea8c945 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 //
ed9b6e0e 49 TString fTrigClass; // fired trigger classes
aea8c945 50 //
51 Bool_t fIsEventSelected; // is physics selection on
7c6011b7 52 Bool_t fIsPileupFromSPD; // is pilue up from SPD
aea8c945 53 //
54 Double_t fxVertex; // X vertex from ITS
55 Double_t fyVertex; // Y vertex from ITS
56 Double_t fzVertex; // Z vertex from ITS
57 Bool_t fVertexer3d; // Is vertex from 3d vertexer?
58 //
59 Int_t fNTracklets; // no. tracklets
60 Int_t fNClusters[2]; // no. clusters on SPD layers
61 //
62 Int_t fIsV0ATriggered; // VOA decision
63 Int_t fIsV0CTriggered; // V0C decision
64 Float_t fMultV0A; // mult. V0A
65 Float_t fMultV0C; // mult. V0C
66 //
67 UInt_t fESDFlag; // ZDC ESD flags
68 Float_t fZNCEnergy; // ZNC Energy
69 Float_t fZPCEnergy; // ZPC Energy
70 Float_t fZNAEnergy; // ZNA Energy
71 Float_t fZPAEnergy; // ZPA Energy
72 Float_t fZEM1Energy; // ZEM1 Energy
73 Float_t fZEM2Energy; // ZEM2 Energy
74
75 Float_t fZNCtower[5]; // ZNC 5 tower signals
76 Float_t fZPCtower[5]; // ZPC 5 tower signals
77 Float_t fZNAtower[5]; // ZNA 5 tower signals
78 Float_t fZPAtower[5]; // ZPA 5 tower signals
79 Float_t fZNCtowerLG[5]; // ZNC 5 tower signals
80 Float_t fZPCtowerLG[5]; // ZPC 5 tower signals
81 Float_t fZNAtowerLG[5]; // ZNA 5 tower signals
82 Float_t fZPAtowerLG[5]; // ZPA 5 tower signals
83 //
158f334c 84 /*Int_t fTDCZNC[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
aea8c945 85 Int_t fTDCZPC[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
86 Int_t fTDCZNA[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
87 Int_t fTDCZPA[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
158f334c 88 Int_t fTDCZEM1[4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
89 Int_t fTDCZEM2[4];*/ // TDC raw values !ONLY FOR ESDs ANALYSIS!
90 Int_t fTDCvalues[32][4]; // TDC raw values !ONLY FOR ESDs ANALYSIS!
aea8c945 91
eedd57da 92 Float_t fCentralityV0M; // Centrality from V0A+V0C
93 Float_t fCentralityV0A; // Centrality from V0A
94 Float_t fCentralityV0C; // Centrality from V0C
95 Float_t fCentralityCL1; // Centrality from Clusters in layer 1
96 Float_t fCentralityZNA; // Centrality from ZNA
97 Float_t fCentralityZPA; // Centrality from ZPA
98 Float_t fCentralityZNC; // Centrality from ZNC
99 Float_t fCentralityZPC; // Centrality from ZPC
aea8c945 100 //
101 AliAnalysisTaskZDCTreeMaker& operator= (const AliAnalysisTaskZDCTreeMaker& ana);
102 AliAnalysisTaskZDCTreeMaker(const AliAnalysisTaskZDCTreeMaker& c);
103 //
ed9b6e0e 104 ClassDef(AliAnalysisTaskZDCTreeMaker, 5);
aea8c945 105
106};
107
108#endif
109