ATLAS Offline Software
Loading...
Searching...
No Matches
JetSoftDrop.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// JetSoftDrop.h
6
7#ifndef JetSoftDrop_H
8#define JetSoftDrop_H
9
10// Joe Taenzer
11// October 2016
12//
13// Tool to groom jets with softdrop.
14// SoftDrop is described in this paper: arXiv:1402.2657
15// See also: http://fastjet.hepforge.org/svn/contrib/contribs/RecursiveTools/tags/1.0.0/SoftDrop.hh
16
17#include "AsgTools/AsgTool.h"
20#include "AsgTools/ToolHandle.h"
21
22#include "fastjet/ClusterSequence.hh"
23#include "fastjet/contrib/RecursiveSymmetryCutBase.hh"
24#include "fastjet/contrib/SoftDrop.hh"
25
27: public asg::AsgTool,
28 virtual public IJetGroomer {
30
31public:
32
33 // Ctor.
34 JetSoftDrop(const std::string& name);
35
36 // Dtor.
38
39 // Initilization.
40 StatusCode initialize();
41
42 // Groom a jet and add result to a container.
43 int groom(const xAOD::Jet& jin,
44 const PseudoJetContainer&,
45 xAOD::JetContainer& jout) const;
46
47 // Dump to log.
48 void print() const;
49
50private: // data
51
52 // Job options.
53 // SoftDrop algorithm:
54 // z > zcut * (dR12/R0)^beta
55 // z = min(pT1, pT2)/(pT1+pT2)
56 // R0 = characteristic jet radius
57 float m_zcut; // pT fraction for retaining subjets
58 float m_beta; // How much to consider angular dependence
59 float m_R0; // Normalization of angular distance, usually the characteristic jet radius (default R0 = 1)
60 ToolHandle<IJetFromPseudojet> m_bld; // Tool to build jets.
61
62};
63
64#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetGroomer()
Ctor.
JetSoftDrop(const std::string &name)
StatusCode initialize()
Dummy implementation of the initialisation function.
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
void print() const
Print the state of the tool.
ToolHandle< IJetFromPseudojet > m_bld
Definition JetSoftDrop.h:60
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".