AliPhysics  5364b50 (5364b50)
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...
 
virtual void Clear (Option_t *option="")
 Clear function of the trigger decision container. 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 Clear(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::Run().

virtual void PWG::EMCAL::AliEmcalTriggerDecisionContainer::Clear ( Option_t option = "")
inlinevirtual

Clear function of the trigger decision container.

Overwriting the Clear function preventing to reset the name. Onlu clearing the trigger decision objects content.

Parameters
optionNot used

Definition at line 79 of file AliEmcalTriggerDecisionContainer.h.

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 Clear(), and IsEventSelected().

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

Get container with trigger decision results.

Returns
List of trigger decision objects

Definition at line 100 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().

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

Clear container with trigger decisions.

Definition at line 51 of file AliEmcalTriggerDecisionContainer.cxx.

Referenced by Clear(), 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: