![]() |
AliPhysics
114179e (114179e)
|
Public Types | |
enum | { kGeneral = 0x0001, kParameters = 0x0002, kWeights = 0x0004, kdNdetas = 0x0008, kSpecies = 0x0010, kDeltas = 0x0020, kDetails = 0x0040, kPDF = 0x0100, kPNG = 0x0100, kPause = 0x0200, kLandscape = 0x0400, kAltMarker = 0x0800, kDefaultViz = 0x03ff } |
enum | { kUnitScale = 0x0001, kAverageScale = 0x0002, kEtaScale = 0x0004, kFullScale = 0x0008, kDTFS = 0x0010, kClosure = 0x01000, kDefaultProc = 0x0002 } |
enum | { kTopBackground = kAzure-8 } |
typedef AliTrackletAODUtils::Container | Container |
![]() | |
typedef TList | Container |
Public Member Functions | |
AliTrackletdNdeta2 () | |
void | Run (UInt_t proc=kDefaultProc, UInt_t viz=kDefaultViz, UShort_t maxBins=9, const char *dataName="data.root", const char *simName="sim.root", const char *output=0, Double_t fudge=1) |
Steer processing | |
Bool_t | Process (Container *realTop, Container *simTop, TDirectory *outTop, Int_t maxBins) |
Bool_t | ProcessBin (Double_t c1, Double_t c2, Container *realTop, Container *simTop, TDirectory *outTop) |
Bool_t | ProcessBin (Double_t c1, Double_t c2, Container *realCont, Container *simCont, TDirectory *outTop, TDirectory *outDir, Int_t dimen) |
Strangeness | |
Bool_t | CalculateSEF (Container *simCont, const TAxis *centAxis, TDirectory *out) |
@f$\Delta@f$ distributions | |
Bool_t | Deltas (Container *realCont, Container *simCont, TDirectory *outParent, Int_t dim) |
Bool_t | Deltas0D (Container *realCont, Container *simCont, TDirectory *outParent) |
Bool_t | Deltas1D (Container *realCont, Container *simCont, TDirectory *outParent) |
Bool_t | Deltas2D (Container *realCont, Container *simCont, TDirectory *outParent) |
Bool_t | Deltas3D (Container *realCont, Container *simCont, TDirectory *outParent) |
void | WriteDeltas (TDirectory *outDir, TH1 *realDeltaM, TH1 *realDeltaI, TH1 *simDeltaM, TH1 *simDeltaI, TH1 *simDeltaC, TH1 *simDeltaP, TH1 *simDeltaS, TH1 *simDeltaD, TH1 *fit) |
TH1 * | FractionFit (TDirectory *outDir, TH1 *realDeltaM, TH1 *simDeltaC, TH1 *simDeltaP, TH1 *simDeltaS) |
Result extraction | |
TH1 * | Results (Container *realCont, Container *simCont, TDirectory *outParent, Int_t deltaDimen) |
Canvas functions | |
void | ClearCanvas () |
void | CreateCanvas (const TString &outputName) |
void | CloseCanvas () |
void | PrintCanvas (const char *title, const char *shortTitle="page", Float_t size=.7) |
TLegend * | DrawInPad (TVirtualPad *c, Int_t pad, TObject *o, Option_t *opt) |
void | ModLegend (TVirtualPad *p, TLegend *l, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
THStack * | Make2Stack (const char *name, const char *title, Container *realList, Container *simList, Option_t *dataOpt="", Option_t *simOpt="") |
Visualization functions | |
Bool_t | Visualize (Container *realSums, Container *simSums, Container *realRess, Container *simRess, TDirectory *outTop, Int_t maxBins) |
void | VisualizeGeneral (Container *realList, Container *simList) |
void | VisualizeWeights (Container *simList) |
void | VisualizeFinal (TDirectory *outDir, Int_t i) |
void | VisualizeClosure (TDirectory *outDir, Int_t i) |
Bool_t | VisualizeBin (Double_t c1, Double_t c2, Container *simList, TDirectory *outTop) |
Bool_t | VisualizeSpecies (Container *simCont) |
Bool_t | VisualizeSpeciesDelta (Container *simCont, TDirectory *outDir) |
Bool_t | VisualizePrimary (Container *simCont) |
Bool_t | VisualizeDelta (TDirectory *outTop, Int_t dimen) |
Bool_t | VisualizeDetails (TDirectory *outTop, Int_t dimen) |
Bool_t | VisualizeResult (TDirectory *outTop, Int_t dimen) |
Drawing parameters | |
void | VisualizeParam (const char *name, Double_t &y, const char *val) |
void | VisualizeParam (const char *name, Double_t &y, Double_t val) |
void | VisualizeParam (const char *name, Double_t &y, Int_t val) |
void | VisualizeParam (const char *name, Double_t &y, Bool_t val) |
void | VisualizeParams (Container *pars, const char *title) |
void | VisualizeParams (Container *realSums, Container *simSums) |
Some utilities | |
TH1 * | SetAttr (TH1 *h, Color_t color, Style_t marker=20, Double_t size=1., Style_t fill=0, Style_t line=1, Width_t width=1) |
const char * | ObsTitle () const |
Double_t | MeanY (TH1 *h, Double_t &e) |
Double_t | MeanZ (TH2 *h, Double_t &e) |
![]() | |
AliTrackletAODUtils () | |
virtual | ~AliTrackletAODUtils () |
Public Attributes | |
UInt_t | fViz |
UInt_t | fProc |
Double_t | fDeltaCut |
Double_t | fTailDelta |
Double_t | fTailMax |
Double_t | fMaxDelta |
Double_t | fMinK |
Double_t | fMaxK |
Double_t | fMinAlpha |
Double_t | fMaxAlpha |
Double_t | fFudge |
Double_t | fSEF |
TCanvas * | fCanvas |
TPad * | fTop |
TPad * | fBody |
TString | fLastTitle |
TString | fLastBin |
TString | fLastShort |
TLatex * | fHeader |
Bool_t | fRealIsSim |
Additional Inherited Members | |
![]() | |
static void | PdgAttr (Int_t pdg, TString &nme, Color_t &c, Style_t &s) |
static const char * | CentName (Double_t c1, Double_t c2) |
static Color_t | CentColor (const TAxis &axis, Double_t c1, Double_t c2) |
static Color_t | CentColor (Int_t bin) |
static TFile * | OpenFile (const char *filename) |
static Bool_t | CheckAxisNBins (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisLimits (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisBins (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisLabels (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxis (const char *which, const TAxis *a1, const TAxis *a2, Bool_t alsoLbls) |
static Bool_t | CheckConsistency (const TH1 *h1, const TH1 *h2) |
static TObject * | GetO (Container *parent, const char *name, TClass *cls=0, Bool_t verb=true) |
static TObject * | GetO (TDirectory *parent, const char *name, TClass *cls=0, Bool_t verb=true) |
static TH1 * | GetH1 (Container *parent, const char *name, Bool_t verb=true) |
static TH1 * | GetH1 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TProfile * | GetP1 (Container *parent, const char *name, Bool_t verb=true) |
static TH2 * | GetH2 (Container *parent, const char *name, Bool_t verb=true) |
static TH2 * | GetH2 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TH3 * | GetH3 (Container *parent, const char *name, Bool_t verb=true) |
static TH3 * | GetH3 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TProfile2D * | GetP2 (Container *parent, const char *name, Bool_t verb=true) |
static TProfile * | GetP (Container *parent, const char *name, Bool_t verb=true) |
static THStack * | GetHS (Container *parent, const char *name, Bool_t verb=true) |
static THStack * | GetHS (TDirectory *parent, const char *name, Bool_t verb=true) |
static Container * | GetC (Container *parent, const char *name, Bool_t verb=true) |
static Container * | GetC (TDirectory *parent, const char *name, Bool_t verb=true) |
static TDirectory * | GetT (TDirectory *parent, const char *name, Bool_t verb=true) |
static Double_t | GetD (Container *parent, const char *name, Double_t def=-1, Bool_t verb=true) |
static Int_t | GetI (Container *parent, const char *name, Int_t def=-1, Bool_t verb=true) |
static Int_t | GetB (Container *parent, const char *name, Bool_t def=false, Bool_t verb=true) |
static TH1 * | CopyH1 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static TH2 * | CopyH2 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static TH3 * | CopyH3 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static void | CopyAttr (const TH1 *src, TH1 *dest) |
static TH1 * | Make1D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis) |
static TProfile * | Make1P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis) |
static TH2 * | Make2D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis) |
static TH3 * | Make3D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis, const TAxis &zAxis) |
static TProfile2D * | Make2P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis) |
static TH1 * | Scale (TH1 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, TH1 *s) |
static void | FixAxis (TAxis &axis, const char *title=0) |
static void | ScaleAxis (TAxis &ret, Double_t fact=1) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t *borders) |
static void | SetAxis (TAxis &axis, const TString &spec, const char *sep=":,") |
static void | SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t m) |
static void | PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0) |
static TH2 * | ScaleToIPz (TH2 *h, TH1 *ipZ, Bool_t full=false) |
static TH3 * | ScaleToIPz (TH3 *h, TH1 *ipZ, Bool_t full=false) |
static TH3 * | ScaleDelta (TH3 *h, TH2 *scale) |
static TH2 * | ProjectEtaDelta (TH3 *h) |
static TH1 * | ProjectDelta (TH2 *h) |
static TH1 * | ProjectDeltaFull (TH3 *h) |
static TH1 * | AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, TH2 *mask=0, Bool_t verb=true) |
static TObject * | CloneAndAdd (Container *c, TObject *o) |
static Double_t | Integrate (TH1 *h, Double_t min, Double_t max, Double_t &err) |
static Double_t | RatioE (Double_t n, Double_t en, Double_t d, Double_t ed, Double_t &er) |
static Double_t | RatioE2 (Double_t n, Double_t e2n, Double_t d, Double_t e2d, Double_t &e2r) |
static TH1 * | RatioH (const TH1 *num, const TH1 *denom, const char *name=0) |
static void | FixMinMax (TH1 *h, Bool_t ignoreZero=true) |
static void | FixMinMax (THStack *h, Bool_t ignoreZero=true) |
static Int_t * | PdgArray (Int_t &size) |
static const TAxis & | PdgAxis () |
static Int_t | PdgBin (Int_t pdg) |
![]() | |
ClassDef (AliTrackletAODUtils, 1) | |
Post processing
Definition at line 58 of file AliTrackletdNdeta2.C.
Definition at line 60 of file AliTrackletdNdeta2.C.
anonymous enum |
Display options
Enumerator | |
---|---|
kGeneral |
Draw general information |
kParameters |
Draw parameters |
kWeights |
Draw weights |
kdNdetas |
Draw dNch/deta |
kSpecies |
Draw alphas |
kDeltas |
Draw delta information |
kDetails |
Draw backgrounds |
kPDF |
Whether to make a PDF |
kPNG | |
kPause |
Whether to pause after each plot |
kLandscape |
Draw in landscape |
kAltMarker |
Alternative markers |
kDefaultViz |
Default options |
Definition at line 65 of file AliTrackletdNdeta2.C.
anonymous enum |
Calculation options
Definition at line 96 of file AliTrackletdNdeta2.C.
anonymous enum |
Enumerator | |
---|---|
kTopBackground |
Definition at line 112 of file AliTrackletdNdeta2.C.
AliTrackletdNdeta2::AliTrackletdNdeta2 | ( | ) |
Constructor
Definition at line 772 of file AliTrackletdNdeta2.C.
Bool_t AliTrackletdNdeta2::CalculateSEF | ( | Container * | simCont, |
const TAxis * | centAxis, | ||
TDirectory * | out | ||
) |
Calculate the strangeness enhancement factor by looking at the species distributions relative to pions.
simCont | Simulation container |
centAxis | Centrality axis |
out | Output directory |
Definition at line 1100 of file AliTrackletdNdeta2.C.
Referenced by Process().
void AliTrackletdNdeta2::ClearCanvas | ( | ) |
Clear our canvas
Definition at line 1971 of file AliTrackletdNdeta2.C.
Referenced by CreateCanvas(), VisualizeClosure(), VisualizeDelta(), VisualizeDetails(), VisualizeFinal(), VisualizeGeneral(), VisualizeParams(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), VisualizeSpeciesDelta(), and VisualizeWeights().
void AliTrackletdNdeta2::CloseCanvas | ( | ) |
Close the canvas for good
Definition at line 2055 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
void AliTrackletdNdeta2::CreateCanvas | ( | const TString & | outputName | ) |
Create our canvas
outputName | Output file name |
Definition at line 1995 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
Bool_t AliTrackletdNdeta2::Deltas | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent, | ||
Int_t | dim | ||
) |
Get \( \Delta\) distributions and scale appropriately
realCont | Container of real distributions |
simCont | Container of simulated distributions |
outParent | Parent directory for output |
dim | Dimensions of dependence |
Definition at line 1156 of file AliTrackletdNdeta2.C.
Referenced by ProcessBin().
Bool_t AliTrackletdNdeta2::Deltas0D | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent | ||
) |
Get \( \Delta\) distributions but only scale those from injection. In this member function, we use a fixed scaling factor of 1 except for the injection distribtions, where we use the integrated scaling factors. That is, we extract the scaling factors as
\[ k_{XY} = \frac{\int_{\mathrm{tail}}d\Delta_{X}\frac{dN}{d\Delta_{X}}}{ \int_{\mathrm{tail}}d\Delta_{Y}\frac{dN}{d\Delta_{Y}}} \]
where \( X,Y\) are either \( M, I\) or \( M', I'\)
realCont | Container of real distributions |
simCont | Container of simulated distributions |
outParent | Parent directory for output |
Definition at line 1174 of file AliTrackletdNdeta2.C.
Referenced by Deltas().
Bool_t AliTrackletdNdeta2::Deltas1D | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent | ||
) |
Get \( \Delta\) distributions and scale them appropriately. In this member function, we use the integrated scaling factors (e.g., as done in the past). That is, we extract the scaling factors as
\[ k_{XY} = \frac{\int_{\mathrm{tail}}d\Delta_{X}\frac{dN}{d\Delta_{X}}}{ \int_{\mathrm{tail}}d\Delta_{Y}\frac{dN}{d\Delta_{Y}}} \]
where \( X,Y\) are one of \( M, M', I, I'\)
realCont | Container of real distributions |
simCont | Container of simulated distributions |
outParent | Parent directory for output |
Definition at line 1244 of file AliTrackletdNdeta2.C.
Referenced by Deltas().
Bool_t AliTrackletdNdeta2::Deltas2D | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent | ||
) |
Get \( \Delta\) distributions and scale them appropriately. In this member function, we use the \(\eta\) differential scaling factors. That is, we extract the scaling factors as
\[ k_{XY}(\eta) = \frac{\int_{\mathrm{tail}}d\Delta_{X}\frac{d^2N}{d\Delta_{X}d\eta}}{ \int_{\mathrm{tail}}d\Delta_{Y}\frac{d^2N}{d\Delta_{Y}d\eta}} \]
where \( X,Y\) are one of \( M, M', I, I'\)
realCont | Container of real distributions |
simCont | Container of simulated distributions |
outParent | Parent directory for output |
Definition at line 1336 of file AliTrackletdNdeta2.C.
Referenced by Deltas().
Bool_t AliTrackletdNdeta2::Deltas3D | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent | ||
) |
Get \( \Delta\) distributions and scale them appropriately. In this member function, we use the \(\eta,\mathrm{IP}_z\) differential scaling factors. That is, we extract the scaling factors as
\[ k_{XY}(\eta) = \frac{ \int_{\mathrm{tail}}d\Delta_{X}\frac{d^3N}{d\Delta_{X}d\eta d\mathrm{IP}_Z}}{ \int_{\mathrm{tail}}d\Delta_{Y}\frac{d^3N}{d\Delta_{Y}d\eta d\mathrm{IP}_Z}} \]
where \( X,Y\) are one of \( M, M', I, I'\)
realCont | Container of real distributions |
simCont | Container of simulated distributions |
outParent | Parent directory for output |
Definition at line 1459 of file AliTrackletdNdeta2.C.
Referenced by Deltas().
Draw an object in a sub-pad
c | Canvas (or pad) |
pad | Sub-pad number |
o | Object to draw |
opt | Drawing options |
Definition at line 2101 of file AliTrackletdNdeta2.C.
Referenced by VisualizeClosure(), VisualizeDelta(), VisualizeDetails(), VisualizeFinal(), VisualizeGeneral(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), VisualizeSpeciesDelta(), and VisualizeWeights().
TH1 * AliTrackletdNdeta2::FractionFit | ( | TDirectory * | outDir, |
TH1 * | realDeltaM, | ||
TH1 * | simDeltaC, | ||
TH1 * | simDeltaP, | ||
TH1 * | simDeltaS | ||
) |
Do a template fit of
\[ \frac{dN}{d\Delta_M} = a\frac{dN}{d\Delta_C'} + b\frac{dN}{d\Delta_P'} + c\frac{dN}{d\Delta_S'} \]
That is, find parameters \( a, b, c\) that scales the simulation combinatorics \( C'\), primaries \( P'\), and secondaries \( S'\) to match the data \( M\)
outDir | |
realDeltaM | |
simDeltaC | |
simDeltaP | |
simDeltaS |
Definition at line 1609 of file AliTrackletdNdeta2.C.
Referenced by Deltas0D(), Deltas1D(), Deltas2D(), and Deltas3D().
THStack * AliTrackletdNdeta2::Make2Stack | ( | const char * | name, |
const char * | title, | ||
Container * | realList, | ||
Container * | simList, | ||
Option_t * | dataOpt = "" , |
||
Option_t * | simOpt = "" |
||
) |
Make a stack of histograms for real and simulated data.
name | Name of stack |
title | Title of stack |
realList | Container of real data |
simList | Container of simulated data |
dataOpt | Options for real data |
simOpt | Options for simulated data |
Definition at line 2163 of file AliTrackletdNdeta2.C.
Referenced by VisualizeGeneral().
Get mean of a histogram content by fitting with a constant.
h | The histogram to get the mean off |
e | On return, the fit error |
Definition at line 3413 of file AliTrackletdNdeta2.C.
Referenced by Deltas2D().
Get mean of a histogram content by fitting with a constant.
h | The histogram to get the mean off |
e | On return, the fit error |
Definition at line 3429 of file AliTrackletdNdeta2.C.
Referenced by Deltas3D().
void AliTrackletdNdeta2::ModLegend | ( | TVirtualPad * | p, |
TLegend * | l, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | x2, | ||
Double_t | y2 | ||
) |
Modify placement of legend
p | Pad it's drawn in |
l | The legend |
x1 | New X1 coordiante in pad NDC |
y1 | New Y1 coordiante in pad NDC |
x2 | New X2 coordiante in pad NDC |
y2 | New Y2 coordiante in pad NDC |
Definition at line 2147 of file AliTrackletdNdeta2.C.
Referenced by VisualizeClosure(), VisualizeDelta(), VisualizeFinal(), VisualizeGeneral(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), and VisualizeWeights().
|
inline |
The observable title
Definition at line 720 of file AliTrackletdNdeta2.C.
Referenced by Process(), Results(), and VisualizeResult().
void AliTrackletdNdeta2::PrintCanvas | ( | const char * | title, |
const char * | shortTitle = "page" , |
||
Float_t | size = .7 |
||
) |
Print the canvas
title | Title of this page |
shortTitle | Short title of page |
size | Size of title |
Definition at line 2070 of file AliTrackletdNdeta2.C.
Referenced by VisualizeClosure(), VisualizeDelta(), VisualizeDetails(), VisualizeFinal(), VisualizeGeneral(), VisualizeParams(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), VisualizeSpeciesDelta(), and VisualizeWeights().
Bool_t AliTrackletdNdeta2::Process | ( | Container * | realTop, |
Container * | simTop, | ||
TDirectory * | outTop, | ||
Int_t | maxBins | ||
) |
Process the data
realTop | Top-level container of real data |
simTop | Top-level container of simulated data |
outTop | Top-level output directory |
maxBins | Maximum number of bins to process |
Definition at line 874 of file AliTrackletdNdeta2.C.
Referenced by Run().
Bool_t AliTrackletdNdeta2::ProcessBin | ( | Double_t | c1, |
Double_t | c2, | ||
Container * | realTop, | ||
Container * | simTop, | ||
TDirectory * | outTop | ||
) |
Process a single centrality bin
c1 | Lower centrality bound |
c2 | Upper centrality bound |
realTop | Real container |
simTop | Simulation container |
outTop | Top-level output directory |
Definition at line 992 of file AliTrackletdNdeta2.C.
Referenced by Process().
Bool_t AliTrackletdNdeta2::ProcessBin | ( | Double_t | c1, |
Double_t | c2, | ||
Container * | realCont, | ||
Container * | simCont, | ||
TDirectory * | outTop, | ||
TDirectory * | outDir, | ||
Int_t | dimen | ||
) |
Process a single centrality bin
c1 | Lower centrality bound |
c2 | Upper centrality bound |
realCont | Real container |
simCont | Simulation container |
outTop | Top-level output directory |
outDir | Current output directory |
dimen | Dimensions of k depdendence |
Definition at line 1020 of file AliTrackletdNdeta2.C.
TH1 * AliTrackletdNdeta2::Results | ( | Container * | realCont, |
Container * | simCont, | ||
TDirectory * | outParent, | ||
Int_t | deltaDimen | ||
) |
Calculate the result as
\[ R_{\eta,\mathrm{IP}_z} = \frac{G\prime_{\eta,\mathrm{IP}_z}}{ (1-\beta\prime)M\prime_{\eta,\mathrm{IP}_z}} (1-\beta)M_{\eta,\mathrm{IP}_z} \]
where
realCont | Container of real data |
simCont | Container of simulated data |
outParent | Output directory |
deltaDimen | Dimensionality of \(\Delta\) distribution. |
Definition at line 1727 of file AliTrackletdNdeta2.C.
Referenced by ProcessBin().
void AliTrackletdNdeta2::Run | ( | UInt_t | proc = kDefaultProc , |
UInt_t | viz = kDefaultViz , |
||
UShort_t | maxBins = 9 , |
||
const char * | dataName = "data.root" , |
||
const char * | simName = "sim.root" , |
||
const char * | output = 0 , |
||
Double_t | fudge = 1 |
||
) |
Run it
proc | Process mask |
viz | Visualisation mask |
maxBins | Maximum number of bins to look at |
dataName | Name of file from real data |
simName | Name of file from simulated data |
output | Output file name |
fudge | Fudge parameter |
Definition at line 793 of file AliTrackletdNdeta2.C.
Referenced by Post().
TH1 * AliTrackletdNdeta2::SetAttr | ( | TH1 * | h, |
Color_t | color, | ||
Style_t | marker = 20 , |
||
Double_t | size = 1. , |
||
Style_t | fill = 0 , |
||
Style_t | line = 1 , |
||
Width_t | width = 1 |
||
) |
Set attributes on a histogram
h | Histogram |
color | Color of histogram |
marker | Marker style |
size | Marker size |
fill | Fill style |
line | Line style |
width | Line width |
Definition at line 3392 of file AliTrackletdNdeta2.C.
Referenced by ProcessBin(), Results(), and WriteDeltas().
Bool_t AliTrackletdNdeta2::Visualize | ( | Container * | realSums, |
Container * | simSums, | ||
Container * | realRess, | ||
Container * | simRess, | ||
TDirectory * | outTop, | ||
Int_t | maxBins | ||
) |
Visualize the results
realSums | Top-level container of real data sums |
simSums | Top-level container of simulated data sums |
realRess | Top-level container of real data results |
simRess | Top-level container of simulated data results |
outTop | Top-level directory of output |
maxBins | Maximum number of bins to visualize |
Definition at line 2198 of file AliTrackletdNdeta2.C.
Referenced by Run().
Bool_t AliTrackletdNdeta2::VisualizeBin | ( | Double_t | c1, |
Double_t | c2, | ||
Container * | simList, | ||
TDirectory * | outTop | ||
) |
Visualize a centrality bin
c1 | Lowest centrality limit |
c2 | Highest centrality limit |
simList | Simulated data output |
outTop | Output top directory |
Definition at line 2645 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
void AliTrackletdNdeta2::VisualizeClosure | ( | TDirectory * | outDir, |
Int_t | i | ||
) |
Visualize the closure test
outDir | Output directory |
i | Bin number |
Definition at line 2504 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
Visualize the \(\Delta\) distributions
outTop | Output top directory |
dimen | The dimension to show |
Definition at line 3135 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
Visualize the details of the calculations
outTop | Output directory |
dimen | The dimension to show |
Definition at line 3233 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
void AliTrackletdNdeta2::VisualizeFinal | ( | TDirectory * | outDir, |
Int_t | i | ||
) |
Visualize the final output
outDir | Output directory |
i | Bin number |
Definition at line 2432 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
Visualize the general stuff
realList | Real data output list |
simList | Simulated data output list |
Definition at line 2235 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
void AliTrackletdNdeta2::VisualizeParam | ( | const char * | name, |
Double_t & | y, | ||
const char * | val | ||
) |
Draw parameter name and value
name | Name of parameter |
y | Current y coordinate |
val | Value |
Definition at line 2536 of file AliTrackletdNdeta2.C.
Referenced by VisualizeParam(), and VisualizeParams().
Draw a real valued paraemeter
name | Name of parameter |
y | Current y coordinate |
val | Value |
Definition at line 2553 of file AliTrackletdNdeta2.C.
Draw an integer valued paraemeter
name | Name of parameter |
y | Current y coordinate |
val | Value |
Definition at line 2560 of file AliTrackletdNdeta2.C.
Draw a boolean valued paraemeter
name | Name of parameter |
y | Current y coordinate |
val | Value |
Definition at line 2567 of file AliTrackletdNdeta2.C.
void AliTrackletdNdeta2::VisualizeParams | ( | Container * | pars, |
const char * | title | ||
) |
Draw all parameters in a container
pars | |
title |
Definition at line 2574 of file AliTrackletdNdeta2.C.
Referenced by Visualize(), and VisualizeParams().
Draw parameters from both real and simulated analysis
realSums | Real data |
simSums | simulated data |
Definition at line 2595 of file AliTrackletdNdeta2.C.
Visualize primary particles
simCont | Centrality container of simulated data |
Definition at line 3014 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
Visualize the \( dN_{\mathrm{ch}}/d\eta\) and components
outTop | Output top directory |
dimen | The dimension to show |
Definition at line 3314 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
Visualize species from simulation
simCont | Centrality container of simulated data |
Definition at line 2681 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
Visualize specie deltas from simulation
simCont | Centrality container of simulated data |
outDir | Output directory |
Definition at line 2751 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin().
void AliTrackletdNdeta2::VisualizeWeights | ( | Container * | simList | ) |
Draw the used simulation weights
simList | Simulation list |
Definition at line 2328 of file AliTrackletdNdeta2.C.
Referenced by Visualize().
void AliTrackletdNdeta2::WriteDeltas | ( | TDirectory * | outDir, |
TH1 * | realDeltaM, | ||
TH1 * | realDeltaI, | ||
TH1 * | simDeltaM, | ||
TH1 * | simDeltaI, | ||
TH1 * | simDeltaC, | ||
TH1 * | simDeltaP, | ||
TH1 * | simDeltaS, | ||
TH1 * | simDeltaD, | ||
TH1 * | fit | ||
) |
Write 1-dimensional \(\Delta\) distributions to disk
outDir | Output directory |
realDeltaM | Real measured \( dN/d\Delta\) |
realDeltaI | Real injection \( dN/d\Delta\) |
simDeltaM | Simulated measured \( dN/d\Delta\) |
simDeltaI | Simulated injection \( dN/d\Delta\) |
simDeltaC | Simulated combinatorial \( dN/d\Delta\) |
simDeltaP | Simulated primary \( dN/d\Delta\) |
simDeltaS | Simulated secondary \( dN/d\Delta\) |
simDeltaD | Simulated distinct combinatorial \( dN/d\Delta\) |
fit | Template fit |
Definition at line 1663 of file AliTrackletdNdeta2.C.
Referenced by Deltas0D(), Deltas1D(), Deltas2D(), and Deltas3D().
TPad* AliTrackletdNdeta2::fBody |
Main body of plots
Definition at line 146 of file AliTrackletdNdeta2.C.
Referenced by ClearCanvas(), CreateCanvas(), VisualizeClosure(), VisualizeDelta(), VisualizeDetails(), VisualizeFinal(), VisualizeGeneral(), VisualizeParams(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), VisualizeSpeciesDelta(), and VisualizeWeights().
TCanvas* AliTrackletdNdeta2::fCanvas |
The canvas to draw in
Definition at line 142 of file AliTrackletdNdeta2.C.
Referenced by ClearCanvas(), CloseCanvas(), CreateCanvas(), and PrintCanvas().
Double_t AliTrackletdNdeta2::fDeltaCut |
Cut on \( \Delta\) read from real data input file
Definition at line 121 of file AliTrackletdNdeta2.C.
Referenced by Run().
Double_t AliTrackletdNdeta2::fFudge |
Fudge factor
Definition at line 137 of file AliTrackletdNdeta2.C.
Referenced by Results(), Run(), and VisualizeParams().
TLatex* AliTrackletdNdeta2::fHeader |
The page header text
Definition at line 154 of file AliTrackletdNdeta2.C.
Referenced by CreateCanvas(), and PrintCanvas().
TString AliTrackletdNdeta2::fLastBin |
Cache of centrality bin title
Definition at line 150 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin(), VisualizeDelta(), VisualizeDetails(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), and VisualizeSpeciesDelta().
TString AliTrackletdNdeta2::fLastShort |
Cache of formated centrality bin
Definition at line 152 of file AliTrackletdNdeta2.C.
Referenced by VisualizeBin(), VisualizeDelta(), VisualizeDetails(), VisualizePrimary(), VisualizeResult(), VisualizeSpecies(), and VisualizeSpeciesDelta().
TString AliTrackletdNdeta2::fLastTitle |
Cache of last title
Definition at line 148 of file AliTrackletdNdeta2.C.
Referenced by CloseCanvas(), and PrintCanvas().
Double_t AliTrackletdNdeta2::fMaxAlpha |
Largest primary correction
Definition at line 135 of file AliTrackletdNdeta2.C.
Referenced by Results(), and VisualizeParams().
Double_t AliTrackletdNdeta2::fMaxDelta |
Highest value of \(\Delta\) read from real data input file
Definition at line 127 of file AliTrackletdNdeta2.C.
Referenced by Run().
Double_t AliTrackletdNdeta2::fMaxK |
Largest background scalar
Definition at line 131 of file AliTrackletdNdeta2.C.
Referenced by Deltas0D(), Deltas1D(), Deltas2D(), Deltas3D(), and VisualizeParams().
Double_t AliTrackletdNdeta2::fMinAlpha |
Least primary correction
Definition at line 133 of file AliTrackletdNdeta2.C.
Referenced by Results(), and VisualizeParams().
Double_t AliTrackletdNdeta2::fMinK |
Least background scalar
Definition at line 129 of file AliTrackletdNdeta2.C.
Referenced by Deltas0D(), Deltas1D(), Deltas2D(), Deltas3D(), and VisualizeParams().
UInt_t AliTrackletdNdeta2::fProc |
Processing options
Definition at line 119 of file AliTrackletdNdeta2.C.
Referenced by Process(), ProcessBin(), Results(), Run(), Visualize(), VisualizeBin(), and VisualizeParams().
Bool_t AliTrackletdNdeta2::fRealIsSim |
Definition at line 155 of file AliTrackletdNdeta2.C.
Double_t AliTrackletdNdeta2::fSEF |
Strangeness enhancement factor - scale sim to real
Definition at line 139 of file AliTrackletdNdeta2.C.
Referenced by CalculateSEF(), and Results().
Double_t AliTrackletdNdeta2::fTailDelta |
Lower cut on \(\Delta\) tail read from real data input file
Definition at line 123 of file AliTrackletdNdeta2.C.
Referenced by Run().
Double_t AliTrackletdNdeta2::fTailMax |
Upper cut on \(\Delta\) tail read from real data input file
Definition at line 125 of file AliTrackletdNdeta2.C.
Referenced by Run().
TPad* AliTrackletdNdeta2::fTop |
Top bar to put title in
Definition at line 144 of file AliTrackletdNdeta2.C.
Referenced by ClearCanvas(), CreateCanvas(), and PrintCanvas().
UInt_t AliTrackletdNdeta2::fViz |
Vizualisation options
Definition at line 117 of file AliTrackletdNdeta2.C.
Referenced by CloseCanvas(), CreateCanvas(), PrintCanvas(), Results(), Run(), Visualize(), VisualizeBin(), and VisualizeParams().