AliPhysics  bba8f44 (bba8f44)
AliEmcalEmbeddingQA Class Reference

QA Class for EMCal Embedding Framework. More...

#include <AliEmcalEmbeddingQA.h>

Inheritance diagram for AliEmcalEmbeddingQA:

Public Member Functions

 AliEmcalEmbeddingQA ()
 
 ~AliEmcalEmbeddingQA ()
 
bool IsInitialized () const
 
bool Initialize ()
 
bool AddQAPlotsToList (TList *list)
 
void RecordEmbeddedEventProperties ()
 

Private Attributes

bool fInitialized
 Notes whether the QA hists have been created. More...
 
THistManager fHistManager
 Hist manager. More...
 

Detailed Description

QA Class for EMCal Embedding Framework.

Author
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@cer.nosp@m.n.ch, Yale University
Date
Apr 21, 2017

This class includes QA information for the EMCal Embedding Framework. It provides information such as the pythia trials, cross section, and pt hard spectra corresponding to selected events. It compliments the information in the main embedding task, which records that information for all events. It should be created as a member of the class which will use embedding to record the embedding properties of events which are selected. This task should always be somehow called when running the Embedding Framework!

Definition at line 25 of file AliEmcalEmbeddingQA.h.

Constructor & Destructor Documentation

AliEmcalEmbeddingQA::AliEmcalEmbeddingQA ( )

AliEmcalEmbeddingQA

Performs QA and counting for embedded events which have passed the data event selection Constructor

Definition at line 21 of file AliEmcalEmbeddingQA.cxx.

AliEmcalEmbeddingQA::~AliEmcalEmbeddingQA ( )
inline

Definition at line 28 of file AliEmcalEmbeddingQA.h.

Member Function Documentation

bool AliEmcalEmbeddingQA::AddQAPlotsToList ( TList list)

Add the QA plots to output list.

Parameters
listList to which the histograms should be added

Definition at line 75 of file AliEmcalEmbeddingQA.cxx.

Referenced by IsInitialized(), AliJetResponseMaker::UserCreateOutputObjects(), AliAnalysisTaskEmcalDijetImbalance::UserCreateOutputObjects(), and AliAnalysisTaskEmcalJetPerformance::UserCreateOutputObjects().

bool AliEmcalEmbeddingQA::Initialize ( )

Initialize the embedding QA histograms. Should only be called once

Returns
true if the histograms were successfully initialized (this is the value of fInitialized)

Definition at line 32 of file AliEmcalEmbeddingQA.cxx.

Referenced by AddQAPlotsToList(), IsInitialized(), AliJetResponseMaker::UserCreateOutputObjects(), AliAnalysisTaskEmcalDijetImbalance::UserCreateOutputObjects(), and AliAnalysisTaskEmcalJetPerformance::UserCreateOutputObjects().

bool AliEmcalEmbeddingQA::IsInitialized ( ) const
inline
void AliEmcalEmbeddingQA::RecordEmbeddedEventProperties ( )

Record the embedded event properties for accepted events. It should only be called if the data event is selected. The unselected data is available in the main embedding task.

Definition at line 105 of file AliEmcalEmbeddingQA.cxx.

Referenced by AliJetResponseMaker::DoJetMatching(), IsInitialized(), AliAnalysisTaskEmcalDijetImbalance::Run(), and AliAnalysisTaskEmcalJetPerformance::Run().

Member Data Documentation

THistManager AliEmcalEmbeddingQA::fHistManager
private

Hist manager.

Definition at line 38 of file AliEmcalEmbeddingQA.h.

Referenced by AddQAPlotsToList(), Initialize(), and RecordEmbeddedEventProperties().

bool AliEmcalEmbeddingQA::fInitialized
private

Notes whether the QA hists have been created.

Definition at line 37 of file AliEmcalEmbeddingQA.h.

Referenced by AddQAPlotsToList(), Initialize(), and IsInitialized().


The documentation for this class was generated from the following files: