ATLAS Offline Software
Reconstruction
Jet
JetRec
JetRec
JetPruner.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
// JetPruner.h
6
7
#ifndef JetPruner_H
8
#define JetPruner_H
9
10
// David Adams
11
// January 2014
12
//
13
// Tool to groom jets with a mass-drop filter.
14
15
#include "
AsgTools/AsgTool.h
"
16
#include "
JetInterface/IJetGroomer.h
"
17
#include "
JetInterface/IJetFromPseudojet.h
"
18
#include "fastjet/JetDefinition.hh"
19
#include "
AsgTools/ToolHandle.h
"
20
21
class
JetPruner
22
:
public
asg::AsgTool
,
23
virtual
public
IJetGroomer
{
24
ASG_TOOL_CLASS
(
JetPruner
,
IJetGroomer
)
25
26
public
:
27
28
// Ctor.
29
JetPruner
(
const
std::string&
name
);
30
31
// Dtor.
32
~JetPruner
();
33
34
// Initilization.
35
StatusCode
initialize
();
36
37
// Groom a jet and add result to a container.
38
int
groom
(
const
xAOD::Jet
& jin,
39
const
PseudoJetContainer
&,
40
xAOD::JetContainer
& jout)
const
;
41
42
// Dump to log.
43
void
print
()
const
;
44
45
private
:
// data
46
47
// Job options.
48
std::string
m_jetalg
;
// Kt, AntiKt, CamKt
49
float
m_zcut
{};
// zcut: pTi, pTj > pT(i+j)
50
float
m_rcut
{};
// rcut: Rij < rcut*2m/pT
51
ToolHandle<IJetFromPseudojet>
m_bld
;
// Tool to build jets.
52
53
// Data
54
fastjet::JetAlgorithm
m_fjalg
=
fastjet::undefined_jet_algorithm
;
55
56
};
57
58
#endif
JetPruner::m_rcut
float m_rcut
Definition:
JetPruner.h:50
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
JetPruner
Definition:
JetPruner.h:23
JetPruner::m_fjalg
fastjet::JetAlgorithm m_fjalg
Definition:
JetPruner.h:54
PseudoJetContainer
Definition:
PseudoJetContainer.h:48
IJetFromPseudojet.h
JetPruner::m_jetalg
std::string m_jetalg
Definition:
JetPruner.h:48
JetPruner::~JetPruner
~JetPruner()
JetPruner::print
void print() const
Print the state of the tool.
Definition:
JetPruner.cxx:91
IJetGroomer.h
JetPruner::m_bld
ToolHandle< IJetFromPseudojet > m_bld
Definition:
JetPruner.h:51
JetPruner::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition:
JetPruner.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetPruner::JetPruner
JetPruner(const std::string &name)
Definition:
JetPruner.cxx:21
xAOD::JetAlgorithmType::undefined_jet_algorithm
@ undefined_jet_algorithm
Definition:
JetContainerInfo.h:40
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
JetPruner::groom
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
Definition:
JetPruner.cxx:60
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
JetPruner::m_zcut
float m_zcut
Definition:
JetPruner.h:49
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
IJetGroomer
Definition:
IJetGroomer.h:23
ToolHandle.h
AsgTool.h
Generated on Sun Dec 22 2024 21:12:34 for ATLAS Offline Software by
1.8.18