9#ifndef DERIVATIONFRAMEWORK_HIJETTRACKPARTICLETHINNINGTOOL_H
10#define DERIVATIONFRAMEWORK_HIJETTRACKPARTICLETHINNINGTOOL_H
14#include "GaudiKernel/ServiceHandle.h"
41 virtual StatusCode
finalize()
override;
44 virtual StatusCode
doThinning()
const override;
48 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
51 {
this,
"PrimaryVertexKey",
"PrimaryVertices",
"Primary vertex container"};
53 {
this,
"JetKey",
"",
"Jet collection container"};
55 {
this,
"SumPt2Key",
"PrimaryVertices.sumPt2",
"SumPt2 decoration"};
57 {
this,
"InDetTrackParticlesKey",
"InDetTrackParticles",
"" };
60 {
this,
"TrackSelectionTool",
"",
"Track selection tool"};
62 {
this,
"PrimaryVertexSelection",
"sumPt2",
"Vertex selection scheme"};
64 mutable std::atomic<unsigned int>
m_ntot = 0;
65 mutable std::atomic<unsigned int>
m_npass = 0;
HandleKey object for adding thinning to an object.
HIJetTrackParticleThinningTool(const std::string &t, const std::string &n, const IInterface *p)
StringProperty m_streamName
virtual StatusCode initialize() override
std::atomic< unsigned int > m_ntot
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_sumPt2Key
virtual ~HIJetTrackParticleThinningTool()
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
std::atomic< unsigned int > m_npass
Gaudi::Property< std::string > m_vertexScheme
ToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelTool
virtual StatusCode finalize() override
virtual StatusCode doThinning() const override
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.