![]() |
AliPhysics
cd965e1 (cd965e1)
|
Container for trigger decision. More...
#include <AliEmcalTriggerDecision.h>
Public Member Functions | |
AliEmcalTriggerDecision () | |
Dummy constructor. More... | |
AliEmcalTriggerDecision (const char *name, const char *title="") | |
The main (named) constructor. More... | |
virtual | ~AliEmcalTriggerDecision () |
Destructor. More... | |
const AliEMCALTriggerPatchInfo * | GetMainPatch () const |
Get the highest energetic trigger patch of the event firing the trigger. More... | |
const AliEmcalTriggerSelectionCuts * | GetSelectionCuts () const |
Get the selection cuts used in the trigger selection. More... | |
const TList * | GetAcceptedPatches () const |
Get the list of all patches in the event satisfying the trigger condition. More... | |
Bool_t | IsSelected () const |
Check whether event is selected under the given trigger. More... | |
void | SetSelectionCuts (const AliEmcalTriggerSelectionCuts *const cuts) |
Set the selection cuts used in the trigger selection. More... | |
void | SetMainPatch (const AliEMCALTriggerPatchInfo *const mainpatch) |
Set the main (highest-energetic) trigger patch. More... | |
void | AddAcceptedPatch (AliEMCALTriggerPatchInfo *const acceptedPatch) |
Protected Attributes | |
const AliEMCALTriggerPatchInfo * | fMainPatch |
Main trigger patch which fires the decision. More... | |
const AliEmcalTriggerSelectionCuts * | fSelectionCuts |
Pointer to the cuts used for the trigger selection. More... | |
TList | fAcceptedPatches |
All trigger patches which are accepted as well. More... | |
Private Member Functions | |
AliEmcalTriggerDecision (const AliEmcalTriggerDecision &ref) | |
AliEmcalTriggerDecision & | operator= (const AliEmcalTriggerDecision &ref) |
Container for trigger decision.
Object storing the result of the EMCAL trigger decision. The result is appended to the input event and can be read out by consumer tasks.
Definition at line 51 of file AliEmcalTriggerDecision.h.
PWG::EMCAL::AliEmcalTriggerDecision::AliEmcalTriggerDecision | ( | ) |
Dummy constructor.
Needed for I/O, not to be used by the user
Definition at line 36 of file AliEmcalTriggerDecision.cxx.
PWG::EMCAL::AliEmcalTriggerDecision::AliEmcalTriggerDecision | ( | const char * | name, |
const char * | title = "" |
||
) |
The main (named) constructor.
The decision object can be read out later by the consumer task according to the name.
[in] | name | Name of the decision object |
[in] | title | Title of the decision object |
Definition at line 45 of file AliEmcalTriggerDecision.cxx.
|
inlinevirtual |
Destructor.
Definition at line 75 of file AliEmcalTriggerDecision.h.
|
private |
void PWG::EMCAL::AliEmcalTriggerDecision::AddAcceptedPatch | ( | AliEMCALTriggerPatchInfo *const | acceptedPatch | ) |
Add accepted patch to the trigger decision
[in] | patch | the accepted patch |
Definition at line 54 of file AliEmcalTriggerDecision.cxx.
Referenced by PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison().
|
inline |
Get the list of all patches in the event satisfying the trigger condition.
Definition at line 93 of file AliEmcalTriggerDecision.h.
|
inline |
Get the highest energetic trigger patch of the event firing the trigger.
Definition at line 81 of file AliEmcalTriggerDecision.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::AliEmcalTriggerSelectionQA::Fill().
|
inline |
Get the selection cuts used in the trigger selection.
Definition at line 87 of file AliEmcalTriggerDecision.h.
|
inline |
Check whether event is selected under the given trigger.
An event is selected if a main (highest energy) patch was found
Definition at line 101 of file AliEmcalTriggerDecision.h.
Referenced by PWG::EMCAL::AliEmcalTriggerDecisionContainer::IsEventSelected(), and PWGJE::EMCALJetTasks::Test::AliAnalysisTaskEmcalTriggerSelectionTest::Run().
|
private |
|
inline |
Set the main (highest-energetic) trigger patch.
[in] | mainpatch | Highest energetic trigger patch of the event firing the trigger |
Definition at line 113 of file AliEmcalTriggerDecision.h.
Referenced by PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison().
|
inline |
Set the selection cuts used in the trigger selection.
[in] | cuts | Selection cuts for the given trigger class |
Definition at line 107 of file AliEmcalTriggerDecision.h.
Referenced by PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison().
|
protected |
All trigger patches which are accepted as well.
Definition at line 125 of file AliEmcalTriggerDecision.h.
Referenced by AddAcceptedPatch(), AliEmcalTriggerDecision(), and GetAcceptedPatches().
|
protected |
Main trigger patch which fires the decision.
Definition at line 123 of file AliEmcalTriggerDecision.h.
Referenced by GetMainPatch(), IsSelected(), and SetMainPatch().
|
protected |
Pointer to the cuts used for the trigger selection.
Definition at line 124 of file AliEmcalTriggerDecision.h.
Referenced by GetSelectionCuts(), and SetSelectionCuts().