![]() |
AliPhysics
35e5fca (35e5fca)
|
Bayesian Method Unfolding Script. More...
#include <iostream>
#include <TList.h>
#include <TFile.h>
#include <TObject.h>
#include <TDirectory.h>
#include "TH1D.h"
#include "TH2D.h"
#include <TROOT.h>
#include <TSystem.h>
#include "RooUnfoldBayes.h"
#include "RooUnfoldResponse.h"
#include <TMath.h>
Go to the source code of this file.
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 (TDirectory *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 | DoCorrection (TH1 *unfoldBefore, TH1 *triggerBias, TH1 *mcHist) |
void | UnfoldMult (const char *respFile="forward_response.root", const char *dataFile="forward_multiplicy.root", const char *outFile="unfolded.root") |
Apply the trigger bias correction to the unfolded result
unfoldBefore | Unfolded measured distribution |
triggerBias | Trigger bias correction |
mcHist | MC truth distribution |
Definition at line 358 of file UnfoldMult.C.
Referenced by ProcessUnfold().
TH2* GetH2 | ( | TDirectory * | d, |
const char * | name | ||
) |
Get a 2D-histogram from a directory
d | Parent directory |
name | Name of histogram |
Definition at line 131 of file UnfoldMult.C.
Referenced by GetHistos().