ATLAS Offline Software
Loading...
Searching...
No Matches
JetSplitter.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// JetSplitter.h
6
7#ifndef JetSplitter_H
8#define JetSplitter_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"
18#include "AsgTools/ToolHandle.h"
19
20class JetDumper;
21
23: public asg::AsgTool,
24 virtual public IJetGroomer {
26
27public:
28
29 // Ctor.
30 JetSplitter(const std::string& name);
31
32 // Dtor.
34
35 // Initilization.
36 StatusCode initialize();
37
38 // Groom a jet and add result to a container.
39 int groom(const xAOD::Jet& jin,
40 const PseudoJetContainer&,
41 xAOD::JetContainer& jout) const;
42
43 // Dump to log.
44 void print() const;
45
46private: // data
47
48 // Job options.
49 float m_mumax; // Jet size parameter.
50 float m_ymin; // pT min in MeV
51 ToolHandle<IJetFromPseudojet> m_bld; // Tool to build jets.
52 float m_rclus; // R for reclustering (0 for none)
53 bool m_bdrs; // If true use R = min(Rfilt/2,R)
54 int m_nsubjetmax; // Max number of subjets to retain.
55
56 // Internal data.
57 JetDumper* m_pdmp; // Use to dump constituents in VERBOSE.
58
59};
60
61#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetGroomer()
Ctor.
Tool to dump jets to the log.
Definition JetDumper.h:55
float m_mumax
Definition JetSplitter.h:49
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
float m_rclus
Definition JetSplitter.h:52
void print() const
Print the state of the tool.
StatusCode initialize()
Dummy implementation of the initialisation function.
JetDumper * m_pdmp
Definition JetSplitter.h:57
ToolHandle< IJetFromPseudojet > m_bld
Definition JetSplitter.h:51
JetSplitter(const std::string &name)
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".