![]() |
AliPhysics
5bb840e (5bb840e)
|
#include <AliForwardFlowTaskQC.h>
Classes | |
struct | CumuHistos |
class | VertexBin |
Public Types | |
enum | EFlowFlags { kStdQC = 0x0001, kEtaGap = 0x0002, k3Cor = 0x0004, kSymEta = 0x0008, kSatVtx = 0x0010, kNUAcorr = 0x0020, kFMD = 0x0040, kVZERO = 0x0080, kSPD = 0x0100, kMC = 0x0200, kTracks = 0x1000, kTPC = 0x3000, kHybrid = 0x5000 } |
Public Member Functions | |
AliForwardFlowTaskQC () | |
AliForwardFlowTaskQC (const char *name) | |
virtual | ~AliForwardFlowTaskQC () |
TList * | GetOutputList () |
void | SetMaxFlowMoment (Short_t n) |
void | SetVertexAxis (TAxis *axis) |
void | SetCentralityAxis (TAxis *axis) |
void | SetCentralityAxis (const char *bins) |
void | SetDetectorCuts (Double_t fmdCut, Double_t spdCut) |
void | SetFlowFlags (UShort_t flags) |
void | SetEtaGapValue (Double_t eg) |
void | SetTrackCuts (AliAnalysisFilter *trCuts) |
Task interface methods | |
virtual void | UserCreateOutputObjects () |
virtual void | Init () |
virtual void | UserExec (Option_t *option) |
virtual void | Terminate (Option_t *option) |
Static Public Member Functions | |
static const Char_t * | GetQCType (UShort_t flags, Bool_t prependUS=kTRUE) |
Protected Types | |
enum | { kFillRef = 0x1, kFillDiff = 0x2, kFillBoth = 0x3, kReset = 0x4 } |
enum | { kNoEvent = 1, kNoForward, kNoCentral, kNoTrigger, kNoCent, kInvCent, kNoVtx, kInvVtx, kOK } |
Protected Attributes | |
TAxis * | fVtxAxis |
TAxis * | fCentAxis |
Double_t | fFMDCut |
Double_t | fSPDCut |
UShort_t | fFlowFlags |
Double_t | fEtaGap |
TList | fBinsForward |
TList | fBinsCentral |
TList * | fSumList |
TList * | fOutputList |
AliAODEvent * | fAOD |
AliAnalysisFilter * | fTrackCuts |
Int_t | fMaxMoment |
Float_t | fVtx |
Double_t | fCent |
TH2D | fHistdNdedpV0 |
TH2D | fHistdNdedp3Cor |
TH2D * | fHistFMDSPDCorr |
TH1D * | fHistCent |
TH1D * | fHistVertexSel |
TH1I * | fHistEventSel |
Calculate the flow in the forward regions using the Q cumulants method
Outputs:
Definition at line 46 of file AliForwardFlowTaskQC.h.
|
protected |
Enum for filling flow histos
Enumerator | |
---|---|
kFillRef | |
kFillDiff | |
kFillBoth | |
kReset |
Definition at line 282 of file AliForwardFlowTaskQC.h.
|
protected |
Enum for event diagnostics
Enumerator | |
---|---|
kNoEvent | |
kNoForward | |
kNoCentral | |
kNoTrigger | |
kNoCent | |
kInvCent | |
kNoVtx | |
kInvVtx | |
kOK |
Definition at line 291 of file AliForwardFlowTaskQC.h.
Enum for flow flags
Enumerator | |
---|---|
kStdQC | |
kEtaGap | |
k3Cor | |
kSymEta | |
kSatVtx | |
kNUAcorr | |
kFMD | |
kVZERO | |
kSPD | |
kMC | |
kTracks | |
kTPC | |
kHybrid |
Definition at line 152 of file AliForwardFlowTaskQC.h.
AliForwardFlowTaskQC::AliForwardFlowTaskQC | ( | ) |
Constructor
AliForwardFlowTaskQC::AliForwardFlowTaskQC | ( | const char * | name | ) |
|
inlinevirtual |
Destructor
Definition at line 62 of file AliForwardFlowTaskQC.h.
|
protected |
Copy constructor
o | Object to copy from |
Definition at line 110 of file AliForwardFlowTaskQC.cxx.
|
protectedvirtual |
Analyze event
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 373 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Analyze(), and UserExec().
|
protectedvirtual |
Check AODevent object for trigger, vertex and centrality uses aod header if object is null returns true if event is OK
aodfm | AliAODForwardMult object |
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 786 of file AliForwardFlowTaskQC.cxx.
Referenced by Analyze(), and AliForwardMCFlowTaskQC::CheckEvent().
|
protectedvirtual |
Check trigger from AODForwardMult object uses aod header if object is null returns true if offline trigger is present
aodfm | AliAODForwardMult object |
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 822 of file AliForwardFlowTaskQC.cxx.
Referenced by CheckEvent().
|
protected |
Combine forward and central detector histograms to one histogram, to be used for 3 correlator method
hcent | Central data |
hfwd | Forward data |
Definition at line 541 of file AliForwardFlowTaskQC.cxx.
Referenced by FillVtxBinList3Cor().
|
protected |
Loops over VertexBin list and calls terminate on each
list | VertexBin list |
Definition at line 736 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Finalize(), and Finalize().
Get Fill tracks from ESD or AOD input event
Definition at line 621 of file AliForwardFlowTaskQC.cxx.
Referenced by FillVtxBinList(), and FillVtxBinListEtaGap().
|
protected |
Loops of vertex bins in list and runs analysis on those for current vertex
list | List of vertex bins |
h1 | dN/detadphi histogram |
vtx | Current vertex bin |
flags | Extra flags |
Definition at line 444 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Analyze(), and Analyze().
|
protected |
Loops of vertex bins in list and runs analysis on those for current vertex
list | List of vertex bins |
hcent | dN/detadphi histogram for central barrel |
hfwd | dN/detadphi histogram for fwd detectors |
vtx | Current vertex bin |
flags | Extra flags |
Definition at line 512 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Analyze(), and Analyze().
|
protected |
Loops of vertex bins in list and runs analysis on those for current vertex
list | List of vertex bins |
href | dN/detadphi histogram for ref flow |
hdiff | dN/detadphi histogram for diff flow |
vtx | Current vertex bin |
flags | Extra flags |
Definition at line 479 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Analyze(), and Analyze().
|
protected |
Fill VZERO d^2N/detadphi hist
vzero | AliAODVZERO object |
Definition at line 948 of file AliForwardFlowTaskQC.cxx.
Referenced by Analyze().
|
protectedvirtual |
Finalize analysis
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 719 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::Finalize(), and Terminate().
|
protectedvirtual |
Check for centrality in AliAODForwardMult object, uses aod header if object is null if present return true - also sets fCent value
aodfm | AliAODForwardMult object |
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 839 of file AliForwardFlowTaskQC.cxx.
Referenced by CheckEvent(), and AliForwardMCFlowTaskQC::GetCentrality().
|
inline |
Get QC type
flags | EFlowFlags |
prependUS | prepend an underscore |
Definition at line 2899 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::VertexBin::AddOutput(), AddTaskForwardFlowQC(), AliForwardFlowTaskQC::VertexBin::CumulantsTerminate(), AliForwardMCFlowTaskQC::InitHists(), InitHists(), AliForwardFlowTaskQC::VertexBin::MakeOutputHist(), AliForwardFlowTaskQC::VertexBin::SolveCoupledFlowEquations(), and AliForwardFlowTaskQC::VertexBin::VertexBin().
|
protectedvirtual |
Check for vertex in AliAODForwardMult uses aod header if object is null returns true if in range of fVtxAXis, also sets fVtx value
aodfm | AliAODForwardMult object |
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 880 of file AliForwardFlowTaskQC.cxx.
Referenced by CheckEvent(), and AliForwardMCFlowTaskQC::GetVertex().
|
protected |
Get VZERO Data
Definition at line 921 of file AliForwardFlowTaskQC.cxx.
Referenced by Analyze().
|
inlinevirtual |
Initialize the task
Definition at line 74 of file AliForwardFlowTaskQC.h.
|
protectedvirtual |
Initiate diagnostics histograms
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 287 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::InitHists(), and UserCreateOutputObjects().
|
protectedvirtual |
Initiate vertex bin objects
Reimplemented in AliForwardMCFlowTaskQC.
Definition at line 266 of file AliForwardFlowTaskQC.cxx.
Referenced by Finalize(), AliForwardMCFlowTaskQC::InitVertexBins(), and UserCreateOutputObjects().
|
protected |
Projects a list of TH2D's with flow results to TH1's in centrality bins
list | List of flow results |
Definition at line 752 of file AliForwardFlowTaskQC.cxx.
Referenced by Terminate().
|
protected |
Assignment operator
Definition at line 143 of file AliForwardFlowTaskQC.cxx.
|
protected |
Print the setup of the task
Definition at line 2862 of file AliForwardFlowTaskQC.cxx.
Referenced by UserCreateOutputObjects().
|
inline |
Set centrality/multiplicity binning and range
axis | Use this binning |
Definition at line 111 of file AliForwardFlowTaskQC.h.
Referenced by SetCentralityAxis().
void AliForwardFlowTaskQC::SetCentralityAxis | ( | const char * | bins | ) |
Set the centrality axis to use based on a string. The bin edges are separated by colons.
bins | String of bin edges |
Definition at line 210 of file AliForwardFlowTaskQC.cxx.
Set detector sigma cuts
fmdCut | FMD sigma cut |
spdCut | SPD sigma cut |
Definition at line 125 of file AliForwardFlowTaskQC.h.
|
inline |
Set \(|\eta|\) value to make cut for \(\eta\) gap at
eg | gap value |
Definition at line 147 of file AliForwardFlowTaskQC.h.
void AliForwardFlowTaskQC::SetFlowFlags | ( | UShort_t | flags | ) |
Set flow flags, \(\eta\)-gap, sym. around \(\eta=0\) or sat. vtx. interactions, also sets which forward detector to use
flags | EFlowFlags |
Definition at line 238 of file AliForwardFlowTaskQC.cxx.
|
inline |
Set max flow moment to calculate.
n | Do v_2 to v_n |
Definition at line 99 of file AliForwardFlowTaskQC.h.
|
inline |
Definition at line 148 of file AliForwardFlowTaskQC.h.
|
inline |
Set vertex binning and range
axis | Use this vtx axis |
Definition at line 105 of file AliForwardFlowTaskQC.h.
|
virtual |
|
virtual |
Create output objects
Definition at line 253 of file AliForwardFlowTaskQC.cxx.
|
virtual |
Process each event
option | Not used |
Definition at line 353 of file AliForwardFlowTaskQC.cxx.
|
protected |
Definition at line 703 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::Analyze(), Analyze(), AliForwardMCFlowTaskQC::CheckEvent(), AliForwardMCFlowTaskQC::FillMCHist(), FillTracks(), GetCentrality(), GetVertex(), GetVZERO(), and operator=().
|
protected |
Definition at line 700 of file AliForwardFlowTaskQC.h.
Referenced by Analyze(), Finalize(), InitHists(), and InitVertexBins().
|
protected |
Definition at line 699 of file AliForwardFlowTaskQC.h.
Referenced by Analyze(), Finalize(), InitHists(), and InitVertexBins().
|
protected |
Definition at line 707 of file AliForwardFlowTaskQC.h.
Referenced by CheckEvent(), FillVtxBinList(), FillVtxBinList3Cor(), FillVtxBinListEtaGap(), AliForwardMCFlowTaskQC::GetCentrality(), GetCentrality(), operator=(), and UserExec().
|
protected |
Definition at line 694 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::GetCentrality(), GetCentrality(), AliForwardMCFlowTaskQC::InitHists(), InitHists(), operator=(), PrintFlowSetup(), SetCentralityAxis(), and Terminate().
|
protected |
Definition at line 698 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardFlowTaskQC::VertexBin::FillHists(), AliForwardFlowTaskQC::VertexBin::FillTracks(), AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), AliForwardFlowTaskQC::VertexBin::operator=(), operator=(), PrintFlowSetup(), SetEtaGapValue(), and Terminate().
|
protected |
Definition at line 697 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::Analyze(), Analyze(), CombineHists(), FillVtxBinList(), FillVtxBinListEtaGap(), AliForwardMCFlowTaskQC::InitHists(), InitHists(), AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), operator=(), PrintFlowSetup(), SetFlowFlags(), Terminate(), and UserCreateOutputObjects().
|
protected |
Definition at line 695 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), operator=(), PrintFlowSetup(), and SetDetectorCuts().
|
protected |
Definition at line 711 of file AliForwardFlowTaskQC.h.
Referenced by CheckEvent(), InitHists(), and operator=().
|
protected |
Definition at line 709 of file AliForwardFlowTaskQC.h.
Referenced by CombineHists(), InitHists(), and operator=().
|
protected |
Definition at line 708 of file AliForwardFlowTaskQC.h.
Referenced by Analyze(), FillVZEROHist(), InitHists(), and operator=().
|
protected |
Definition at line 713 of file AliForwardFlowTaskQC.h.
Referenced by Analyze(), CheckEvent(), AliForwardMCFlowTaskQC::GetCentrality(), GetCentrality(), AliForwardMCFlowTaskQC::GetVertex(), GetVertex(), InitHists(), and operator=().
|
protected |
Definition at line 710 of file AliForwardFlowTaskQC.h.
Referenced by Analyze(), InitHists(), and operator=().
|
protected |
Definition at line 712 of file AliForwardFlowTaskQC.h.
Referenced by CheckEvent(), InitHists(), and operator=().
|
protected |
Definition at line 705 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardFlowTaskQC::CumuHistos::Add(), AliForwardFlowTaskQC::VertexBin::AddOutput(), AliForwardFlowTaskQC::VertexBin::AddVertexBins(), AliForwardFlowTaskQC::VertexBin::Calculate3CorFlow(), AliForwardFlowTaskQC::VertexBin::CalculateDifferentialFlow(), AliForwardFlowTaskQC::VertexBin::CalculateReferenceFlow(), AliForwardFlowTaskQC::CumuHistos::ConnectList(), AliForwardFlowTaskQC::VertexBin::CumulantsAccumulate(), AliForwardFlowTaskQC::VertexBin::CumulantsAccumulate3Cor(), AliForwardFlowTaskQC::VertexBin::CumulantsTerminate(), AliForwardFlowTaskQC::VertexBin::FillHists(), AliForwardFlowTaskQC::VertexBin::FillTracks(), AliForwardFlowTaskQC::VertexBin::GetBinNumberCos(), AliForwardFlowTaskQC::VertexBin::GetBinNumberSin(), AliForwardFlowTaskQC::CumuHistos::GetPos(), AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), AliForwardFlowTaskQC::VertexBin::MakeQualityHist(), AliForwardFlowTaskQC::VertexBin::operator=(), operator=(), PrintFlowSetup(), SetMaxFlowMoment(), and AliForwardFlowTaskQC::VertexBin::SolveCoupledFlowEquations().
|
protected |
Definition at line 702 of file AliForwardFlowTaskQC.h.
Referenced by EndVtxBinList(), GetOutputList(), operator=(), and Terminate().
|
protected |
Definition at line 696 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), operator=(), PrintFlowSetup(), and SetDetectorCuts().
|
protected |
Definition at line 701 of file AliForwardFlowTaskQC.h.
Referenced by EndVtxBinList(), AliForwardMCFlowTaskQC::InitHists(), InitHists(), operator=(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
protected |
Definition at line 704 of file AliForwardFlowTaskQC.h.
Referenced by FillTracks(), operator=(), SetTrackCuts(), and UserCreateOutputObjects().
|
protected |
Definition at line 706 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::Analyze(), Analyze(), CheckEvent(), AliForwardMCFlowTaskQC::GetVertex(), GetVertex(), operator=(), and UserExec().
|
protected |
Definition at line 693 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardMCFlowTaskQC::Analyze(), Analyze(), FillVtxBinList(), FillVtxBinList3Cor(), FillVtxBinListEtaGap(), AliForwardMCFlowTaskQC::GetVertex(), GetVertex(), InitHists(), AliForwardMCFlowTaskQC::InitVertexBins(), InitVertexBins(), operator=(), PrintFlowSetup(), SetVertexAxis(), and Terminate().