![]() |
AliPhysics
86c65ee (86c65ee)
|
Public Member Functions | |
FastCentHelper (const char *method) | |
void | SetCentAxis (Int_t n, Double_t low, Double_t high) |
void | SetCentAxis (Int_t n, Double_t *edges) |
void | SetCentAxis (const char *spec) |
Int_t | GetCentralityColor (Double_t, Double_t high) const |
virtual const char * | HistName (Double_t low, Double_t high) const |
virtual const char * | HistTitle (Double_t low, Double_t high) const |
void | ModHist (TH1 *h, Double_t low, Double_t high) |
void | CreateHistos (TCollection *output, TH1D *(*callback)()) |
void | CreateDiagnostics (TCollection *output, TH1 *centHist) |
Int_t | CheckCentrality (Double_t cent, Double_t mult, Double_t b, Double_t nPart, Double_t nBin) |
TObject * | GetOutputObject (TCollection *output, const char *name, TClass *cls) |
Bool_t | Finalize (TCollection *output, Long_t minEvents) |
ClassDef (FastCentHelper, 1) | |
Public Attributes | |
TAxis * | fCentAxis |
TString | fCentMeth |
TList * | fCentList |
TH1 * | fCentAll |
TH1 * | fCentAcc |
TH2 * | fCentMult |
TH2 * | fCentNPart |
TH2 * | fCentNBin |
TH2 * | fCentB |
Definition at line 24 of file FastCentHelper.C.
|
inline |
Definition at line 35 of file FastCentHelper.C.
|
inline |
Check the centrality
cent | Centrality |
mult | Estimator value |
b | Impact parameter |
nPart | Number of participants |
nBin | Number of binary collisions |
Definition at line 372 of file FastCentHelper.C.
Referenced by dNdy::Cent::ProcessHeader(), and dNdeta::Cent::ProcessHeader().
FastCentHelper::ClassDef | ( | FastCentHelper | , |
1 | |||
) |
|
inline |
Create diagnostics histograms
output | |
centHist | Centrality histogram |
Definition at line 285 of file FastCentHelper.C.
Referenced by dNdy::Cent::SetupEstimator(), and dNdeta::Cent::SetupEstimator().
|
inline |
Create histograms
output | |
callback | Call back to create histograms |
Definition at line 222 of file FastCentHelper.C.
Referenced by dNdy::Cent::SlaveBegin(), and dNdeta::Cent::SlaveBegin().
|
inline |
Definition at line 427 of file FastCentHelper.C.
Referenced by dNdy::Cent::Terminate(), and dNdeta::Cent::Terminate().
Get the color associated with a centrality bin.
high | High edge |
Definition at line 152 of file FastCentHelper.C.
Referenced by ModHist().
|
inline |
Get an object from the output list, possibly checking the type
output | Container |
name | Name of object |
cls | Possible class pointer |
Definition at line 412 of file FastCentHelper.C.
Referenced by Finalize().
Get the histogram name
low | Low edge |
high | High edge |
Definition at line 169 of file FastCentHelper.C.
Referenced by ModHist().
Get the histogram title
low | Low edge |
high | High edge |
Definition at line 183 of file FastCentHelper.C.
Referenced by ModHist().
Modify a histogram. Sets the line, marker, and fill styles and colors, as well as the name and title.
h | Histogram to modify |
low | Low edge of our bin |
high | High edge of our bin |
Definition at line 204 of file FastCentHelper.C.
Referenced by CreateHistos().
Set the centrality axis (equi-distant)
n | Number of bin |
low | Lowest bound |
high | Highest bound |
Definition at line 68 of file FastCentHelper.C.
Referenced by FastCentHelper(), dNdy::Mult::Mult(), dNdeta::Mult::Mult(), and SetCentAxis().
Set the centrality axis.
n | Number of bins |
edges | Bin edges |
Definition at line 82 of file FastCentHelper.C.
|
inline |
Set the centrality axis. Spec is either a pre-defined string, or a list of colon separated bin edges. Pre-defined settings are
Example of specs could be
spec |
Definition at line 105 of file FastCentHelper.C.
TH1* FastCentHelper::fCentAcc |
Definition at line 30 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateHistos(), and Finalize().
TH1* FastCentHelper::fCentAll |
Definition at line 29 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateHistos(), and Finalize().
TAxis* FastCentHelper::fCentAxis |
Definition at line 26 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), CreateHistos(), dNdy::Cent::ProcessParticles(), dNdeta::Cent::ProcessParticles(), and SetCentAxis().
TH2* FastCentHelper::fCentB |
Definition at line 34 of file FastCentHelper.C.
Referenced by CheckCentrality(), and CreateDiagnostics().
TList* FastCentHelper::fCentList |
Definition at line 28 of file FastCentHelper.C.
Referenced by CreateHistos(), Finalize(), dNdy::Cent::ProcessParticles(), and dNdeta::Cent::ProcessParticles().
TString FastCentHelper::fCentMeth |
Definition at line 27 of file FastCentHelper.C.
Referenced by dNdy::Cent::Cent(), dNdeta::Cent::Cent(), CreateDiagnostics(), CreateHistos(), FastCentHelper(), and HistTitle().
TH2* FastCentHelper::fCentMult |
Definition at line 31 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TH2* FastCentHelper::fCentNBin |
Definition at line 33 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TH2* FastCentHelper::fCentNPart |
Definition at line 32 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().