ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDecisionCnvAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: TrigDecisionCnvAlg.h 578517 2014-01-15 13:48:04Z krasznaa $
8#ifndef XAODTRIGGERCNV_TRIGDECISIONCNVALG_H
9#define XAODTRIGGERCNV_TRIGDECISIONCNVALG_H
10
11// System include(s):
12#include <string>
13
14// Gaudi/Athena include(s):
16#include "GaudiKernel/ToolHandle.h"
17
18// EDM include(s):
22
23#include "EventInfo/EventInfo.h"
25
26// Local include(s):
28
29namespace xAODMaker {
30
43
44 public:
46 TrigDecisionCnvAlg( const std::string& name, ISvcLocator* svcLoc );
47 virtual ~TrigDecisionCnvAlg();
48
50 virtual StatusCode initialize() override;
52 virtual StatusCode execute(const EventContext& ctx) const override;
53
54 private:
55
56 SG::ReadHandleKey<EventInfo> m_eventInfoKey{this, "EventInfoKey", "EventInfo", "StoreGate key of the legacy event info object"};
57 SG::ReadHandleKey<TrigDec::TrigDecision> m_aodKey{this, "AODKey", "TrigDecision", "StoreGate key of the input object"};
58 SG::WriteHandleKey<xAOD::TrigDecision> m_xaodKey{this, "xAODKey", "xTrigDecision", "StoreGate key for the output object"};
59
60 ToolHandle< ITrigDecisionCnvTool > m_cnvTool{this, "CnvTool", "xAODMaker::TrigDecisionCnvTool/TrigDecisionCnvTool", "Handle to the converter tool"};
61
62 }; // class TrigDecisionCnvAlg
63
64} // namespace xAODMaker
65
66#endif // XAODTRIGGERCNV_TRIGDECISIONCNVALG_H
This class contains trigger related information.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::ReadHandleKey< EventInfo > m_eventInfoKey
SG::WriteHandleKey< xAOD::TrigDecision > m_xaodKey
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< ITrigDecisionCnvTool > m_cnvTool
TrigDecisionCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
SG::ReadHandleKey< TrigDec::TrigDecision > m_aodKey