]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEVZEROEventPlane.h
Place the config and root file at the right place
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEVZEROEventPlane.h
CommitLineData
11ff28c5 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
7* Permission to use, copy, modify and distribute this software and its *
8* documentation strictly for non-commercial purposes is hereby granted *
9* without fee, provided that the above copyright notice appears in all *
10* copies and that both the copyright notice and this permission notice *
11* appear in the supporting documentation. The authors make no claims *
12* about the suitability of this software for any purpose. It is *
13* provided "as is" without express or implied warranty. *
14**************************************************************************/
15//
a8ef1999 16//
17// VZERO event plane task for 2010
11ff28c5 18// Gain equalization + Recentering
19// Need a root file
20//
a8ef1999 21//
11ff28c5 22#ifndef ALIHFEVZEROEVENTPLANE_H
23#define ALIHFEVZEROEVENTPLANE_H
a8ef1999 24
25#include "TProfile.h"
11ff28c5 26#include <AliVEvent.h>
a8ef1999 27#include "TString.h"
11ff28c5 28//#include "TH1F.h"
29//#include "TList.h"
a8ef1999 30
31
32class AliHFEVZEROEventPlane : public TNamed {
33 public:
34 AliHFEVZEROEventPlane();
35 AliHFEVZEROEventPlane(const char *name, const Char_t *title);
36 AliHFEVZEROEventPlane(const AliHFEVZEROEventPlane &ref);
37 AliHFEVZEROEventPlane& operator=(const AliHFEVZEROEventPlane &ref);
38 virtual void Copy(TObject &o) const;
39 ~AliHFEVZEROEventPlane();
40
11ff28c5 41 void ProcessEvent(AliVEvent *event);
a8ef1999 42
43 void SetNameFile(TString namefile) {fnamefile = namefile;};
44 Bool_t OpenInfoCalbration(Int_t run);
45
46 Double_t GetEventPlaneV0A() const {return fEventPlaneV0A;};
47 Double_t GetEventPlaneV0C() const {return fEventPlaneV0C;};
48 Double_t GetEventPlaneV0() const {return fEventPlaneV0;};
49
50 TList *GetOutputList() const {return fOutputList;};
51
52 private:
11ff28c5 53 virtual void Analyze(AliVEvent* esdEvent);
a8ef1999 54
55 Double_t fEventPlaneV0A; // Corrected event plane V0A
56 Double_t fEventPlaneV0C; // Corrected event plane V0C
57 Double_t fEventPlaneV0; // Corrected event plane V0
58
11ff28c5 59 AliVEvent* fESD; //! ESD object
a8ef1999 60 Int_t fRun; // Run number
61 TProfile *fMultV0; //! fMultiplicityV0
62 Float_t fV0Cpol,fV0Apol; // fV0Cpol, fV0Apol
63 static const Int_t fgknCentrBin = 9; // Centrality bins
64 Float_t fMeanQ[fgknCentrBin][2][2]; // mean for centering
65 Float_t fWidthQ[fgknCentrBin][2][2]; // rms for centering
66 TString fnamefile; // name of the file with the coefficient
67 TList *fOutputList; //! Output list
68 TProfile *fMultV0Before; //! fMultiplicityV0 Before
69 TProfile *fMultV0After; //! fMultiplicityV0 After
70 TH1F *fQBefore[fgknCentrBin][2][2]; //! Q centering before
71 TH1F *fQAfter[fgknCentrBin][2][2]; //! Q centering after
72
73
74 ClassDef(AliHFEVZEROEventPlane, 1); //Analysis task for high pt analysis
75};
76
77#endif