![]() |
AliPhysics
67e0feb (67e0feb)
|
Public Member Functions | |
MakeDeltaWeights () | |
AliTrackletDeltaWeights * | Run (const char *realFileName, const char *simFileName, Int_t dimen=2, Bool_t scaleToTail=true) |
void | Normalize (TH3 *h) |
TH1 * | Weights1 (Container *realMeas, Container *simMeas, Bool_t scaleToTail) |
TH2 * | Weights2 (Container *realMeas, Container *simMeas, Bool_t scaleToTail) |
TH3 * | Weights3 (Container *realMeas, Container *simMeas, Bool_t scaleToTail) |
Bool_t | ProcessBin (Int_t bin, Int_t dimen, Bool_t scaleToTail, Double_t c1, Double_t c2, Container *realTop, Container *simTop, AliTrackletDeltaWeights *weights) |
![]() | |
AliTrackletAODUtils () | |
virtual | ~AliTrackletAODUtils () |
Related Functions | |
(Note that these are not member functions.) | |
void | MakeDeltas (const char *realFileName, const char *simFileName, Int_t dimen=2, Bool_t scaleToTail=true) |
Additional Inherited Members | |
![]() | |
typedef TList | Container |
![]() | |
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, Double_t ipEff=0, TH2 *mask=0, Bool_t verb=false) |
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) |
Structure to make weights for delta
Definition at line 21 of file MakeDeltaWeights.C.
|
inline |
Definition at line 23 of file MakeDeltaWeights.C.
|
inline |
|
inline |
Process a centrality bin
bin | Bin number |
dimen | Dimensions |
scaleToTail | If true, scale simulation to real tail first |
c1 | Lowest centrality |
c2 | Highest centrality |
realTop | Top container of the real data |
simTop | Top container of the simulated data |
weights | The weight structure to fill |
Definition at line 245 of file MakeDeltaWeights.C.
Referenced by Run().
|
inline |
Create \(\Delta\) dependent weights.
If dimen is set to 3, then the weights depend on the tracklet \((\Delta,\eta)\) and event \(\mathrm{IP}_z\).
If dimen is set to 2, then the weights depend on the tracklet \((\Delta,\eta)\) - this is the default.
If dimen is set to 1, then the weights depend on the tracklet \(\Delta\) only
realFileName | File with real data (to correct to) |
simFileName | File with simulated data (to correct) |
dimen | Number of dimensions |
scaleToTail | If we should scale the simulated distribution to the tail of the real distribution |
Definition at line 44 of file MakeDeltaWeights.C.
Referenced by MakeDeltas().
|
inline |
Calculate 1-D weights i.e., \(\Delta\) dependent
realMeas | Real container |
simMeas | Simulation container |
scaleToTail | If true, scale simulation to real tail first |
Definition at line 147 of file MakeDeltaWeights.C.
Referenced by ProcessBin().
|
inline |
Calculate 2-D weights i.e., \(\Delta,\eta\) dependent
realMeas | Real container |
simMeas | Simulation container |
scaleToTail | If true, scale simulation to real tail first |
Definition at line 179 of file MakeDeltaWeights.C.
Referenced by ProcessBin().
|
inline |
Calculate 3-D weights i.e., \(\Delta,\eta,\mathrm{IP}_{z}\) dependent
realMeas | Real container |
simMeas | Simulation container |
scaleToTail | If true, scale simulation to real tail first |
Definition at line 210 of file MakeDeltaWeights.C.
Referenced by ProcessBin().