ATLAS Offline Software
Loading...
Searching...
No Matches
HIJetDRAssociationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5// HIJetDRAssociationTool.h
6
7#ifndef HIJETREC_HIJETDRASSOCIATIONTOOL_H
8#define HIJETREC_HIJETDRASSOCIATIONTOOL_H
25
26#include <string>
28
31
33{
34
36
37public:
38
39 HIJetDRAssociationTool(const std::string& t);
40
41 virtual StatusCode initialize() override;
42
44 virtual StatusCode modify(xAOD::JetContainer& jets) const override;
45
47 virtual int modifyJet(xAOD::Jet&) const override {return 1;};
48
49private:
50
52 SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey { this, "ContainerKey", "", "Name of IParticleContainer w/ particles to associate"};
53
55 Gaudi::Property< std::string > m_assocName { this, "AssociationName", "" , "Name of jet attribute providing link between jets and IParticles" };
56
58 Gaudi::Property< float > m_DR { this, "DeltaR", 0.8, "DR cut defining association" };
60 Gaudi::Property< bool > m_applyFilter { this, "ApplyFilter",false, "Flag to enable kinematic requirements on associated IParticle" };
62 Gaudi::Property< float > m_Emin { this, "FilterMinE", -999., "Minimum E requirement for associated IParticle, in addition to DR" };
64 Gaudi::Property< float > m_pTmin { this, "FilterMinPt", 0., "Minimum pT requirement for associated IParticle, in addition to DR" };
65
66};
67
68#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< float > m_DR
DR cut defining association.
virtual StatusCode modify(xAOD::JetContainer &jets) const override
Implementing abstract methods from base.
Gaudi::Property< float > m_pTmin
Minimum pT requirement for associated IParticle, in addition to DR.
Gaudi::Property< bool > m_applyFilter
Flag to enable kinematic requirements on associated IParticle.
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Gaudi::Property< float > m_Emin
Minimum E requirement for associated IParticle, in addition to DR.
ASG_TOOL_CLASS0(HIJetDRAssociationTool)
virtual int modifyJet(xAOD::Jet &) const override
Implementing abstract methods from base, not used.
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey
name of IParticleContainer w/ particles to associate
Gaudi::Property< std::string > m_assocName
Name of jet attribute providing link between jets and IParticles.
HIJetDRAssociationTool(const std::string &t)
JetModifierBase(const std::string &myname)
Ctor.
Property holding a SG store/key/clid from which a ReadHandle is made.
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".