ATLAS Offline Software
Loading...
Searching...
No Matches
JetTrimmer.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// JetTrimmer.h
6
7#ifndef JetTrimmer_H
8#define JetTrimmer_H
9
10// David Adams
11// January 2014
12//
13// Tool to groom jets by trimming.
14
15#include "AsgTools/AsgTool.h"
18#include "AsgTools/ToolHandle.h"
19
21: public asg::AsgTool,
22 virtual public IJetGroomer {
24
25public:
26
27 // Ctor.
28 JetTrimmer(const std::string& name);
29
30 // Dtor.
32
33 // Initilization.
34 StatusCode initialize();
35
36 // Groom a jet and add result to a container.
37 int groom(const xAOD::Jet& jin,
38 const PseudoJetContainer&,
39 xAOD::JetContainer& jout) const;
40
41 // Dump to log.
42 void print() const;
43
44private: // data
45
46 // Job options.
47 float m_rclus; // R for reclustering (0 for none)
48 float m_ptfrac; // pT fraction for retaining subjets
49 ToolHandle<IJetFromPseudojet> m_bld; // Tool to build jets.
50
51};
52
53#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetGroomer()
Ctor.
StatusCode initialize()
Dummy implementation of the initialisation function.
float m_rclus
Definition JetTrimmer.h:47
JetTrimmer(const std::string &name)
void print() const
Print the state of the tool.
ToolHandle< IJetFromPseudojet > m_bld
Definition JetTrimmer.h:49
float m_ptfrac
Definition JetTrimmer.h:48
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
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".