16 #define AliFlowAnalysisWithLYZEventPlane_cxx
24 #include "Riostream.h"
68 cout<<
"---Lee Yang Zeros Event Plane Method---"<<endl;
95 if (aQ.Mod()==0.) { cout<<
"Q vector is NULL"<<endl; }
97 for (
Int_t theta=0;theta<iNtheta;theta++) {
98 Double_t dTheta = ((float)theta/iNtheta)*TMath::Pi()/2;
100 Double_t dQtheta = aQ.X()*cos(2*dTheta)+aQ.Y()*sin(2*dTheta);
111 cDtheta(dReDtheta,dImDtheta);
113 TComplex cExpo(0.,dR0*dQtheta);
114 if (cDtheta.Rho()!=0.) { cRatio =(TComplex::Exp(cExpo))/cDtheta; }
115 else { cRatio(0.,0.); }
118 dCosTerm += cRatio.Re() * TMath::Cos(2*dTheta);
119 dSinTerm += cRatio.Re() * TMath::Sin(2*dTheta);
129 fWR = TMath::Sqrt(dCosTerm*dCosTerm + dSinTerm*dSinTerm);
132 fPsi = 0.5*TMath::ATan2(dSinTerm,dCosTerm);
133 if (
fPsi < 0.) {
fPsi += TMath::Pi(); }
virtual ~AliFlowLYZEventPlane()
static AliFlowLYZConstants * GetMaster()
TProfile * fSecondReDtheta
ClassImp(AliFlowLYZEventPlane) AliFlowLYZEventPlane
TProfile * fSecondImDtheta
void CalculateRPandW(AliFlowVector aQ)