ATLAS Offline Software
OverlayVertexSkimmingAlg.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 OVERLAYUTILITIES_OVERLAYVERTEXSKIMMINGALG_H
6 #define OVERLAYUTILITIES_OVERLAYVERTEXSKIMMINGALG_H
7 
12 
13 #include <string>
14 
16  public:
17  OverlayVertexSkimmingAlg(const std::string& name, ISvcLocator* pSvcLocator);
18  virtual ~OverlayVertexSkimmingAlg() = default;
19 
20  virtual StatusCode initialize() override final;
21  virtual StatusCode execute(const EventContext& ctx) const override final;
22  virtual StatusCode finalize() override final;
23 
24  private:
26  this, "PrimaryVertexContainerName", "Bkg_PrimaryVertices"};
27 
29  this, "OverlayVertexSkimmingAlg",
30  "Select events with at least one primary vertex"};
31 };
32 
33 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
OverlayVertexSkimmingAlg::initialize
virtual StatusCode initialize() override final
Definition: OverlayVertexSkimmingAlg.cxx:13
OverlayVertexSkimmingAlg::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition: OverlayVertexSkimmingAlg.h:25
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
OverlayVertexSkimmingAlg
Definition: OverlayVertexSkimmingAlg.h:15
OverlayVertexSkimmingAlg::OverlayVertexSkimmingAlg
OverlayVertexSkimmingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: OverlayVertexSkimmingAlg.cxx:9
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition: VertexContainer.h:14
OverlayVertexSkimmingAlg::finalize
virtual StatusCode finalize() override final
Definition: OverlayVertexSkimmingAlg.cxx:20
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
FilterReporterParams
a handle for applying algorithm filter decisions
Definition: FilterReporterParams.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
OverlayVertexSkimmingAlg::m_filterParams
FilterReporterParams m_filterParams
Definition: OverlayVertexSkimmingAlg.h:28
VertexContainer.h
OverlayVertexSkimmingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: OverlayVertexSkimmingAlg.cxx:25
OverlayVertexSkimmingAlg::~OverlayVertexSkimmingAlg
virtual ~OverlayVertexSkimmingAlg()=default
FilterReporterParams.h