ROOT logo
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */

#ifndef AliFlowLYZEventPlane_H
#define AliFlowLYZEventPlane_H

// AliFlowLYZEventPlane:
// Class to calculate the event plane and event weight from the LYZ method
// author: N. van der Kolk (kolk@nikhef.nl)

#include "TString.h"
#include "AliFlowVector.h"

class AliFlowEventSimple;
class TProfile;
class TFile;
class TList;

class AliFlowLYZEventPlane {
 public:
  AliFlowLYZEventPlane();
  virtual ~AliFlowLYZEventPlane();

  void Init();
  void CalculateRPandW(AliFlowVector aQ);

  Double_t GetWR() const  {return this->fWR; }
  Double_t GetPsi() const {return this->fPsi; }
  
  //input
  void       SetSecondRunList(TList* list) { this->fSecondRunList = list; }
  TList*     GetSecondRunList()            { return this->fSecondRunList; }
  
 private:
  
  AliFlowLYZEventPlane(const AliFlowLYZEventPlane& aAnalysis);             // copy constructor
  AliFlowLYZEventPlane& operator=(const AliFlowLYZEventPlane& aAnalysis);  // assignment operator
  
  TList*   fSecondRunList;   // list from Second LYZ run output
  Double_t fWR;              // event weight
  Double_t fPsi;             // reaction plane

  TProfile* fSecondReDtheta; // holds Re of Dtheta
  TProfile* fSecondImDtheta; // holds Im of Dtheta
  TProfile* fFirstr0theta;   // holds r0(theta)

  ClassDef(AliFlowLYZEventPlane, 0);          
};

#endif

 AliFlowLYZEventPlane.h:1
 AliFlowLYZEventPlane.h:2
 AliFlowLYZEventPlane.h:3
 AliFlowLYZEventPlane.h:4
 AliFlowLYZEventPlane.h:5
 AliFlowLYZEventPlane.h:6
 AliFlowLYZEventPlane.h:7
 AliFlowLYZEventPlane.h:8
 AliFlowLYZEventPlane.h:9
 AliFlowLYZEventPlane.h:10
 AliFlowLYZEventPlane.h:11
 AliFlowLYZEventPlane.h:12
 AliFlowLYZEventPlane.h:13
 AliFlowLYZEventPlane.h:14
 AliFlowLYZEventPlane.h:15
 AliFlowLYZEventPlane.h:16
 AliFlowLYZEventPlane.h:17
 AliFlowLYZEventPlane.h:18
 AliFlowLYZEventPlane.h:19
 AliFlowLYZEventPlane.h:20
 AliFlowLYZEventPlane.h:21
 AliFlowLYZEventPlane.h:22
 AliFlowLYZEventPlane.h:23
 AliFlowLYZEventPlane.h:24
 AliFlowLYZEventPlane.h:25
 AliFlowLYZEventPlane.h:26
 AliFlowLYZEventPlane.h:27
 AliFlowLYZEventPlane.h:28
 AliFlowLYZEventPlane.h:29
 AliFlowLYZEventPlane.h:30
 AliFlowLYZEventPlane.h:31
 AliFlowLYZEventPlane.h:32
 AliFlowLYZEventPlane.h:33
 AliFlowLYZEventPlane.h:34
 AliFlowLYZEventPlane.h:35
 AliFlowLYZEventPlane.h:36
 AliFlowLYZEventPlane.h:37
 AliFlowLYZEventPlane.h:38
 AliFlowLYZEventPlane.h:39
 AliFlowLYZEventPlane.h:40
 AliFlowLYZEventPlane.h:41
 AliFlowLYZEventPlane.h:42
 AliFlowLYZEventPlane.h:43
 AliFlowLYZEventPlane.h:44
 AliFlowLYZEventPlane.h:45
 AliFlowLYZEventPlane.h:46
 AliFlowLYZEventPlane.h:47
 AliFlowLYZEventPlane.h:48
 AliFlowLYZEventPlane.h:49
 AliFlowLYZEventPlane.h:50
 AliFlowLYZEventPlane.h:51
 AliFlowLYZEventPlane.h:52