ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkBPhys
DerivationFrameworkBPhys
AnyVertexSkimmingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORKBPHY_ANYVERTEXSKIMMINGTOOL_H
6
#define DERIVATIONFRAMEWORKBPHY_ANYVERTEXSKIMMINGTOOL_H
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
DerivationFrameworkInterfaces/ISkimmingTool.h
"
9
#include "
xAODTracking/VertexContainerFwd.h
"
10
#include <vector>
11
//*This class is written as a stop gap because the standard expression parser isn't working with the cascade vertices
12
//***When this is resolved it can be deleted
13
14
namespace
DerivationFramework
{
15
class
AnyVertexSkimmingTool
:
public
AthAlgTool
,
public
ISkimmingTool
{
16
public
:
17
AnyVertexSkimmingTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
18
StatusCode
initialize
()
override
;
19
virtual
bool
eventPassesFilter
()
const override
;
20
~AnyVertexSkimmingTool
();
21
private
:
22
Gaudi::Property<std::vector<std::string>>
m_containerNames
{
this
,
"VertexContainerNames"
, {} };
23
SG::ReadHandleKeyArray<xAOD::VertexContainer>
m_keyArray
{
this
,
"ReadHandles"
, {} };
24
Gaudi::Property<bool>
m_useHandles
{
this
,
"UseHandles"
,
false
};
25
};
26
}
27
28
#endif
VertexContainerFwd.h
DerivationFramework::AnyVertexSkimmingTool::initialize
StatusCode initialize() override
Definition:
AnyVertexSkimmingTool.cxx:16
DerivationFramework::AnyVertexSkimmingTool::m_useHandles
Gaudi::Property< bool > m_useHandles
Definition:
AnyVertexSkimmingTool.h:24
SG::HandleKeyArray
Definition:
StoreGate/StoreGate/HandleKeyArray.h:38
DerivationFramework::AnyVertexSkimmingTool
Definition:
AnyVertexSkimmingTool.h:15
DerivationFramework::ISkimmingTool
Definition:
ISkimmingTool.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::AnyVertexSkimmingTool::eventPassesFilter
virtual bool eventPassesFilter() const override
Check that the current event passes this filter.
Definition:
AnyVertexSkimmingTool.cxx:22
DerivationFramework::AnyVertexSkimmingTool::m_containerNames
Gaudi::Property< std::vector< std::string > > m_containerNames
Definition:
AnyVertexSkimmingTool.h:22
DerivationFramework::AnyVertexSkimmingTool::m_keyArray
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_keyArray
Definition:
AnyVertexSkimmingTool.h:23
DerivationFramework::AnyVertexSkimmingTool::AnyVertexSkimmingTool
AnyVertexSkimmingTool(const std::string &, const std::string &, const IInterface *)
Definition:
AnyVertexSkimmingTool.cxx:11
AthAlgTool
Definition:
AthAlgTool.h:26
DerivationFramework::AnyVertexSkimmingTool::~AnyVertexSkimmingTool
~AnyVertexSkimmingTool()
ISkimmingTool.h
Generated on Thu Nov 7 2024 21:09:59 for ATLAS Offline Software by
1.8.18