![]() |
AliPhysics
71e3bc7 (71e3bc7)
|
#include <AliFMDEventPlaneFinder.h>
Public Member Functions | |
AliFMDEventPlaneFinder () | |
AliFMDEventPlaneFinder (const char *name) | |
AliFMDEventPlaneFinder (const AliFMDEventPlaneFinder &o) | |
virtual | ~AliFMDEventPlaneFinder () |
AliFMDEventPlaneFinder & | operator= (const AliFMDEventPlaneFinder &o) |
virtual void | SetupForData (const TAxis &etaAxis) |
Bool_t | FindEventplane (AliVEvent *esd, AliAODForwardEP &aodEp, TH2D *h, AliForwardUtil::Histos *hists) |
virtual void | CreateOutputObjects (TList *dir) |
void | Print (Option_t *option="") const |
void | SetDebug (Int_t dbg=1) |
void | CalcQVectors (TH2D *h, TH1D *eHist) |
Double_t | CalcEventplane (const TVector2 &v) const |
void | SetRunNumber (Int_t run) |
Int_t | GetRunNumber () |
void | GetPhiDist () |
void | SetUsePhiWeights (Bool_t use=kTRUE) |
void | FillHists (AliAODForwardEP *fmdEP) |
void | SetOADBPath (Char_t *fname) |
Protected Member Functions | |
Double_t | GetPhiWeight (Int_t etaBin, Int_t phiBin) const |
Double_t | CalcDifference (Double_t a1, Double_t a2) const |
TH1D * | MakePsiRHist (const char *name, const char *title, Int_t color) |
TH1D * | MakeDiffHist (const char *name, const char *first, const char *second, Int_t color) |
TH2F * | MakeCorrHist (const char *name, const char *first, const char *second) |
ClassDef (AliFMDEventPlaneFinder, 2) | |
Protected Attributes | |
TList * | fList |
AliVEvent * | fEvent |
TVector2 | fQt |
TVector2 | fQa |
TVector2 | fQc |
TVector2 | fQ1 |
TVector2 | fQ2 |
TVector2 | fQeta |
TH1D * | fHepFMD |
TH1D * | fHepFMDA |
TH1D * | fHepFMDC |
TH1D * | fHepFMDQC1 |
TH1D * | fHepFMDQC2 |
TH1D * | fHdiffFMDAC |
TH1D * | fHdiffFMDTPC |
TH1D * | fHdiffFMDVZERO |
TH2F * | fHcorrFMDAC |
TH2F * | fHcorrFMDTPC |
TH2F * | fHcorrFMDVZERO |
TH2D * | fHPhi |
Int_t | fDebug |
TString | fOADBFileName |
AliOADBContainer * | fOADBContainer |
TH2D * | fPhiDist |
Int_t | fRunNumber |
Bool_t | fUsePhiWeights |
Find the event plane using the FMD
Definition at line 31 of file AliFMDEventPlaneFinder.h.
AliFMDEventPlaneFinder::AliFMDEventPlaneFinder | ( | ) |
Constructor
AliFMDEventPlaneFinder::AliFMDEventPlaneFinder | ( | const char * | name | ) |
AliFMDEventPlaneFinder::AliFMDEventPlaneFinder | ( | const AliFMDEventPlaneFinder & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 106 of file AliFMDEventPlaneFinder.cxx.
|
virtual |
Destructor
Definition at line 146 of file AliFMDEventPlaneFinder.cxx.
Calculat the difference \(a_1 - a_2\) between two angles \(a_1, a_2\) and normalize to \([-\pi/2,\pi/2]\)
a1 | First angle \(a_1\) |
a2 | Second angle \(a_2\) |
Definition at line 448 of file AliFMDEventPlaneFinder.cxx.
Referenced by FillHists().
Double_t AliFMDEventPlaneFinder::CalcEventplane | ( | const TVector2 & | v | ) | const |
Calculate the eventplane from a vector
v | TVector2 of Q-vectors |
Definition at line 427 of file AliFMDEventPlaneFinder.cxx.
Referenced by CalcQVectors(), and FindEventplane().
Calculate Q vectors
h | dN/detadphi histogram |
eHist | histogram for ep vs. eta |
Definition at line 383 of file AliFMDEventPlaneFinder.cxx.
Referenced by FindEventplane().
|
protected |
|
virtual |
Output diagnostic histograms to directory
dir | List to write in |
Definition at line 313 of file AliFMDEventPlaneFinder.cxx.
Referenced by AliFMDEventPlaneTask::Book(), and AliForwardMultiplicityBase::Book().
void AliFMDEventPlaneFinder::FillHists | ( | AliAODForwardEP * | fmdEP | ) |
Fill diagnostics hists
fmdEP | Object containing results of FMD EP calculations |
Definition at line 458 of file AliFMDEventPlaneFinder.cxx.
Referenced by FindEventplane().
Bool_t AliFMDEventPlaneFinder::FindEventplane | ( | AliVEvent * | esd, |
AliAODForwardEP & | aodEp, | ||
TH2D * | h, | ||
AliForwardUtil::Histos * | hists | ||
) |
Do the calculations
hists | Histogram cache |
esd | Event |
aodEp | Output object |
h | Output histogram |
Definition at line 332 of file AliFMDEventPlaneFinder.cxx.
Referenced by AliFMDEventPlaneTask::Event(), AliForwardMultiplicityTask::Event(), and AliForwardMCMultiplicityTask::Event().
void AliFMDEventPlaneFinder::GetPhiDist | ( | ) |
Get the OADB phi distribution for flattening
Definition at line 531 of file AliFMDEventPlaneFinder.cxx.
Referenced by SetRunNumber().
Get the phi weight from OADB histogram for the ep flattening
etaBin | which eta bin |
phiBin | which phi bin |
Definition at line 496 of file AliFMDEventPlaneFinder.cxx.
Referenced by CalcQVectors().
|
inline |
Get the run number
Definition at line 127 of file AliFMDEventPlaneFinder.h.
Referenced by AliFMDEventPlaneTask::Event().
|
protected |
Make a correlation histogram, and add it to the output list.
name | Name of histogram |
first | First variable to correlate (X axis) |
second | Second variable to correlate (Y axis) |
Definition at line 240 of file AliFMDEventPlaneFinder.cxx.
Referenced by SetupForData().
|
protected |
Make a difference histogram, and add to the output list
name | Name of histogram |
first | First variable to correlate (X axis) |
second | Second variable to correlate (Y axis) |
color | Fill and line color of histogram |
Definition at line 220 of file AliFMDEventPlaneFinder.cxx.
Referenced by SetupForData().
|
protected |
Make a histogram of \(\Psi_R\) values
name | Name of histogram |
title | Source |
color | Color of histogram |
Definition at line 202 of file AliFMDEventPlaneFinder.cxx.
Referenced by SetupForData().
AliFMDEventPlaneFinder & AliFMDEventPlaneFinder::operator= | ( | const AliFMDEventPlaneFinder & | o | ) |
Assignement operator
o | Object to assign from |
Definition at line 155 of file AliFMDEventPlaneFinder.cxx.
void AliFMDEventPlaneFinder::Print | ( | Option_t * | option = "" | ) | const |
Print information
option | Print options
|
Definition at line 558 of file AliFMDEventPlaneFinder.cxx.
Referenced by AliForwardMultiplicityBase::Print().
|
inline |
Set the debug level. The higher the value the more output
dbg | Debug level |
Definition at line 100 of file AliFMDEventPlaneFinder.h.
Referenced by AliForwardMultiplicityBase::SetDebug().
|
inline |
Set the OADB path, for using a custom OADB path and file
fname | Name of the custom OADB file, including path |
Definition at line 149 of file AliFMDEventPlaneFinder.h.
void AliFMDEventPlaneFinder::SetRunNumber | ( | Int_t | run | ) |
Set the run number, used for OADB object
run | Run number |
Definition at line 516 of file AliFMDEventPlaneFinder.cxx.
Referenced by AliFMDEventPlaneTask::Event(), and AliForwardMultiplicityBase::PreData().
|
virtual |
Initialize this sub-algorithm
etaAxis | Eta axis to use |
Definition at line 257 of file AliFMDEventPlaneFinder.cxx.
Referenced by AliFMDEventPlaneTask::Book(), and AliForwardMultiplicityBase::PreData().
|
inline |
Flag for setting the use of phi weights for flattening
use | true or false |
Definition at line 137 of file AliFMDEventPlaneFinder.h.
Referenced by AddTaskFMDEventPlane(), ForwardAODConfig(), and TunedConfig().
|
protected |
Definition at line 229 of file AliFMDEventPlaneFinder.h.
Referenced by AliFMDEventPlaneFinder(), CalcEventplane(), CalcQVectors(), CreateOutputObjects(), FillHists(), FindEventplane(), operator=(), SetDebug(), and SetupForData().
|
protected |
Definition at line 210 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), FindEventplane(), and operator=().
|
protected |
Definition at line 225 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 226 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 227 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 222 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 223 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 224 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 217 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 218 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 219 of file AliFMDEventPlaneFinder.h.
Referenced by FillHists(), operator=(), and SetupForData().
|
protected |
Definition at line 220 of file AliFMDEventPlaneFinder.h.
Referenced by operator=(), and SetupForData().
|
protected |
Definition at line 221 of file AliFMDEventPlaneFinder.h.
Referenced by operator=(), and SetupForData().
|
protected |
Definition at line 228 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), operator=(), and SetupForData().
|
protected |
Definition at line 209 of file AliFMDEventPlaneFinder.h.
Referenced by CreateOutputObjects(), GetPhiDist(), MakeCorrHist(), MakeDiffHist(), MakePsiRHist(), operator=(), and SetupForData().
|
protected |
Definition at line 231 of file AliFMDEventPlaneFinder.h.
Referenced by GetPhiDist(), operator=(), and SetupForData().
|
protected |
Definition at line 230 of file AliFMDEventPlaneFinder.h.
Referenced by operator=(), SetOADBPath(), and SetupForData().
|
protected |
Definition at line 232 of file AliFMDEventPlaneFinder.h.
Referenced by GetPhiDist(), GetPhiWeight(), and operator=().
|
protected |
Definition at line 214 of file AliFMDEventPlaneFinder.h.
Referenced by FindEventplane(), and operator=().
|
protected |
Definition at line 215 of file AliFMDEventPlaneFinder.h.
Referenced by FindEventplane(), and operator=().
|
protected |
Definition at line 212 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), FindEventplane(), and operator=().
|
protected |
Definition at line 213 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), FindEventplane(), and operator=().
|
protected |
Definition at line 216 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), and operator=().
|
protected |
Definition at line 211 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), FindEventplane(), and operator=().
|
protected |
Definition at line 233 of file AliFMDEventPlaneFinder.h.
Referenced by GetPhiDist(), GetRunNumber(), operator=(), Print(), and SetRunNumber().
|
protected |
Definition at line 234 of file AliFMDEventPlaneFinder.h.
Referenced by CalcQVectors(), operator=(), Print(), SetRunNumber(), SetupForData(), and SetUsePhiWeights().