ATLAS Offline Software
Loading...
Searching...
No Matches
MatchingBkgVertexPositioner.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef BEAMEFFECTS_MATCHINGBKGVERTEXPOSITIONER_H
6#define BEAMEFFECTS_MATCHINGBKGVERTEXPOSITIONER_H
7
12
13// STL includes
14#include <string>
15
16namespace Simulation {
17
23
25 : public extends<AthAlgTool, ILorentzVectorGenerator> {
26
27 public:
28 MatchingBkgVertexPositioner(const std::string &t, const std::string &n,
29 const IInterface *p);
30 virtual ~MatchingBkgVertexPositioner() = default;
31
32 StatusCode initialize() override final;
33
34 CLHEP::HepLorentzVector *generate(
35 const EventContext &ctx) const override final;
36
37 private:
38 SG::ReadHandleKey<xAOD::VertexContainer> m_vertexContainerKey{
39 this, "PrimaryVertexContainerName", "PrimaryVertices"};
40};
41
42} // namespace Simulation
43
44#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
MatchingBkgVertexPositioner(const std::string &t, const std::string &n, const IInterface *p)
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
virtual ~MatchingBkgVertexPositioner()=default
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private