9#ifndef DERIVATIONFRAMEWORK_HITRACKPARTICLETHINNINGTOOL_H
10#define DERIVATIONFRAMEWORK_HITRACKPARTICLETHINNINGTOOL_H
18#include "GaudiKernel/ServiceHandle.h"
43 virtual StatusCode
doThinning(
const EventContext& ctx)
const override;
47 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
49 {
this,
"InDetTrackParticlesKey",
"InDetTrackParticles",
"" };
55 mutable std::atomic<unsigned int>
m_ntot;
56 mutable std::atomic<unsigned int>
m_npass;
HandleKey object for adding thinning to an object.
virtual StatusCode doThinning(const EventContext &ctx) const override
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
std::string m_vertex_scheme
std::atomic< unsigned int > m_npass
StatusCode finalize() override
StringProperty m_streamName
ToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelTool
track selection tool which can be optionally used for N_trk and sum pt cuts
std::atomic< unsigned int > m_ntot
StatusCode initialize() override
~HITrackParticleThinningTool()
HITrackParticleThinningTool(const std::string &t, const std::string &n, const IInterface *p)
HandleKey object for adding thinning to an object.