ATLAS Offline Software
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 
33 public:
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 
43 private:
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
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
HIJetMaxOverMeanTool::decorate
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition: HIJetMaxOverMeanTool.cxx:31
IJetDecorator
Interface for adding a decoration to a jet container.
Definition: IJetDecorator.h:21
HIJetMaxOverMeanTool::HIJetMaxOverMeanTool
HIJetMaxOverMeanTool(const std::string &t)
Definition: HIJetMaxOverMeanTool.cxx:8
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IJetDecorator.h
HIJetMaxOverMeanTool
JetModifier that calculates moments in HI subtraction bootstrap. The ET of each jet constituent (HI c...
Definition: HIJetMaxOverMeanTool.h:29
HIJetMaxOverMeanTool::m_jetMaxConstituentETKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxConstituentETKey
Definition: HIJetMaxOverMeanTool.h:45
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_CLASS0
#define ASG_TOOL_CLASS0(CLASSNAME)
Definition: AsgToolMacros.h:62
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
HIJetMaxOverMeanTool::m_jetMaxOverMeanKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetMaxOverMeanKey
Definition: HIJetMaxOverMeanTool.h:46
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
HIJetMaxOverMeanTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: HIJetMaxOverMeanTool.cxx:14
AsgTool.h
HIJetMaxOverMeanTool::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition: HIJetMaxOverMeanTool.h:48