SetUserModified();
}
+//_____________________________________________________________________________
+void AliFlowEventSimple::AddV2( TF1* ptDepV2 )
+{
+ //add v2 to all tracks wrt the reaction plane angle
+ for (Int_t i=0; i<fNumberOfTracks; i++)
+ {
+ AliFlowTrackSimple* track = static_cast<AliFlowTrackSimple*>(fTrackCollection->At(i));
+ Double_t v2 = ptDepV2->Eval(track->Pt());
+ if (track) track->AddV2(v2, fMCReactionPlaneAngle, fAfterBurnerPrecision);
+ }
+ SetUserModified();
+}
+
//_____________________________________________________________________________
void AliFlowEventSimple::TagRP( AliFlowTrackSimpleCuts* cuts )
{
fTrackCollection->Compress(); //clean up empty slots
return ncleaned;
}
+
+//_____________________________________________________________________________
+TF1* AliFlowEventSimple::SimplePtDepV2()
+{
+ //return a standard pt dependent v2 formula, user has to clean up!
+ return new TF1("StandardPtDepV2","((x<1.0)*(0.05/1.0)*x+(x>=1.0)*0.05)");
+}
+
+//_____________________________________________________________________________
+TF1* AliFlowEventSimple::SimplePtSpectrum()
+{
+ //return a standard pt spectrum, user has to clean up!
+ return new TF1("StandardPtSpectrum","x*TMath::Exp(-pow(0.13957*0.13957+x*x,0.5)/0.4)",0.1,10.);
+}
void AddV3( Double_t v3 );
void AddV4( Double_t v4 );
void AddFlow( Double_t v1, Double_t v2, Double_t v3, Double_t v4 );
+ void AddV2( TF1* ptDepV2 );
void DefineDeadZone( Double_t etaMin, Double_t etaMax, Double_t phiMin, Double_t phiMax );
Int_t CleanUpDeadTracks();
+ static TF1* SimplePtSpectrum();
+ static TF1* SimplePtDepV2();
+
AliFlowTrackSimple* GetTrack(Int_t i);
void AddTrack( AliFlowTrackSimple* track );