![]() |
AliPhysics
0937c79 (0937c79)
|
Object performing offline EMCAL trigger selection. More...
#include <AliEmcalTriggerSelection.h>
Public Member Functions | |
AliEmcalTriggerSelection () | |
Dummy constructor. More... | |
AliEmcalTriggerSelection (const char *name, const AliEmcalTriggerSelectionCuts *const cuts) | |
Main constructor. More... | |
virtual | ~AliEmcalTriggerSelection () |
Destructor. More... | |
const AliEmcalTriggerSelectionCuts * | GetSelectionCuts () 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... | |
AliEmcalTriggerDecision * | MakeDecison (const TClonesArray *const reconstructedPatches) const |
Protected Attributes | |
const AliEmcalTriggerSelectionCuts * | fSelectionCuts |
Cuts used for the trigger patch selection. More... | |
Private Member Functions | |
AliEmcalTriggerSelection (const AliEmcalTriggerSelection &ref) | |
AliEmcalTriggerSelection & | operator= (const AliEmcalTriggerSelection &ref) |
void | PrintStream (std::ostream &stream) const |
Helper function for the stream operator. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const AliEmcalTriggerSelection &sel) |
Output stream operator. More... | |
Object performing offline EMCAL trigger selection.
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.
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
name | name of the trigger selection |
cuts(optional) | selection cuts to be applied |
Definition at line 50 of file AliEmcalTriggerSelection.cxx.
|
inlinevirtual |
Destructor.
Definition at line 83 of file AliEmcalTriggerSelection.h.
|
private |
|
inline |
Get the selection cuts used in the 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] | reconstructedPatches | A list of input patches, created by the trigger patch maker and read out from the input event |
Definition at line 56 of file AliEmcalTriggerSelection.cxx.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::Run().
|
private |
|
private |
Helper function for the stream operator.
Performs logging
stream | Stream used for logging |
Definition at line 82 of file AliEmcalTriggerSelection.cxx.
Referenced by operator<<().
|
inline |
Set the selection cuts used in this trigger selection.
[in] | cuts | Selection cuts used to fire the trigger |
Definition at line 95 of file AliEmcalTriggerSelection.h.
|
friend |
Output stream operator.
Logging trigger selection configuration (name, cuts) to the output stream
stream | Stream used for logging |
sel | Trigger selection object to be logged |
Definition at line 90 of file AliEmcalTriggerSelection.cxx.
|
protected |
Cuts used for the trigger patch selection.
Definition at line 119 of file AliEmcalTriggerSelection.h.
Referenced by MakeDecison(), and PrintStream().