27 #ifndef ALIANALYSISTASKEMCALTRIGGERSELECTION_H 28 #define ALIANALYSISTASKEMCALTRIGGERSELECTION_H 39 class AliEmcalTriggerDecision;
40 class AliEmcalTriggerDecisionContainer;
41 class AliEmcalTriggerSelection;
Object performing offline EMCAL trigger selection.
virtual Bool_t Run()
User event loop.
void ConfigurePP2016()
Trigger configuration for run2 pp (2016 - 2018) - data mode.
Container for trigger decision.
void MakeQA(const AliEmcalTriggerDecisionContainer *cont)
Fill QA histograms for the event.
virtual void UserExecOnce()
Initializations performed when the first event is created.
void SetGlobalDecisionContainerName(const char *name)
Set the name of the global trigger decision container.
Bool_t Is2016PP(const char *dataset) const
Bool_t Is2012MCPP(const char *dataset) const
void AutoConfigure(const char *period)
Automatically configure trigger decision handler for different periods.
TString fGlobalDecisionContainerName
Name of the global trigger selection.
Base task in the EMCAL framework.
virtual Bool_t FillHistograms()
Filling basic QA Histograms of the trigger selection task.
void ConfigurePP2012()
Trigger configuration for run1 pp (2012) - data mode.
TH1 * fMaxPatchADC
Histogram with patch ADC of the max patch.
virtual void UserCreateOutputObjects()
Initialization of output container.
void ConfigureMCPP2012()
Trigger configuration for MC anchored to run1 pp (2012)
Bool_t Is2012PP(const char *dataset) const
void InitQA(const AliEmcalTriggerSelection *const sel)
Initialize QA histograms for trigger selection.
Bool_t IsSupportedMCSample(const char *period, std::vector< TString > &supportedProductions) const
AliAnalysisTaskEmcalTriggerSelection()
Dummy constructor.
Namespace for EMCAL framework classes and task.
virtual ~AliAnalysisTaskEmcalTriggerSelection()
Destructor.
AliEmcalTriggerDecisionContainer * GetGlobalTriggerDecisionContainer() const
Find the main trigger container in the input event.
void Fill(const AliEmcalTriggerDecision *const decision)
AliEmcalTriggerSelectionQA & operator=(const AliEmcalTriggerSelectionQA &ref)
Assignment operator.
TList fSelectionQA
Trigger selection QA.
void GetHistos(TList *targetlist) const
Fill histograms of this QA component into the targetlist.
Namespace for PWG framework classes.
Container for trigger decision object.
TH1 * fMaxPatchEnergy
Histogram with patch energy of the max patch.
TH1 * fMaxPatchEnergySmeared
Histogram with smeared patch energy of the max patch.
TList fTriggerSelections
List of trigger selections.
Task providing an event selection for EMCAL-triggered events based on the reconstructed EMCAL trigger...
virtual ~AliEmcalTriggerSelectionQA()
Destructor.
void ConfigureMCPP2016()
Trigger configuration for MC anchored to run2 pp (2016-2018)
Helper class for the trigger selection.
AliEmcalTriggerSelectionQA()
Dummy constructor.
AliEmcalTriggerDecisionContainer * fTriggerDecisionContainer
void AddTriggerSelection(AliEmcalTriggerSelection *const selection)
Add trigger selection to the trigger selection task.
Bool_t Is2016MCPP(const char *dataset) const