AliPhysics  d565ceb (d565ceb)
PWG::EMCAL::AliEmcalTriggerSelection Class Reference

Object performing offline EMCAL trigger selection. More...

#include <AliEmcalTriggerSelection.h>

Inheritance diagram for PWG::EMCAL::AliEmcalTriggerSelection:

Public Member Functions

 AliEmcalTriggerSelection ()
 Dummy constructor. More...
 
 AliEmcalTriggerSelection (const char *name, const AliEmcalTriggerSelectionCuts *const cuts)
 Main constructor. More...
 
virtual ~AliEmcalTriggerSelection ()
 Destructor. More...
 
const AliEmcalTriggerSelectionCutsGetSelectionCuts () const
 Get the selection cuts used in the trigger selection. More...
 
void SetSelectionCuts (const AliEmcalTriggerSelectionCuts *const cuts)
 Set the selection cuts used in this trigger selection. More...
 
AliEmcalTriggerDecisionMakeDecison (const TClonesArray *const reconstructedPatches) const
 

Protected Attributes

const AliEmcalTriggerSelectionCutsfSelectionCuts
 Cuts used for the trigger patch selection. More...
 

Private Member Functions

 AliEmcalTriggerSelection (const AliEmcalTriggerSelection &ref)
 
AliEmcalTriggerSelectionoperator= (const AliEmcalTriggerSelection &ref)
 

Detailed Description

Object performing offline EMCAL trigger selection.

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

Object performing an offline EMCAL trigger decision based on user defined criterions (trigger patch type, energy threshold,...). The main method MakeTriggerDecision performs an event selection and creates a trigger decision object with the relevant information.

Definition at line 54 of file AliEmcalTriggerSelection.h.

Constructor & Destructor Documentation

PWG::EMCAL::AliEmcalTriggerSelection::AliEmcalTriggerSelection ( )

Dummy constructor.

Used by I/O, not to be used by the user

Definition at line 44 of file AliEmcalTriggerSelection.cxx.

PWG::EMCAL::AliEmcalTriggerSelection::AliEmcalTriggerSelection ( const char *  name,
const AliEmcalTriggerSelectionCuts *const  cuts 
)

Main constructor.

Initialises the trigger selection

Parameters
namename of the trigger selection
cuts(optional)selection cuts to be applied

Definition at line 50 of file AliEmcalTriggerSelection.cxx.

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

Destructor.

Definition at line 77 of file AliEmcalTriggerSelection.h.

PWG::EMCAL::AliEmcalTriggerSelection::AliEmcalTriggerSelection ( const AliEmcalTriggerSelection ref)
private

Member Function Documentation

const AliEmcalTriggerSelectionCuts* PWG::EMCAL::AliEmcalTriggerSelection::GetSelectionCuts ( ) const
inline

Get the selection cuts used in the trigger selection.

Returns
Selection cuts used in this trigger selection

Definition at line 83 of file AliEmcalTriggerSelection.h.

AliEmcalTriggerDecision * PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison ( const TClonesArray *const  reconstructedPatches) const

Perform event selection based on user-defined criteria and create an output trigger decision containing the threshold, the main patch which fired the decision, and all other patches which would have fired the decision as well.

Parameters
[in]reconstructedPatchesA list of input patches, created by the trigger patch maker and read out from the input event
Returns
the trigger decision (an event is selected when it has a main patch that fired the decision)

Definition at line 56 of file AliEmcalTriggerSelection.cxx.

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

AliEmcalTriggerSelection& PWG::EMCAL::AliEmcalTriggerSelection::operator= ( const AliEmcalTriggerSelection ref)
private
void PWG::EMCAL::AliEmcalTriggerSelection::SetSelectionCuts ( const AliEmcalTriggerSelectionCuts *const  cuts)
inline

Set the selection cuts used in this trigger selection.

Parameters
[in]cutsSelection cuts used to fire the trigger

Definition at line 89 of file AliEmcalTriggerSelection.h.

Member Data Documentation

const AliEmcalTriggerSelectionCuts* PWG::EMCAL::AliEmcalTriggerSelection::fSelectionCuts
protected

Cuts used for the trigger patch selection.

Definition at line 102 of file AliEmcalTriggerSelection.h.

Referenced by GetSelectionCuts(), MakeDecison(), and SetSelectionCuts().


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