ATLAS Offline Software
Loading...
Searching...
No Matches
HIJetMaxOverMeanTool.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// HIJetMaxOverMeanTool.h
6
7#ifndef __HIJETREC_HIJETMAXOVERMEANTOOL_H__
8#define __HIJETREC_HIJETMAXOVERMEANTOOL_H__
9
22
25#include "AsgTools/AsgTool.h"
26
28 virtual public IJetDecorator
29{
30
32
33public:
34
35 HIJetMaxOverMeanTool(const std::string& t);
36
37 virtual StatusCode initialize() override;
38
39 //The modifyJet function has to be replaced by decorate
40 //virtual int modifyJet(xAOD::Jet& ) const ;
41 virtual StatusCode decorate(const xAOD::JetContainer& jets) const override;
42
43private:
44
45 SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxConstituentETKey { this, "MaxConstituentETKey", "MaxConstituentET", "Key for MaxConstituentET tile Jet attribute"};
46 SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxOverMeanKey { this, "MaxOverMeanKey", "MaxOverMean", "Key for MaxOverMean tile Jet attribute"};
47
48 Gaudi::Property<std::string> m_jetContainerName{this, "JetContainer", "", "SG key for the input jet container"};
49
50};
51
52#endif
#define ASG_TOOL_CLASS0(CLASSNAME)
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxConstituentETKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxOverMeanKey
HIJetMaxOverMeanTool(const std::string &t)
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Gaudi::Property< std::string > m_jetContainerName
Interface for adding a decoration to a jet container.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
JetContainer_v1 JetContainer
Definition of the current "jet container version".