ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
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
"
16
#include "
JetInterface/IJetGroomer.h
"
17
#include "
JetInterface/IJetFromPseudojet.h
"
18
#include "
AsgTools/ToolHandle.h
"
19
20
class
JetTrimmer
21
:
public
asg::AsgTool
,
22
virtual
public
IJetGroomer
{
23
ASG_TOOL_CLASS
(
JetTrimmer
,
IJetGroomer
)
24
25
public
:
26
27
// Ctor.
28
JetTrimmer
(
const
std::string& name);
29
30
// Dtor.
31
~JetTrimmer
();
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
44
private
:
// 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
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IJetFromPseudojet.h
IJetGroomer.h
ToolHandle.h
IJetGroomer::IJetGroomer
IJetGroomer()
Ctor.
Definition
IJetGroomer.cxx:11
JetTrimmer::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetTrimmer.cxx:34
JetTrimmer::m_rclus
float m_rclus
Definition
JetTrimmer.h:47
JetTrimmer::~JetTrimmer
~JetTrimmer()
JetTrimmer::JetTrimmer
JetTrimmer(const std::string &name)
Definition
JetTrimmer.cxx:21
JetTrimmer::print
void print() const
Print the state of the tool.
Definition
JetTrimmer.cxx:94
JetTrimmer::m_bld
ToolHandle< IJetFromPseudojet > m_bld
Definition
JetTrimmer.h:49
JetTrimmer::m_ptfrac
float m_ptfrac
Definition
JetTrimmer.h:48
JetTrimmer::groom
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
Definition
JetTrimmer.cxx:53
PseudoJetContainer
Definition
PseudoJetContainer.h:48
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0