ATLAS Offline Software
TriggerSelectionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENTUTILS_TRIGGERSELECTIONALG_H
6 #define EVENTUTILS_TRIGGERSELECTIONALG_H 1
7 
8 // STL includes
9 #include <string>
10 
11 // FrameWork includes
13 #include "GaudiKernel/ToolHandle.h"
14 
15 // EDM includes
17 
18 // Forward declarations
19 namespace Trig{
20  class TrigDecisionTool;
21 }
22 
23 
25  : public ::AthFilterAlgorithm
26 {
28  // Public methods:
30  public:
31 
33  TriggerSelectionAlg( const std::string& name, ISvcLocator* pSvcLocator );
34 
36  virtual ~TriggerSelectionAlg();
37 
39  virtual StatusCode initialize();
40 
42  virtual StatusCode execute();
43 
45  virtual StatusCode finalize();
46 
47 
48  private:
49 
52 
54  ToolHandle<Trig::TrigDecisionTool> m_trigDecisionTool;
55 
57  StringArrayProperty m_triggerList;
58 
60  BooleanProperty m_decoEvtInfo;
61 
63  StringProperty m_evtInfoName;
64 
66  StringProperty m_varPrefix;
67 
69  BooleanProperty m_storePrescaleInfo;
70 
72 
75 
77  std::vector<std::string> m_varNameList;
78 
80 
81 };
82 
83 
84 
85 #endif //> !EVENTUTILS_TRIGGERSELECTIONALG_H
TriggerSelectionAlg::TriggerSelectionAlg
TriggerSelectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition: TriggerSelectionAlg.cxx:13
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
TriggerSelectionAlg::m_varPrefix
StringProperty m_varPrefix
Prefix used for the decoration variables.
Definition: TriggerSelectionAlg.h:66
TriggerSelectionAlg::m_varNameList
std::vector< std::string > m_varNameList
The list of all variables names.
Definition: TriggerSelectionAlg.h:77
AthFilterAlgorithm
Definition: AthFilterAlgorithm.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TriggerSelectionAlg::m_triggerList
StringArrayProperty m_triggerList
The list of triggers to cut on.
Definition: TriggerSelectionAlg.h:57
TriggerSelectionAlg::m_evtInfoName
StringProperty m_evtInfoName
Name of the xAOD::EventInfo object that we want to decorate.
Definition: TriggerSelectionAlg.h:63
TriggerSelectionAlg::m_decoEvtInfo
BooleanProperty m_decoEvtInfo
Decide if we also want to decorate the xAOD::EventInfo object with the pass/fail information.
Definition: TriggerSelectionAlg.h:60
TriggerSelectionAlg::~TriggerSelectionAlg
virtual ~TriggerSelectionAlg()
Destructor:
Definition: TriggerSelectionAlg.cxx:34
TriggerSelectionAlg::m_trigDecisionTool
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
The ToolHandle for the TrigDecisionTool.
Definition: TriggerSelectionAlg.h:54
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TriggerSelectionAlg
Definition: TriggerSelectionAlg.h:26
TriggerSelectionAlg::finalize
virtual StatusCode finalize()
Athena algorithm's finalize hook.
Definition: TriggerSelectionAlg.cxx:61
LArSCvsRawChannelConfig.TrigDecisionTool
TrigDecisionTool
Definition: LArSCvsRawChannelConfig.py:83
AthFilterAlgorithm.h
TriggerSelectionAlg::execute
virtual StatusCode execute()
Athena algorithm's execute hook.
Definition: TriggerSelectionAlg.cxx:72
TriggerSelectionAlg::initialize
virtual StatusCode initialize()
Athena algorithm's initalize hook.
Definition: TriggerSelectionAlg.cxx:37
TriggerSelectionAlg::m_storePrescaleInfo
BooleanProperty m_storePrescaleInfo
Decide if we also want to decorate the xAOD::EventInfo object with the (full-chain) prescale informat...
Definition: TriggerSelectionAlg.h:69
AuxElement.h
Base class for elements of a container that can have aux data.