23 fHistManager(
"AliEmcalEmbeddingQA")
35 AliError(
"QA histograms are already initialized!");
42 if (!embeddingHelper) {
43 AliError(
"The embedding helper is not available!");
52 histName =
"fHistXsectionAfterSel";
53 histTitle =
"Pythia Cross Section After Event Selection;p_{T} hard bin; XSection";
57 histName =
"fHistTrialsAfterSel";
58 histTitle =
"Number of Pythia Trials After Event Selecdtion;p_{T} hard bin;Trials";
62 histName =
"fHistPtHardAfterSel";
63 histTitle =
"p_{T} Hard Spectra After Event Selection;p_{T} hard;Counts";
78 AliError(
"Output list is null!");
83 AliWarning(
"Embedding QA histograms are not initialized! Attempting to initialize...");
86 AliFatal(
"Unable to initialize the embedding QA hists!");
94 while ((obj = next())) {
double GetPythiaXSection() const
TList * list
TDirectory file where lists per trigger are stored in train ouput.
Declaration of class AliAnalysisTaskEmcalEmbeddingHelper.
QA Class for EMCal Embedding Framework.
Int_t GetNPtHardBins() const
int GetPythiaTrials() const
bool AddQAPlotsToList(TList *list)
bool fInitialized
Notes whether the QA hists have been created.
void CreateTProfile(const char *name, const char *title, int nbinsX, double xmin, double xmax, Option_t *opt="")
Create a new TProfile within the container.
THashList * GetListOfHistograms() const
Get the list of histograms.
Int_t GetPtHardBin() const
Implementation of task to embed external events.
TH1 * CreateTH1(const char *name, const char *title, int nbins, double xmin, double xmax, Option_t *opt="")
Create a new TH1 within the container.
void FillProfile(const char *name, double x, double y, double weight=1.)
void FillTH1(const char *hname, double x, double weight=1., Option_t *opt="")
Fill a 1D histogram within the container.
THistManager fHistManager
Hist manager.
double GetPythiaPtHard() const
void RecordEmbeddedEventProperties()
ClassImp(AliAnalysisTaskCRC) AliAnalysisTaskCRC
static const AliAnalysisTaskEmcalEmbeddingHelper * GetInstance()