AliPhysics  32e057f (32e057f)
PWG::EMCAL::AliEmcalTriggerDecisionContainer Class Reference

Container for trigger decision object. More...

#include <AliEmcalTriggerDecisionContainer.h>

Inheritance diagram for PWG::EMCAL::AliEmcalTriggerDecisionContainer:

Public Member Functions

 AliEmcalTriggerDecisionContainer ()
 Dummy constructor. More...
 
 AliEmcalTriggerDecisionContainer (const char *name)
 Main constructor. More...
 
virtual ~AliEmcalTriggerDecisionContainer ()
 Destructor. More...
 
void Reset ()
 Clear container with trigger decisions. More...
 
void AddTriggerDecision (AliEmcalTriggerDecision *const decision)
 Add trigger decision to the container. More...
 
const AliEmcalTriggerDecisionFindTriggerDecision (const char *name) const
 Find a trigger decision with a given name in the trigger decision container. More...
 
const TListGetListOfTriggerDecisions () const
 Get container with trigger decision results. More...
 
bool IsEventSelected (const char *name) const
 Checks whether the events is selected for a given trigger type. More...
 

Protected Attributes

TList fContainer
 List of trigger decisions. More...
 

Detailed Description

Container for trigger decision object.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch Oak Ridge National Laboratory
Since
Dec 17, 2014

Definition at line 46 of file AliEmcalTriggerDecisionContainer.h.

Constructor & Destructor Documentation

PWG::EMCAL::AliEmcalTriggerDecisionContainer::AliEmcalTriggerDecisionContainer ( )

Dummy constructor.

For I/O, not to be called by the user

Definition at line 37 of file AliEmcalTriggerDecisionContainer.cxx.

PWG::EMCAL::AliEmcalTriggerDecisionContainer::AliEmcalTriggerDecisionContainer ( const char *  name)

Main constructor.

Called by the user

Definition at line 44 of file AliEmcalTriggerDecisionContainer.cxx.

virtual PWG::EMCAL::AliEmcalTriggerDecisionContainer::~AliEmcalTriggerDecisionContainer ( )
inlinevirtual

Destructor.

Definition at line 65 of file AliEmcalTriggerDecisionContainer.h.

Member Function Documentation

void PWG::EMCAL::AliEmcalTriggerDecisionContainer::AddTriggerDecision ( AliEmcalTriggerDecision *const  decision)

Add trigger decision to the container.

Parameters
[in]decisionTrigger decision, created by the trigger selection task

Definition at line 55 of file AliEmcalTriggerDecisionContainer.cxx.

Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::Run(), and ~AliEmcalTriggerDecisionContainer().

const AliEmcalTriggerDecision * PWG::EMCAL::AliEmcalTriggerDecisionContainer::FindTriggerDecision ( const char *  name) const

Find a trigger decision with a given name in the trigger decision container.

Parameters
[in]decnamethe name of the trigger decision object
Returns
the trigger decision (NULL if not found)

Definition at line 59 of file AliEmcalTriggerDecisionContainer.cxx.

Referenced by IsEventSelected(), and ~AliEmcalTriggerDecisionContainer().

const TList* PWG::EMCAL::AliEmcalTriggerDecisionContainer::GetListOfTriggerDecisions ( ) const
inline

Get container with trigger decision results.

Returns
List of trigger decision objects

Definition at line 91 of file AliEmcalTriggerDecisionContainer.h.

Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::MakeQA(), and PWGJE::EMCALJetTasks::Test::AliAnalysisTaskEmcalTriggerSelectionTest::Run().

bool PWG::EMCAL::AliEmcalTriggerDecisionContainer::IsEventSelected ( const char *  name) const

Checks whether the events is selected for a given trigger type.

Parameters
[in]nameName of the EMCAL trigger
Returns
True if the event is selected, false otherwise

Definition at line 63 of file AliEmcalTriggerDecisionContainer.cxx.

Referenced by GetListOfTriggerDecisions(), and EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::Run().

void PWG::EMCAL::AliEmcalTriggerDecisionContainer::Reset ( )

Clear container with trigger decisions.

Definition at line 51 of file AliEmcalTriggerDecisionContainer.cxx.

Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::Run(), and ~AliEmcalTriggerDecisionContainer().

Member Data Documentation

TList PWG::EMCAL::AliEmcalTriggerDecisionContainer::fContainer
protected

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