ATLAS Offline Software
SiZvertexMaker_xk.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
8 // Header file for class SiZvertexMaker_xk
10 // Version 1.0 3/10/2004 I.Gavrilenko
12 
13 #ifndef SiZvertexMaker_xk_H
14 #define SiZvertexMaker_xk_H
15 
16 
19 
22 
23 #include "GaudiKernel/ToolHandle.h"
24 
25 #include <iosfwd>
26 #include <list>
27 #include <vector>
28 
29 namespace Trk {
30  class Vertex;
31 }
32 
33 class MsgStream;
34 
35 namespace InDet {
36 
37  class SiSpacePointsSeedMakerEventData;
38 
49  class SiZvertexMaker_xk final: public extends<AthAlgTool, ISiZvertexMaker>
50  {
52  // Public methods:
54 
55  public:
56 
60 
61  SiZvertexMaker_xk(const std::string&,
62  const std::string&,
63  const IInterface*);
64  virtual ~SiZvertexMaker_xk() = default;
65  virtual StatusCode initialize() override;
66  virtual StatusCode finalize() override;
68 
72 
73  virtual std::list<Trk::Vertex> newEvent(const EventContext& ctx, SiSpacePointsSeedMakerEventData& data) const override;
74  virtual std::list<Trk::Vertex> newRegion(const EventContext& ctx, SiSpacePointsSeedMakerEventData& data,
75  const std::vector<IdentifierHash>&,
76  const std::vector<IdentifierHash>&) const override;
77  virtual std::list<Trk::Vertex> newRegion(const EventContext& ctx, SiSpacePointsSeedMakerEventData& data,
78  const std::vector<IdentifierHash>&,
79  const std::vector<IdentifierHash>&,
80  const IRoiDescriptor&) const override;
82 
86 
87  virtual MsgStream& dump(MsgStream& out) const override;
89 
90  protected:
91 
93  // Protected data and methods
95 
97 
98  ToolHandle<InDet::ISiSpacePointsSeedMaker> m_seedsgenerator
99  {this, "SeedMakerTool", "InDet::SiSpacePointsSeedMaker_ATLxk"};
101 
103  //@[
104  IntegerProperty m_nspoint{this, "SeedSize", 2};
105  IntegerProperty m_histsize{this, "HistSize", 500};
106  IntegerProperty m_mincontent{this, "minContent", 20};
107  DoubleProperty m_zmin{this, "Zmin", -250.};
108  DoubleProperty m_zmax{this, "Zmax", +250.};
109  DoubleProperty m_ratio{this, "minRatio", 0.25};
111 
113  // Protected methods
115 
116  std::list<Trk::Vertex> production(const EventContext& ctx, SiSpacePointsSeedMakerEventData& data) const;
117  MsgStream& dumpConditions(MsgStream& out) const;
118  };
119 }
120 
121 #endif // SiZvertexMaker_xk_H
InDet::SiZvertexMaker_xk::m_zmax
DoubleProperty m_zmax
Definition: SiZvertexMaker_xk.h:108
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
InDet::SiZvertexMaker_xk::dump
virtual MsgStream & dump(MsgStream &out) const override
Definition: SiZvertexMaker_xk.cxx:220
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition: Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
InDet::SiSpacePointsSeedMakerEventData
Definition: SiSpacePointsSeedMakerEventData.h:49
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiZvertexMaker_xk
Definition: SiZvertexMaker_xk.h:50
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::SiZvertexMaker_xk::production
std::list< Trk::Vertex > production(const EventContext &ctx, SiSpacePointsSeedMakerEventData &data) const
Definition: SiZvertexMaker_xk.cxx:96
ISiZvertexMaker.h
InDet::SiZvertexMaker_xk::~SiZvertexMaker_xk
virtual ~SiZvertexMaker_xk()=default
InDet::SiZvertexMaker_xk::dumpConditions
MsgStream & dumpConditions(MsgStream &out) const
Definition: SiZvertexMaker_xk.cxx:230
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition: IRoiDescriptor.h:23
AthAlgTool.h
InDet::SiZvertexMaker_xk::m_ratio
DoubleProperty m_ratio
Definition: SiZvertexMaker_xk.h:109
InDet::SiZvertexMaker_xk::newEvent
virtual std::list< Trk::Vertex > newEvent(const EventContext &ctx, SiSpacePointsSeedMakerEventData &data) const override
Definition: SiZvertexMaker_xk.cxx:61
ISiSpacePointsSeedMaker.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::SiZvertexMaker_xk::m_seedsgenerator
ToolHandle< InDet::ISiSpacePointsSeedMaker > m_seedsgenerator
Definition: SiZvertexMaker_xk.h:99
InDet::SiZvertexMaker_xk::initialize
virtual StatusCode initialize() override
Definition: SiZvertexMaker_xk.cxx:37
IdentifierHash.h
InDet::SiZvertexMaker_xk::m_zmin
DoubleProperty m_zmin
Definition: SiZvertexMaker_xk.h:107
InDet::SiZvertexMaker_xk::m_nspoint
IntegerProperty m_nspoint
Definition: SiZvertexMaker_xk.h:104
InDet::SiZvertexMaker_xk::finalize
virtual StatusCode finalize() override
Definition: SiZvertexMaker_xk.cxx:52
InDet::SiZvertexMaker_xk::m_mincontent
IntegerProperty m_mincontent
Definition: SiZvertexMaker_xk.h:106
InDet::SiZvertexMaker_xk::newRegion
virtual std::list< Trk::Vertex > newRegion(const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::vector< IdentifierHash > &, const std::vector< IdentifierHash > &) const override
Definition: SiZvertexMaker_xk.cxx:72
InDet::SiZvertexMaker_xk::m_histsize
IntegerProperty m_histsize
Definition: SiZvertexMaker_xk.h:105
InDet::SiZvertexMaker_xk::SiZvertexMaker_xk
SiZvertexMaker_xk(const std::string &, const std::string &, const IInterface *)
Definition: SiZvertexMaker_xk.cxx:28