ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkBPhys
src
Thin_vtxDuplicates.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_Thin_vtxDuplicates_H
6
#define DERIVATIONFRAMEWORK_Thin_vtxDuplicates_H
7
8
#include "
xAODTracking/VertexContainer.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
DerivationFrameworkInterfaces/IThinningTool.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
StoreGate/ThinningHandleKey.h
"
13
#include "
StoreGate/ReadDecorHandleKeyArray.h
"
14
class
IThinningSvc;
15
16
namespace
DerivationFramework
{
17
18
class
Thin_vtxDuplicates
:
public
extends<AthAlgTool, IThinningTool> {
19
public
:
20
Thin_vtxDuplicates
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
21
~Thin_vtxDuplicates
();
22
virtual
StatusCode
initialize
();
23
virtual
StatusCode
finalize
();
24
virtual
StatusCode
doThinning
(
const
EventContext& ctx)
const
;
25
26
private
:
27
bool
m_noFlags
;
28
StringProperty
m_streamName
{
this
,
"StreamName"
,
""
,
"Name of the stream being thinned"
};
29
mutable
std::atomic<unsigned int>
m_nVtxTot
,
m_nVtxPass
;
30
31
SG::ThinningHandleKey< xAOD::VertexContainer >
m_vertexContainerNames
;
32
SG::ReadDecorHandleKeyArray<xAOD::VertexContainer>
m_passFlags
;
33
};
34
}
35
36
#endif
AthAlgTool.h
IThinningTool.h
ReadDecorHandleKeyArray.h
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
VertexContainer.h
DerivationFramework::Thin_vtxDuplicates::~Thin_vtxDuplicates
~Thin_vtxDuplicates()
DerivationFramework::Thin_vtxDuplicates::doThinning
virtual StatusCode doThinning(const EventContext &ctx) const
Definition
Thin_vtxDuplicates.cxx:73
DerivationFramework::Thin_vtxDuplicates::m_nVtxPass
std::atomic< unsigned int > m_nVtxPass
Definition
Thin_vtxDuplicates.h:29
DerivationFramework::Thin_vtxDuplicates::m_vertexContainerNames
SG::ThinningHandleKey< xAOD::VertexContainer > m_vertexContainerNames
Definition
Thin_vtxDuplicates.h:31
DerivationFramework::Thin_vtxDuplicates::m_passFlags
SG::ReadDecorHandleKeyArray< xAOD::VertexContainer > m_passFlags
Definition
Thin_vtxDuplicates.h:32
DerivationFramework::Thin_vtxDuplicates::initialize
virtual StatusCode initialize()
Definition
Thin_vtxDuplicates.cxx:41
DerivationFramework::Thin_vtxDuplicates::m_noFlags
bool m_noFlags
Definition
Thin_vtxDuplicates.h:27
DerivationFramework::Thin_vtxDuplicates::finalize
virtual StatusCode finalize()
Definition
Thin_vtxDuplicates.cxx:64
DerivationFramework::Thin_vtxDuplicates::Thin_vtxDuplicates
Thin_vtxDuplicates(const std::string &t, const std::string &n, const IInterface *p)
Definition
Thin_vtxDuplicates.cxx:22
DerivationFramework::Thin_vtxDuplicates::m_nVtxTot
std::atomic< unsigned int > m_nVtxTot
Definition
Thin_vtxDuplicates.h:29
DerivationFramework::Thin_vtxDuplicates::m_streamName
StringProperty m_streamName
Definition
Thin_vtxDuplicates.h:28
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition
ThinningHandleKey.h:39
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::ReadDecorHandleKeyArray
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
Definition
StoreGate/StoreGate/ReadDecorHandleKeyArray.h:35
Generated on
for ATLAS Offline Software by
1.17.0