ATLAS Offline Software
DummyVertexSelectionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrkVertexTools_DummyVertexSelectionTool_H
6 #define TrkVertexTools_DummyVertexSelectionTool_H
7 
9 #include "GaudiKernel/ToolHandle.h"
11 
12 #include "GaudiKernel/RndmGenerators.h"
14 
32  namespace Trk
33  {
34 
35 
36  class DummyVertexSelectionTool : public extends<AthAlgTool, IVertexSelectionTool>
37  {
38  public:
39  virtual StatusCode initialize() override;
40  virtual StatusCode finalize() override;
41 
46  DummyVertexSelectionTool(const std::string& t, const std::string& n, const IInterface* p);
47 
53 
54  virtual unsigned int findVertexInContainer(const xAOD::VertexContainer * ) const override;
55 
56 
57  private:
58 
61  { this, "RndmSvc", "AthRNGSvc", ""};
62  std::string m_randomEngineName;
63  }; //end of class description
64  }//end of namespace definition
65 
66  #endif
Trk::DummyVertexSelectionTool::m_randomEngineName
std::string m_randomEngineName
Name of the random number stream.
Definition: DummyVertexSelectionTool.h:62
Trk::DummyVertexSelectionTool::~DummyVertexSelectionTool
virtual ~DummyVertexSelectionTool()
destructor
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::DummyVertexSelectionTool::finalize
virtual StatusCode finalize() override
EndOfInitialize.
Definition: DummyVertexSelectionTool.cxx:30
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk::DummyVertexSelectionTool
Definition: DummyVertexSelectionTool.h:37
IVertexSelectionTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::DummyVertexSelectionTool::DummyVertexSelectionTool
DummyVertexSelectionTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition: DummyVertexSelectionTool.cxx:14
Trk::DummyVertexSelectionTool::findVertexInContainer
virtual unsigned int findVertexInContainer(const xAOD::VertexContainer *) const override
Definition: DummyVertexSelectionTool.cxx:35
Trk::DummyVertexSelectionTool::initialize
virtual StatusCode initialize() override
Definition: DummyVertexSelectionTool.cxx:24
Trk::DummyVertexSelectionTool::m_randomSvc
ServiceHandle< IAthRNGSvc > m_randomSvc
Pointer to the random number generator service.
Definition: DummyVertexSelectionTool.h:61
IAthRNGSvc.h
ServiceHandle< IAthRNGSvc >