ATLAS Offline Software
Loading...
Searching...
No Matches
JetReclusterer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5// JetReclusterer.h
6
7#ifndef JetReclusterer_H
8#define JetReclusterer_H
9
19
20#include "AsgTools/AsgTool.h"
24#include "AsgTools/ToolHandle.h"
25
27: public asg::AsgTool,
28 virtual public IJetGroomer {
30
31public:
32
33 // Ctor.
34 JetReclusterer(const std::string& name);
35
36 // Dtor.
38
39 // Initilization.
40 virtual StatusCode initialize() override;
41
42 // Groom a jet and add result to a container.
43 virtual int groom(const xAOD::Jet& jin,
44 const PseudoJetContainer&,
45 xAOD::JetContainer& jout) const override;
46
47 // Dump to log.
48 virtual void print() const override;
49
50private: // data
51
52 // Job options.
53 ToolHandle<IJetConstituentsRetriever> m_hcr; // Tool to retrieve jet constituents.
54 ToolHandle<IJetFinder> m_finder; // Tool to build jets.
55
56};
57
58#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetGroomer()
Ctor.
virtual void print() const override
Print the state of the tool.
virtual int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const override
Transform jet.
JetReclusterer(const std::string &name)
ToolHandle< IJetConstituentsRetriever > m_hcr
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
ToolHandle< IJetFinder > m_finder
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".