ATLAS Offline Software
FileRoISeedTool.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2020-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
8 // (c) ATLAS Detector software
10 // Class for Z-window RoI from an input file
12 
13 #ifndef SiSpacePointsSeedTool_xk_FileRoISeedTool_h
14 #define SiSpacePointsSeedTool_xk_FileRoISeedTool_h
15 
17 #include "GaudiKernel/EventContext.h"
20 
21 #include <string>
22 #include <vector>
23 
24 
25 namespace InDet {
26 
27  class FileRoISeedTool final:
28  public extends<AthAlgTool, IZWindowRoISeedTool>
29  {
30 
32  // Public methods:
34 
35  public:
36 
40 
41  FileRoISeedTool(const std::string&,const std::string&,const IInterface*);
42  virtual ~FileRoISeedTool() = default;
43  virtual StatusCode initialize() override;
45 
51  virtual std::vector<ZWindow> getRoIs(const EventContext& ctx) const override;
52 
53  protected:
54 
56  FileRoISeedTool() = delete;
57  FileRoISeedTool(const FileRoISeedTool&) = delete;
59 
63 
64  StringProperty m_filename{this, "InputFileName", "", "Input file MUST be specified with LowPtRoIFile job option"};
65  FloatProperty m_z0Window{this, "TrackZ0Window", 30.0, "Size of RoI along z-axis"};
66 
67  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfoKey", "EventInfo", "xAOD EventInfo object"};
69 
70  }; // FileRoISeedTool
71 } //InDet namespace
72 
73 #endif // SiSpacePointsSeedMaker_FileRoISeedTool
74 
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::FileRoISeedTool::m_z0Window
FloatProperty m_z0Window
Definition: FileRoISeedTool.h:65
SG::ReadHandleKey< xAOD::EventInfo >
InDet::FileRoISeedTool::operator=
FileRoISeedTool & operator=(const FileRoISeedTool &)=delete
InDet::FileRoISeedTool
Definition: FileRoISeedTool.h:29
InDet::FileRoISeedTool::initialize
virtual StatusCode initialize() override
Definition: FileRoISeedTool.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::FileRoISeedTool::~FileRoISeedTool
virtual ~FileRoISeedTool()=default
AthAlgTool.h
InDet::FileRoISeedTool::FileRoISeedTool
FileRoISeedTool()=delete
InDet::FileRoISeedTool::FileRoISeedTool
FileRoISeedTool(const FileRoISeedTool &)=delete
InDet::FileRoISeedTool::getRoIs
virtual std::vector< ZWindow > getRoIs(const EventContext &ctx) const override
Compute RoI.
Definition: FileRoISeedTool.cxx:53
EventInfo.h
InDet::FileRoISeedTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: FileRoISeedTool.h:67
InDet::FileRoISeedTool::m_filename
StringProperty m_filename
Definition: FileRoISeedTool.h:64
IZWindowRoISeedTool.h