ATLAS Offline Software
TrigZFinderAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef IDSCANZFINDER_TRIGZFINDERALG_H
5 #define IDSCANZFINDER_TRIGZFINDERALG_H
6 
7 // Framework includes
9 
10 // STL includes
11 #include <string>
12 
14 
15 // Include tool handling
16 #include "TrigZFinder.h"
17 
18 // For m_pixelHelperKey
20 
24 
26 //New athenaMT monitoring
28 
29 // Tiny wrapper algorithm to call ZFinder tool.
35 public:
36  TrigZFinderAlg(const std::string& name, ISvcLocator* pSvcLocator);
37  virtual ~TrigZFinderAlg() override;
38 
39  virtual StatusCode initialize() override;
40  virtual StatusCode execute(const EventContext& context) const override;
41  virtual StatusCode finalize() override;
42 
43 private:
44  ToolHandleArray<TrigZFinder> m_zFinderTools{this, "ZFinderTools", {"TrigZFinder/TrigZFinder"}};
45  SG::ReadHandleKey<SpacePointContainer> m_pixelSpKey{this, "PixelSpKey", "PixelTrigSpacePoints", " "};
46  SG::ReadHandleKey<PixelID> m_pixelHelperKey{this, "pixelHelperKey", "DetectorStore+PixelID", " "};
48  ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
49 
50 };
51 
52 #endif // IDSCANZFINDER_TRIGZFINDERALG_H
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
TrigZFinderAlg::m_pixelSpKey
SG::ReadHandleKey< SpacePointContainer > m_pixelSpKey
Definition: TrigZFinderAlg.h:45
TrigZFinderAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigZFinderAlg.cxx:40
TrigZFinderAlg
Definition: TrigZFinderAlg.h:34
TrigZFinderAlg::~TrigZFinderAlg
virtual ~TrigZFinderAlg() override
Definition: TrigZFinderAlg.cxx:20
SG::ReadHandleKey< SpacePointContainer >
TrigZFinderAlg::initialize
virtual StatusCode initialize() override
Definition: TrigZFinderAlg.cxx:24
SpacePointContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrigZFinderAlg::m_pixelHelperKey
SG::ReadHandleKey< PixelID > m_pixelHelperKey
Definition: TrigZFinderAlg.h:46
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigZFinderAlg::m_vertexKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_vertexKey
Definition: TrigZFinderAlg.h:47
AthAlgTool.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigCompositeAuxContainer.h
TrigZFinderAlg::finalize
virtual StatusCode finalize() override
Definition: TrigZFinderAlg.cxx:35
TrigCompositeContainer.h
AthReentrantAlgorithm.h
TrigZFinder.h
TrigZFinderAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigZFinderAlg.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigZFinderAlg::m_zFinderTools
ToolHandleArray< TrigZFinder > m_zFinderTools
Definition: TrigZFinderAlg.h:44
TrigComposite.h
TrigZFinderAlg::TrigZFinderAlg
TrigZFinderAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigZFinderAlg.cxx:15