![]() |
AliPhysics
cc1c0ba (cc1c0ba)
|
![]() |
Typedefs | |
typedef TCollection | Dir |
Functions | |
TObject * | GetObject (TDirectory *d, const char *name) |
TObject * | GetObject (TCollection *d, const char *name) |
TCollection * | GetCollection (TDirectory *d, const char *name) |
TCollection * | GetCollection (TCollection *d, const char *name) |
TH1 * | GetH1 (TDirectory *d, const char *name) |
TH1 * | GetH1 (TCollection *d, const char *name) |
TH2 * | GetH2 (TCollection *d, const char *name) |
TFile * | OpenFile (const char *filename, Bool_t readNotWrite) |
void | GetHistos (Double_t lowLim, Double_t highLim, Dir *resp, Dir *data, TDirectory *out) |
void | ProcessUnfold (TH2 *response, TH1 *measured, TH1 *mcHist, TH1 *esdHist) |
TH1 * | GetTriggerBias (TH1 *mcHist, TH1 *esdHist) |
void | UnfoldMult (const char *respFile="forward_response.root", const char *dataFile="forward_multiplicy.root", const char *outFile="unfolded.root") |
typedef TCollection Dir |
A type definition to make it easier to switch to TDirectory structure
Definition at line 173 of file UnfoldMult.C.
TCollection* GetCollection | ( | TDirectory * | d, |
const char * | name | ||
) |
Get a collection from a directory
d | Parent directory |
name | Name of collection |
Definition at line 77 of file UnfoldMult.C.
Referenced by GetHistos(), and UnfoldMult().
TCollection* GetCollection | ( | TCollection * | d, |
const char * | name | ||
) |
Get a collection from a collection
d | Parent collection |
name | Name of collection |
Definition at line 91 of file UnfoldMult.C.
TH1* GetH1 | ( | TDirectory * | d, |
const char * | name | ||
) |
Get a 1D-histogram from a directory
d | Parent directory |
name | Name of histogram |
Definition at line 105 of file UnfoldMult.C.
Referenced by GetHistos().
TH1* GetH1 | ( | TCollection * | d, |
const char * | name | ||
) |
Get a 1D-histogram from a collection
d | Parent collectoin |
name | Name of histogram |
Definition at line 119 of file UnfoldMult.C.
TH2* GetH2 | ( | TCollection * | d, |
const char * | name | ||
) |
Get a 2D-histogram from a collection
d | Parent collection |
name | Name of histogram |
Definition at line 145 of file UnfoldMult.C.
Get histograms for \(\eta\)-bin from lowLim to highLim and process it .
lowLim | Lower \(\eta\) limit |
highLim | Upper \(\eta\) limit |
resp | Directory containing response matrices |
data | Directory containing data histogram |
out | Output directory |
Definition at line 261 of file UnfoldMult.C.
Referenced by UnfoldMult(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::UserCreateOutputObjects().
TObject* GetObject | ( | TDirectory * | d, |
const char * | name | ||
) |
Get an object from a directory
d | Directory |
name | Name of object |
Definition at line 38 of file UnfoldMult.C.
Referenced by GetCollection(), GetH1(), and GetH2().
TObject* GetObject | ( | TCollection * | d, |
const char * | name | ||
) |
Get an object from a collection
d | Collection |
name | Name of object |
Definition at line 57 of file UnfoldMult.C.
Caclulate the trigger bias correction
mcHist | MC truth distribution |
esdHist | MC distribution after ESD event selection |
Definition at line 339 of file UnfoldMult.C.
Referenced by ProcessUnfold().
TFile* OpenFile | ( | const char * | filename, |
Bool_t | readNotWrite | ||
) |
Open a file
filename | File name |
readNotWrite | If true, open read-only |
Definition at line 159 of file UnfoldMult.C.
Referenced by UnfoldMult().
Do the actual unfolding and corrections
response | Response matrix |
measured | Measured distribution |
mcHist | MC truth distribution |
esdHist | MC distribution after ESD event selection |
Definition at line 300 of file UnfoldMult.C.
Referenced by GetHistos().
void UnfoldMult | ( | const char * | respFile = "forward_response.root" , |
const char * | dataFile = "forward_multiplicy.root" , |
||
const char * | outFile = "unfolded.root" |
||
) |
Main Loop to call eta range
respFile | File containing response matrices |
dataFile | File containing measured distributions |
outFile | Output file |
Definition at line 233 of file UnfoldMult.C.