ATLAS Offline Software
Loading...
Searching...
No Matches
HIJetClusterIndexAssociationTool.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// HIJetClusterAssociationTool.h
6
7#ifndef HIJETREC_HIJETCLUSTERINDEXASSOCIATIONTOOL_H
8#define HIJETREC_HIJETCLUSTERINDEXASSOCIATIONTOOL_H
9
10
30
31#include <string>
33
36
38{
39
41
42public:
43
44 HIJetClusterIndexAssociationTool(const std::string& t);
45
46 virtual StatusCode initialize() override;
47
48 virtual StatusCode modify(xAOD::JetContainer& jets) const override;
49 virtual int modifyJet(xAOD::Jet&) const override {return 1;};
50
51private:
52
54 SG::ReadHandleKey<xAOD::IParticleContainer> m_containerKey { this, "ContainerKey", "", "Name of IParticleContainer w/ particles to associat"};
55
57 Gaudi::Property< std::string > m_assocName { this, "AssociationName", "", "Name of jet attribute providing link between jets and clusters" };
58
59 // %% NOT YET IMPLEMENTED
60 // index passing actually needs to be implemented
61 Gaudi::Property< float > m_DR { this, "DeltaR", 0.8, "Index passing actually needs to be implemented" };
62 Gaudi::Property< bool > m_applyFilter { this, "ApplyFilter", false, "Apply filter boolean" };
63
64 Gaudi::Property< float > m_Emin { this, "FilterMinE", -999., "Filter minimum Energy" };
65 Gaudi::Property< float > m_pTmin { this, "FilterMinPt", 0., "Filter minimum Pt" };
66
67
68};
69
70#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.
virtual int modifyJet(xAOD::Jet &) const override
Modify a single jet. This is obsolete and set to be removed.
virtual StatusCode modify(xAOD::JetContainer &jets) const override
Loop over calls to modifyJet.
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 clusters.
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
ASG_TOOL_CLASS0(HIJetClusterIndexAssociationTool)
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".