![]() |
AliPhysics
cc1c0ba (cc1c0ba)
|
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 * | HistName (Int_t i) const |
virtual const char * | HistTitle (Double_t low, Double_t high) const |
void | ModHist (TObject *o, Double_t low, Double_t high, Int_t lvl=0) |
void | CreateHistos (TCollection *output, TObject *(*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 * | CentObject (Int_t bin, TClass *cls=0) const |
TH1 * | CentHist (Int_t bin) const |
TCollection * | CentCollection (Int_t bin) const |
TObject * | GetOutputObject (TCollection *output, const char *name, TClass *cls) |
TH2 * | Get2DDiag (TCollection *output, const char *name, Bool_t projX) |
Bool_t | Finalize (TCollection *output, Long_t minEvents, TH1 *(*callback)(TObject *, Int_t)) |
void | Print (Option_t *option="") const |
Public Attributes | |
TAxis * | fCentAxis |
TString | fCentMeth |
TList * | fCentList |
TH1 * | fCentAll |
TH1 * | fCentAcc |
TH2 * | fCentMult |
TH2 * | fCentNPart |
TH2 * | fCentNBin |
TH2 * | fCentB |
TArrayI | fMapping |
Definition at line 26 of file FastCentHelper.C.
|
inline |
Definition at line 38 of file FastCentHelper.C.
|
inline |
Get the collection associated with the centrality bin bin in the range from 1 to the number of bins defined.
bin | Bin number |
Definition at line 506 of file FastCentHelper.C.
Referenced by spectra::Cent::Terminate().
Get the histogram associated with the centrality bin bin in the range from 1 to the number of bins defined.
bin | Bin number |
Definition at line 493 of file FastCentHelper.C.
Referenced by dNdy::Cent::Terminate().
Get the object associated with the centrality bin bin in the range from 1 to the number of bins defined.
bin | Bin number |
cls | Optional class to check the object against |
Definition at line 450 of file FastCentHelper.C.
Referenced by CentCollection(), and CentHist().
|
inline |
Check the centrality
cent | Centrality |
mult | Estimator value |
b | Impact parameter |
nPart | Number of participants |
nBin | Number of binary collisions |
Definition at line 409 of file FastCentHelper.C.
Referenced by dNdy::Cent::ProcessHeader(), dNdeta::Cent::ProcessHeader(), and spectra::Cent::ProcessHeader().
|
inline |
Create diagnostics histograms
output | |
centHist | Centrality histogram |
Definition at line 322 of file FastCentHelper.C.
Referenced by dNdy::Cent::SetupEstimator(), dNdeta::Cent::SetupEstimator(), and spectra::Cent::SetupEstimator().
|
inline |
Create histograms
output | |
callback | Call back to create histograms |
Definition at line 254 of file FastCentHelper.C.
Referenced by dNdy::Cent::SlaveBegin(), dNdeta::Cent::SlaveBegin(), and spectra::Cent::SlaveBegin().
|
inline |
Definition at line 549 of file FastCentHelper.C.
Referenced by dNdy::Cent::Terminate(), dNdeta::Cent::Terminate(), and spectra::Cent::Terminate().
|
inline |
Definition at line 535 of file FastCentHelper.C.
Referenced by Finalize().
Get the color associated with a centrality bin.
high | High edge |
Definition at line 156 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 520 of file FastCentHelper.C.
Referenced by Finalize(), and Get2DDiag().
Get the histogram name
low | Low edge |
high | High edge |
Definition at line 173 of file FastCentHelper.C.
Referenced by HistName(), and ModHist().
|
inlinevirtual |
Definition at line 179 of file FastCentHelper.C.
Get the histogram title
low | Low edge |
high | High edge |
Definition at line 192 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 213 of file FastCentHelper.C.
Referenced by CreateHistos().
|
inline |
Definition at line 639 of file FastCentHelper.C.
Referenced by dNdeta::Cent::Print(), and spectra::Cent::Print().
Set the centrality axis (equi-distant)
n | Number of bin |
low | Lowest bound |
high | Highest bound |
Definition at line 72 of file FastCentHelper.C.
Referenced by FastCentHelper(), dNdeta::Mult::Mult(), dNdy::Mult::Mult(), and SetCentAxis().
Set the centrality axis.
n | Number of bins |
edges | Bin edges |
Definition at line 86 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 109 of file FastCentHelper.C.
TH1* FastCentHelper::fCentAcc |
Definition at line 32 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateHistos(), and Finalize().
TH1* FastCentHelper::fCentAll |
Definition at line 31 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateHistos(), Finalize(), dNdy::Cent::Terminate(), and spectra::Cent::Terminate().
TAxis* FastCentHelper::fCentAxis |
Definition at line 28 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), CreateHistos(), HistName(), Print(), dNdy::Cent::ProcessParticles(), dNdeta::Cent::ProcessParticles(), and SetCentAxis().
TH2* FastCentHelper::fCentB |
Definition at line 36 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TList* FastCentHelper::fCentList |
Definition at line 30 of file FastCentHelper.C.
Referenced by CentObject(), CreateHistos(), Finalize(), dNdy::Cent::ProcessParticles(), dNdeta::Cent::ProcessParticles(), and spectra::Cent::ProcessParticles().
TString FastCentHelper::fCentMeth |
Definition at line 29 of file FastCentHelper.C.
Referenced by dNdy::Cent::Cent(), dNdeta::Cent::Cent(), spectra::Cent::Cent(), CreateDiagnostics(), CreateHistos(), FastCentHelper(), HistTitle(), and Print().
TH2* FastCentHelper::fCentMult |
Definition at line 33 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TH2* FastCentHelper::fCentNBin |
Definition at line 35 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TH2* FastCentHelper::fCentNPart |
Definition at line 34 of file FastCentHelper.C.
Referenced by CheckCentrality(), CreateDiagnostics(), and Finalize().
TArrayI FastCentHelper::fMapping |
Definition at line 37 of file FastCentHelper.C.
Referenced by CentObject(), and Finalize().