![]() |
AliPhysics
63e47e1 (63e47e1)
|
#include <AliForwardFlowTaskQC.h>
Public Types | |
enum | { kW2Two = 1, kW2, kW4Four, kW4, kCosphi1phi2, kSinphi1phi2, kCosphi1phi2phi3m, kSinphi1phi2phi3m, k3pWeight, kCosphi1phi2phi3p, kSinphi1phi2phi3p } |
Public Member Functions | |
VertexBin () | |
VertexBin (Int_t vLow, Int_t vHigh, UShort_t moment, TString type, UShort_t flags, Double_t cut=-1, Double_t etaGap=-1.) | |
VertexBin (const VertexBin &o) | |
VertexBin & | operator= (const VertexBin &v) |
~VertexBin () | |
void | AddOutput (TList *list, TAxis *centAxis) |
Bool_t | FillHists (TH2D &dNdetadphi, Double_t cent, UShort_t mode) |
Bool_t | FillTracks (TObjArray *trList, AliESDEvent *esd, AliAnalysisFilter *trFilter, UShort_t mode) |
void | CumulantsAccumulate (Double_t cent) |
void | CumulantsAccumulate3Cor (Double_t cent) |
void | GetLimits (Int_t bin, Int_t &aLow, Int_t &aHigh, Int_t &bLow, Int_t &bHigh) const |
void | CumulantsTerminate (TList *inlist, TList *outlist) |
Protected Member Functions | |
void | CalculateReferenceFlow (CumuHistos &cumu2h, CumuHistos &cumu4h, TH2I *quality, TH1D *chist, TH2D *dNdetaRef) const |
void | CalculateDifferentialFlow (CumuHistos &cumu2h, CumuHistos &cumu4h, TH2I *quality, TH2D *dNdetaDiff) const |
void | Calculate3CorFlow (CumuHistos &cumu2h, TH2I *quality, TH1D *chist, TH2D *dNdetaRef, TH2D *dNdetaDiff) const |
void | SolveCoupledFlowEquations (CumuHistos &cumu, Char_t type) const |
Double_t | CalculateNUAMatrixElement (Int_t n, Int_t m, Char_t type, Int_t binA, Int_t cBin) const |
void | AddVertexBins (CumuHistos &cumu, TList *list, UInt_t nNUA) const |
Int_t | GetBinNumberCos (Int_t n=0) const |
Int_t | GetBinNumberSin (Int_t n=0) const |
void | SetupNUALabels (TAxis *a) const |
TH2I * | MakeQualityHist (const Char_t *name) const |
TH2D * | MakeOutputHist (Int_t qc, Int_t n, const Char_t *ctype, UInt_t nua) const |
Protected Attributes | |
UShort_t | fMaxMoment |
Int_t | fVzMin |
Int_t | fVzMax |
TString | fType |
UShort_t | fFlags |
Double_t | fSigmaCut |
Double_t | fEtaGap |
Double_t | fEtaLims [6] |
TH2D * | fCumuRef |
TH2D * | fCumuDiff |
CumuHistos | fCumuHists |
TH3D * | fCumuNUARef |
TH3D * | fCumuNUADiff |
TH2F * | fdNdedpRefAcc |
TH2F * | fdNdedpDiffAcc |
TH2F * | fOutliers |
UShort_t | fDebug |
Nested class to handle cumulant calculations in vertex bins. Used internally and never streamed.
Definition at line 307 of file AliForwardFlowTaskQC.h.
anonymous enum |
Enumerator | |
---|---|
kW2Two | |
kW2 | |
kW4Four | |
kW4 | |
kCosphi1phi2 | |
kSinphi1phi2 | |
kCosphi1phi2phi3m | |
kSinphi1phi2phi3m | |
k3pWeight | |
kCosphi1phi2phi3p | |
kSinphi1phi2phi3p |
Definition at line 417 of file AliForwardFlowTaskQC.h.
AliForwardFlowTaskQC::VertexBin::VertexBin | ( | ) |
Definition at line 984 of file AliForwardFlowTaskQC.cxx.
AliForwardFlowTaskQC::VertexBin::VertexBin | ( | Int_t | vLow, |
Int_t | vHigh, | ||
UShort_t | moment, | ||
TString | type, | ||
UShort_t | flags, | ||
Double_t | cut = -1 , |
||
Double_t | etaGap = -1. |
||
) |
Constructor
vLow | Min vertex z-coordinate |
vHigh | Max vertex z-coordinate |
moment | Flow moment |
type | Data type (FMD/VZERO/SPD/FMDTR/SPDTR/MC) |
flags | Flags |
cut | Cut value |
etaGap | \(\eta\) gap |
Definition at line 1009 of file AliForwardFlowTaskQC.cxx.
|
inline |
Copy constructor
o | Object to copy from |
Definition at line 336 of file AliForwardFlowTaskQC.h.
|
inline |
Destructor
Definition at line 348 of file AliForwardFlowTaskQC.h.
Add vertex bin output to list
list | Histograms are added to this list |
centAxis | Axis to handle centrality binning |
Definition at line 1101 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardMCFlowTaskQC::InitHists(), and AliForwardFlowTaskQC::InitHists().
|
protected |
Adds up the vertex bins to master profiles
cumu | QC histos |
list | output list |
nNUA | number of nua calculations |
Definition at line 2680 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
|
protected |
Calculate 3 correlator ref and fiff flow
cumu2h | QC2 histos |
quality | QC Quality diag. histo |
chist | Centrality histogram |
dNdetaRef | dN/deta histogram |
dNdetaDiff | dN/deta histogram |
Definition at line 2289 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
|
protected |
Calculate differential flow
cumu2h | QC2 histos |
cumu4h | QC4 histos |
quality | QC Quality diag. histo |
dNdetaDiff | dN/deta histogram |
Definition at line 2120 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
|
protected |
Calculate NUA matrix elements to fill into the matrix
n | row |
m | column |
type | reference of differential flow ('r'/'d'/'a'/'b') |
binA | Eta bin of phi1 |
cBin | Centrality bin |
Definition at line 2523 of file AliForwardFlowTaskQC.cxx.
Referenced by SolveCoupledFlowEquations().
|
protected |
Calculate reference flow
cumu2h | QC2 histos |
cumu4h | QC4 histos |
quality | QC Quality diag. histo |
chist | Centrality histogram |
dNdetaRef | dN/deta histogram |
Definition at line 1975 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
void AliForwardFlowTaskQC::VertexBin::CumulantsAccumulate | ( | Double_t | cent | ) |
Do cumulants calculations for current event with centrality cent
cent | Event centrality |
Definition at line 1436 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::FillVtxBinList(), and AliForwardFlowTaskQC::FillVtxBinListEtaGap().
void AliForwardFlowTaskQC::VertexBin::CumulantsAccumulate3Cor | ( | Double_t | cent | ) |
Do 3 correlator cumulants calculations for current event with centrality cent
cent | Event centrality |
Definition at line 1699 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::FillVtxBinList3Cor().
Finish cumulants calculations. Takes input and output lists in case Terminate is called separately
inlist | List with input histograms |
outlist | List with output histograms |
Definition at line 1790 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::EndVtxBinList().
Bool_t AliForwardFlowTaskQC::VertexBin::FillHists | ( | TH2D & | dNdetadphi, |
Double_t | cent, | ||
UShort_t | mode | ||
) |
Fill reference and differential flow histograms for analysis using histograms as input
dNdetadphi | 2D data histogram |
cent | Centrality |
mode | fill ref/diff or both |
Definition at line 1253 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::FillVtxBinList(), AliForwardFlowTaskQC::FillVtxBinList3Cor(), and AliForwardFlowTaskQC::FillVtxBinListEtaGap().
Bool_t AliForwardFlowTaskQC::VertexBin::FillTracks | ( | TObjArray * | trList, |
AliESDEvent * | esd, | ||
AliAnalysisFilter * | trFilter, | ||
UShort_t | mode | ||
) |
Fill reference and differential flow histograms for analysis using tracks as input
trList | Array with tracks |
esd | ESD event |
trFilter | analysis filter |
mode | fill ref/diff or both |
Definition at line 1351 of file AliForwardFlowTaskQC.cxx.
Referenced by AliForwardFlowTaskQC::FillTracks().
Get the bin number of <<cos(nphi)>>
n | moment |
Definition at line 2741 of file AliForwardFlowTaskQC.cxx.
Referenced by Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CalculateReferenceFlow(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), FillHists(), and FillTracks().
Get the bin number of <<sin(nphi)>>
n | moment |
Definition at line 2760 of file AliForwardFlowTaskQC.cxx.
Referenced by AddOutput(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CalculateReferenceFlow(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), FillHists(), FillTracks(), and SetupNUALabels().
void AliForwardFlowTaskQC::VertexBin::GetLimits | ( | Int_t | bin, |
Int_t & | aLow, | ||
Int_t & | aHigh, | ||
Int_t & | bLow, | ||
Int_t & | bHigh | ||
) | const |
Get limits to do reference flow calculations for 3 correlator method
bin | Differential bin |
aLow | Lowest bin to be used for v_A |
aHigh | Highest bin to be used for v_A |
bLow | Lowest bin to be used for v_B |
bHigh | Highest bin to be used for v_B |
Definition at line 1628 of file AliForwardFlowTaskQC.cxx.
Referenced by Calculate3CorFlow(), CalculateNUAMatrixElement(), and CumulantsAccumulate3Cor().
|
protected |
Make output histogram
qc | # of particle correlations |
n | flow moment |
ctype | Type of flow |
nua | For nua corrected hists |
Definition at line 2828 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
|
protected |
Make diagnostics hitogram
name | Name |
Definition at line 2798 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
AliForwardFlowTaskQC::VertexBin & AliForwardFlowTaskQC::VertexBin::operator= | ( | const VertexBin & | v | ) |
Assignment operator
v | Object to assing from |
Definition at line 1071 of file AliForwardFlowTaskQC.cxx.
|
protected |
Setup NUA axis with labels
a | NUA axis |
Definition at line 2779 of file AliForwardFlowTaskQC.cxx.
Referenced by AddOutput().
|
protected |
Solve coupled eqs. to get v_n
cumu | CumuHistos object with non-corrected flow results |
type | reference of differential flow ('r'/'d'/'a'/'b') |
Definition at line 2463 of file AliForwardFlowTaskQC.cxx.
Referenced by CumulantsTerminate().
|
protected |
Definition at line 537 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), FillHists(), FillTracks(), and operator=().
|
protected |
Definition at line 538 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateReferenceFlow(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), CumulantsTerminate(), and operator=().
|
protected |
Definition at line 540 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), CumulantsTerminate(), MakeOutputHist(), and operator=().
|
protected |
Definition at line 539 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CalculateReferenceFlow(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), CumulantsTerminate(), GetLimits(), MakeOutputHist(), MakeQualityHist(), and operator=().
|
protected |
Definition at line 536 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), FillHists(), FillTracks(), and operator=().
|
protected |
Definition at line 544 of file AliForwardFlowTaskQC.h.
Referenced by Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CalculateReferenceFlow(), operator=(), and VertexBin().
|
protected |
Definition at line 542 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), FillHists(), FillTracks(), and operator=().
|
protected |
Definition at line 541 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), FillHists(), FillTracks(), and operator=().
|
protected |
Definition at line 534 of file AliForwardFlowTaskQC.h.
Referenced by FillHists(), FillTracks(), operator=(), and AliForwardFlowTaskQC::PrintFlowSetup().
|
protected |
Definition at line 535 of file AliForwardFlowTaskQC.h.
Referenced by Calculate3CorFlow(), CalculateNUAMatrixElement(), CumulantsAccumulate3Cor(), operator=(), and VertexBin().
|
protected |
Definition at line 532 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), AddVertexBins(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateNUAMatrixElement(), CalculateReferenceFlow(), CumulantsAccumulate(), CumulantsTerminate(), FillHists(), FillTracks(), GetLimits(), MakeOutputHist(), MakeQualityHist(), operator=(), SolveCoupledFlowEquations(), and VertexBin().
|
protected |
Definition at line 528 of file AliForwardFlowTaskQC.h.
Referenced by AliForwardFlowTaskQC::CumuHistos::Add(), AddOutput(), AddVertexBins(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateReferenceFlow(), AliForwardFlowTaskQC::CumuHistos::ConnectList(), CumulantsAccumulate(), CumulantsAccumulate3Cor(), CumulantsTerminate(), FillHists(), FillTracks(), GetBinNumberCos(), GetBinNumberSin(), AliForwardFlowTaskQC::CumuHistos::GetPos(), MakeQualityHist(), operator=(), AliForwardFlowTaskQC::PrintFlowSetup(), and SolveCoupledFlowEquations().
|
protected |
Definition at line 543 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), FillHists(), and operator=().
|
protected |
Definition at line 533 of file AliForwardFlowTaskQC.h.
Referenced by FillHists(), and operator=().
|
protected |
Definition at line 531 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), Calculate3CorFlow(), CalculateDifferentialFlow(), CalculateReferenceFlow(), CumulantsTerminate(), MakeOutputHist(), operator=(), SolveCoupledFlowEquations(), and VertexBin().
|
protected |
Definition at line 530 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), CumulantsTerminate(), MakeOutputHist(), operator=(), and SolveCoupledFlowEquations().
|
protected |
Definition at line 529 of file AliForwardFlowTaskQC.h.
Referenced by AddOutput(), CumulantsTerminate(), MakeOutputHist(), operator=(), and SolveCoupledFlowEquations().