Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PEBInfoWriterAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigPartialEventBuilding_PEBInfoWriterAlg_h
6 #define TrigPartialEventBuilding_PEBInfoWriterAlg_h
7 
12 #include "Gaudi/Parsers/Factory.h"
13 
17 class PEBInfoWriterAlg : public HypoBase {
18 public:
20  PEBInfoWriterAlg(const std::string& name, ISvcLocator* svcLoc);
22  virtual ~PEBInfoWriterAlg();
23 
24  // ------------------------- AthReentrantAlgorithm methods -------------------
25  virtual StatusCode initialize() override;
26  virtual StatusCode finalize() override;
27  virtual StatusCode execute(const EventContext& eventContext) const override;
28 
29 private:
30  ToolHandleArray<PEBInfoWriterToolBase> m_hypoTools {this, "HypoTools", {}, "Tools to create the PEB Info"};
31  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey {this,"EventInfo","EventInfo","input data key"};
32  Gaudi::Property<std::vector<uint8_t> > m_matchTriggerType {this, "MatchTriggerType", {}, "L1 trigger type to match"};
33 };
34 
35 #endif // TrigPartialEventBuilding_PEBInfoWriterAlg_h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PEBInfoWriterAlg
Pass-through hypo algorithm writing decisions with attached partial event building information.
Definition: PEBInfoWriterAlg.h:17
PEBInfoWriterAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: PEBInfoWriterAlg.h:31
PEBInfoWriterAlg::m_matchTriggerType
Gaudi::Property< std::vector< uint8_t > > m_matchTriggerType
Definition: PEBInfoWriterAlg.h:32
PEBInfoWriterAlg::initialize
virtual StatusCode initialize() override
Definition: PEBInfoWriterAlg.cxx:37
SG::ReadHandleKey< xAOD::EventInfo >
PEBInfoWriterAlg::finalize
virtual StatusCode finalize() override
Definition: PEBInfoWriterAlg.cxx:46
PEBInfoWriterToolBase.h
PEBInfoWriterAlg::PEBInfoWriterAlg
PEBInfoWriterAlg(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
Definition: PEBInfoWriterAlg.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
PEBInfoWriterAlg::~PEBInfoWriterAlg
virtual ~PEBInfoWriterAlg()
Standard destructor.
Definition: PEBInfoWriterAlg.cxx:33
EventInfo.h
PEBInfoWriterAlg::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition: PEBInfoWriterAlg.cxx:53
HypoBase.h
PEBInfoWriterAlg::m_hypoTools
ToolHandleArray< PEBInfoWriterToolBase > m_hypoTools
Definition: PEBInfoWriterAlg.h:30