AliPhysics  4c9ecbb (4c9ecbb)
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)
void PrintStream (std::ostream &stream) const
 Helper function for the stream operator. More...


std::ostream & operator<< (std::ostream &stream, const AliEmcalTriggerSelection &sel)
 Output stream operator. More...

Detailed Description

Object performing offline EMCAL trigger selection.

Markus Fasel Oak Ridge National Laboratory
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 60 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

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 ( )


Definition at line 83 of file AliEmcalTriggerSelection.h.

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

Member Function Documentation

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

Get the selection cuts used in the trigger selection.

Selection cuts used in this trigger selection

Definition at line 89 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.

[in]reconstructedPatchesA list of input patches, created by the trigger patch maker and read out from the input event
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().

AliEmcalTriggerSelection& PWG::EMCAL::AliEmcalTriggerSelection::operator= ( const AliEmcalTriggerSelection ref)
void PWG::EMCAL::AliEmcalTriggerSelection::PrintStream ( std::ostream &  stream) const

Helper function for the stream operator.

Performs logging

streamStream used for logging

Definition at line 82 of file AliEmcalTriggerSelection.cxx.

Referenced by operator<<().

void PWG::EMCAL::AliEmcalTriggerSelection::SetSelectionCuts ( const AliEmcalTriggerSelectionCuts *const  cuts)

Set the selection cuts used in this trigger selection.

[in]cutsSelection cuts used to fire the trigger

Definition at line 95 of file AliEmcalTriggerSelection.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const AliEmcalTriggerSelection sel 

Output stream operator.

Logging trigger selection configuration (name, cuts) to the output stream

streamStream used for logging
selTrigger selection object to be logged
Output stream after logging

Definition at line 90 of file AliEmcalTriggerSelection.cxx.

Member Data Documentation

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

Cuts used for the trigger patch selection.

Definition at line 119 of file AliEmcalTriggerSelection.h.

Referenced by MakeDecison(), and PrintStream().

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