ATLAS Offline Software
TrigAFPToFHypoAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGAFPTOFHYPOALG_H
5 #define TRIGAFPTOFHYPOALG_H
6 
10 
11 #include "xAODTracking/Vertex.h"
12 #include "xAODForward/AFPVertex.h"
13 
16 
17 #include "TrigAFPToFHypoTool.h"
18 
24 class TrigAFPToFHypoAlg : public::HypoBase
25 {
26  public:
27  TrigAFPToFHypoAlg(const std::string &name, ISvcLocator *pSvcLocator);
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode execute(const EventContext &context) const override;
31 
32  private:
33  SG::ReadHandleKey< xAOD::VertexContainer > m_inputIdVtxKey {this, "VertexContainer", "HLT_IDVertex_FS", "ID vertex collection"};
34  SG::ReadHandleKey<xAOD::AFPVertexContainer> m_inputAfpVtxKey{this, "AFPVertexContainer", "HLT_AFPVertex", "AFP ToF vertex collection"};
35  ToolHandleArray<TrigAFPToFHypoTool> m_hypoTools{this, "HypoTools", {}};
36 
37  // Monitor tool for TrigAFPToFHypo
38  ToolHandle<GenericMonitoringTool> m_monTool { this, "MonTool", "", "Monitor tool for TrigAFPToFHypo" };
39 };
40 
41 #endif // TRIGAFPTOFHYPOALG_H
TrigAFPToFHypoAlg::m_inputAfpVtxKey
SG::ReadHandleKey< xAOD::AFPVertexContainer > m_inputAfpVtxKey
Definition: TrigAFPToFHypoAlg.h:34
TrigAFPToFHypoAlg::m_inputIdVtxKey
SG::ReadHandleKey< xAOD::VertexContainer > m_inputIdVtxKey
Definition: TrigAFPToFHypoAlg.h:33
TrigAFPToFHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigAFPToFHypoAlg.cxx:24
TrigAFPToFHypoTool.h
TrigAFPToFHypoAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigAFPToFHypoAlg.h:38
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
GenericMonitoringTool.h
TrigAFPToFHypoAlg::initialize
virtual StatusCode initialize() override
Definition: TrigAFPToFHypoAlg.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigAFPToFHypoAlg::m_hypoTools
ToolHandleArray< TrigAFPToFHypoTool > m_hypoTools
Definition: TrigAFPToFHypoAlg.h:35
Vertex.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigAFPToFHypoAlg::TrigAFPToFHypoAlg
TrigAFPToFHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigAFPToFHypoAlg.cxx:9
AFPVertex.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
VertexContainer.h
HypoBase.h
TrigAFPToFHypoAlg
Definition: TrigAFPToFHypoAlg.h:25
AFPVertexContainer.h