ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkLLP
DerivationFrameworkLLP
VSITrackParticleThinning.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// VSITrackParticleThinning.h, (c) ATLAS Detector software
8
9
#ifndef DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
10
#define DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
11
12
#include <string>
13
#include <atomic>
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
DerivationFrameworkInterfaces/IThinningTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
xAODTracking/TrackParticleContainer.h
"
19
#include "
xAODJet/JetContainer.h
"
20
#include "
xAODTracking/VertexContainer.h
"
21
#include "
StoreGate/ThinningHandleKey.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
24
#include "
ExpressionEvaluation/ExpressionParserUser.h
"
25
26
namespace
DerivationFramework
{
27
28
enum
EDvTrPThinningParser
{
kDvSelection
,
kdvTrackThinning
,
kNumDvTPThinningParser
};
29
class
VSITrackParticleThinning
:
public
extends<ExpressionParserUser<AthAlgTool, kNumDvTPThinningParser>, IThinningTool> {
30
public
:
31
VSITrackParticleThinning
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
32
virtual
~VSITrackParticleThinning
();
33
virtual
StatusCode
initialize
()
override
;
34
virtual
StatusCode
finalize
()
override
;
35
virtual
StatusCode
doThinning
(
const
EventContext& ctx)
const override
;
36
37
private
:
38
mutable
std::atomic<unsigned int>
m_ntot
{};
39
mutable
std::atomic<unsigned int>
m_npass
{};
40
41
StringProperty
m_streamName
42
{
this
,
"StreamName"
,
""
,
"Name of the stream being thinned"
};
43
SG::ThinningHandleKey<xAOD::TrackParticleContainer>
m_inDetSGKey
44
{
this
,
"InDetTrackParticlesKey"
,
"InDetTrackParticles"
,
""
};
45
StringProperty
m_selectionString
46
{
this
,
"SelectionString"
,
""
,
""
};
47
StringProperty
m_trackSelectionString
48
{
this
,
"TrackSelectionString"
,
""
,
""
};
49
50
StringArrayProperty
m_augVerStrings
51
{
this
,
"AugVerStrings"
, {
""
},
"List of augVerStrings to consider"
};
52
53
};
54
}
55
56
#endif
// DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
AthAlgTool.h
TrackParticleContainer.h
ExpressionParserUser.h
IThinningTool.h
JetContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
VertexContainer.h
DerivationFramework::VSITrackParticleThinning::m_npass
std::atomic< unsigned int > m_npass
Definition
VSITrackParticleThinning.h:39
DerivationFramework::VSITrackParticleThinning::finalize
virtual StatusCode finalize() override
Definition
VSITrackParticleThinning.cxx:49
DerivationFramework::VSITrackParticleThinning::VSITrackParticleThinning
VSITrackParticleThinning(const std::string &t, const std::string &n, const IInterface *p)
Definition
VSITrackParticleThinning.cxx:21
DerivationFramework::VSITrackParticleThinning::m_inDetSGKey
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
Definition
VSITrackParticleThinning.h:44
DerivationFramework::VSITrackParticleThinning::m_selectionString
StringProperty m_selectionString
Definition
VSITrackParticleThinning.h:46
DerivationFramework::VSITrackParticleThinning::m_augVerStrings
StringArrayProperty m_augVerStrings
Definition
VSITrackParticleThinning.h:51
DerivationFramework::VSITrackParticleThinning::m_ntot
std::atomic< unsigned int > m_ntot
Definition
VSITrackParticleThinning.h:38
DerivationFramework::VSITrackParticleThinning::~VSITrackParticleThinning
virtual ~VSITrackParticleThinning()
Definition
VSITrackParticleThinning.cxx:29
DerivationFramework::VSITrackParticleThinning::m_streamName
StringProperty m_streamName
Definition
VSITrackParticleThinning.h:42
DerivationFramework::VSITrackParticleThinning::m_trackSelectionString
StringProperty m_trackSelectionString
Definition
VSITrackParticleThinning.h:48
DerivationFramework::VSITrackParticleThinning::doThinning
virtual StatusCode doThinning(const EventContext &ctx) const override
Definition
VSITrackParticleThinning.cxx:57
DerivationFramework::VSITrackParticleThinning::initialize
virtual StatusCode initialize() override
Definition
VSITrackParticleThinning.cxx:33
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition
ThinningHandleKey.h:39
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
DerivationFramework::EDvTrPThinningParser
EDvTrPThinningParser
Definition
VSITrackParticleThinning.h:28
DerivationFramework::kdvTrackThinning
@ kdvTrackThinning
Definition
VSITrackParticleThinning.h:28
DerivationFramework::kDvSelection
@ kDvSelection
Definition
VSITrackParticleThinning.h:28
DerivationFramework::kNumDvTPThinningParser
@ kNumDvTPThinningParser
Definition
VSITrackParticleThinning.h:28
Generated on
for ATLAS Offline Software by
1.17.0