]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowLYZEventPlane.h
more methods use the correction framework
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowLYZEventPlane.h
CommitLineData
f1d945a1 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 AliFlowLYZEventPlane_H
6#define AliFlowLYZEventPlane_H
7
ca88d423 8// AliFlowLYZEventPlane:
9// Class to calculate the event plane and event weight from the LYZ method
10// author: N. van der Kolk (kolk@nikhef.nl)
f1d945a1 11
12#include "TString.h"
ca88d423 13#include "AliFlowVector.h"
f1d945a1 14
15class AliFlowEventSimple;
16class TProfile;
17class TFile;
18
f1d945a1 19class AliFlowLYZEventPlane {
20 public:
21 AliFlowLYZEventPlane();
22 virtual ~AliFlowLYZEventPlane();
23
24 void Init();
882ffd6a 25 void CalculateRPandW(AliFlowVector aQ);
f1d945a1 26
27 Double_t GetWR() const {return this->fWR; }
28 Double_t GetPsi() const {return this->fPsi; }
29
28ca24ad 30 // input file
f1d945a1 31 void SetSecondRunFileName(TString name)
32 { this->fSecondRunFileName = name ; } // Sets input file name
33 TString GetSecondRunFileName() const
34 { return this->fSecondRunFileName ; } // Gets output file name
35 void SetSecondRunFile(TFile* file)
882ffd6a 36 { this->fSecondRunFile = file ; } // Sets second run file
f1d945a1 37
38
f1d945a1 39 private:
40
882ffd6a 41 AliFlowLYZEventPlane(const AliFlowLYZEventPlane& aAnalysis); // copy constructor
42 AliFlowLYZEventPlane& operator=(const AliFlowLYZEventPlane& aAnalysis); // assignment operator
af795c87 43
f1d945a1 44 TFile* fSecondRunFile ; //! pointer to file from second run
f1d945a1 45 TString fSecondRunFileName; //!
46
f1d945a1 47 Double_t fWR; // event weight
48 Double_t fPsi; // reaction plane
49
882ffd6a 50 TProfile* fSecondReDtheta; // holds Re of Dtheta
51 TProfile* fSecondImDtheta; // holds Im of Dtheta
52 TProfile* fFirstr0theta; // holds r0(theta)
f1d945a1 53
54 ClassDef(AliFlowLYZEventPlane, 0);
55};
56
57#endif
ca88d423 58