Another histos for lumi
[u/mrichter/AliRoot.git] / PWGUD / UPC / AliAnalysisTaskUpcPsi2s.h
CommitLineData
3d16cd00 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3/* $Id$ */
4
5#ifndef ALIANALYSISTASKUPCPSI2S_H
6#define ALIANALYSISTASKUPCPSI2S_H
7
8class TClonesArray;
9class TTree;
10class TH1;
17c65770 11class TH2;
12class TList;
3d16cd00 13
14#define ntrg 17
15#include "AliAnalysisTaskSE.h"
16
17class AliAnalysisTaskUpcPsi2s : public AliAnalysisTaskSE {
18 public:
19 AliAnalysisTaskUpcPsi2s();
20 AliAnalysisTaskUpcPsi2s(const char *name);
21 virtual ~AliAnalysisTaskUpcPsi2s();
22
23 virtual void Init();
24 virtual void UserCreateOutputObjects();
25 virtual void UserExec(Option_t *option);
f052ef6f 26 virtual void RunAODtrig();
17c65770 27 virtual void RunAODhist();
28 virtual void RunAODtree();
f052ef6f 29 virtual void RunESDtrig();
30 virtual void RunESDhist();
31 virtual void RunESDtree();
3d16cd00 32 virtual void Terminate(Option_t *);
17c65770 33 void SetRunTree(Bool_t runTree){fRunTree = runTree;}
34 void SetRunHist(Bool_t runHist){fRunHist = runHist;}
3d16cd00 35
36 private:
3d16cd00 37 Int_t fType; // 0 - ESD, 1 - AOD
17c65770 38 Bool_t fRunTree;
39 Bool_t fRunHist;
3d16cd00 40
3d16cd00 41 //event tree
42 TTree *fJPsiTree;
43 TTree *fPsi2sTree;
44 //tree variables
45 Int_t fRunNum;
46 UInt_t fPerNum, fOrbNum;
47 //trigger
48 Bool_t fTrigger[ntrg];
49 UInt_t fL0inputs, fL1inputs;
50 Int_t fVtxContrib;
d457ec9e
M
51 Double_t fVtxPosX,fVtxPosY,fVtxPosZ;
52 Double_t fVtxErrX,fVtxErrY,fVtxErrZ;
53 Double_t fVtxChi2,fVtxNDF;
353d9181 54 Char_t fVtxType;
3d16cd00 55 UShort_t fBCrossNum, fNtracklets;
56 //vzero, zdc
57 Double_t fZDCAenergy, fZDCCenergy;
58 Int_t fV0Adecision, fV0Cdecision;
59 //input data
60 TObjString *fDataFilnam;
61 Short_t fRecoPass;
62 Long64_t fEvtNum;
63 //tracks
64 TClonesArray *fJPsiAODTracks;
65 TClonesArray *fJPsiESDTracks;
66 TClonesArray *fPsi2sAODTracks;
67 TClonesArray *fPsi2sESDTracks;
68
f052ef6f 69 TList *fListTrig;
70 TH1D *fHistUpcTriggersPerRun;
71 TH1D *fHistZedTriggersPerRun;
72 TH1D *fHistCvlnTriggersPerRun;
353d9181
MB
73 TH1D *fHistMBTriggersPerRun;
74 TH1D *fHistCentralTriggersPerRun;
75 TH1D *fHistSemiCentralTriggersPerRun;
f052ef6f 76
46e1d1dc 77 TList *fListHist;
17c65770 78 TH1D *fHistNeventsJPsi;
79 TH2D *fHistTPCsignalJPsi;
80 TH2D *fHistDiLeptonPtJPsi;
81 TH1D *fHistDiElectronMass;
82 TH1D *fHistDiMuonMass;
83
84 TH1D *fHistNeventsPsi2s;
85 TH2D *fHistPsi2sMassVsPt;
86 TH1D *fHistPsi2sMassCoherent;
87
3d16cd00 88 AliAnalysisTaskUpcPsi2s(const AliAnalysisTaskUpcPsi2s&); //not implemented
89 AliAnalysisTaskUpcPsi2s& operator =(const AliAnalysisTaskUpcPsi2s&); //not implemented
90
91 ClassDef(AliAnalysisTaskUpcPsi2s, 1);
92};
93
94#endif
95
96
97
98
99
100
101
102
103