1#ifndef __D0RUNIICONEPLUGIN_HH__
2#define __D0RUNIICONEPLUGIN_HH__
34#include "fastjet/JetDefinition.hh"
35#include "fastjet/internal/thread_safety_helpers.hh"
39FASTJET_BEGIN_NAMESPACE
82 double min_jet_Et_in ,
83 double split_ratio_in = _DEFAULT_split_ratio) :
84 _cone_radius (cone_radius_in ),
85 _min_jet_Et (min_jet_Et_in ),
86 _split_ratio (split_ratio_in ),
87 _far_ratio (_DEFAULT_far_ratio ),
88 _Et_min_ratio (_DEFAULT_Et_min_ratio ),
89 _kill_duplicate (_DEFAULT_kill_duplicate ),
90 _duplicate_dR (_DEFAULT_duplicate_dR ),
91 _duplicate_dPT (_DEFAULT_duplicate_dPT ),
92 _search_factor (_DEFAULT_search_factor ),
93 _pT_min_leading_protojet(_DEFAULT_pT_min_leading_protojet),
94 _pT_min_second_protojet (_DEFAULT_pT_min_second_protojet ),
95 _merge_max (_DEFAULT_merge_max ),
96 _pT_min_nomerge (_DEFAULT_pT_min_nomerge )
102 inline double cone_radius ()
const {
return _cone_radius ;}
103 inline double min_jet_Et ()
const {
return _min_jet_Et ;}
104 inline double split_ratio ()
const {
return _split_ratio ;}
105 inline double far_ratio ()
const {
return _far_ratio ;}
106 inline double Et_min_ratio ()
const {
return _Et_min_ratio ;}
107 inline bool kill_duplicate ()
const {
return _kill_duplicate ;}
108 inline double duplicate_dR ()
const {
return _duplicate_dR ;}
109 inline double duplicate_dPT ()
const {
return _duplicate_dPT ;}
110 inline double search_factor ()
const {
return _search_factor ;}
111 inline double pT_min_leading_protojet()
const {
return _pT_min_leading_protojet;}
112 inline double pT_min_second_protojet ()
const {
return _pT_min_second_protojet ;}
113 inline int merge_max ()
const {
return _merge_max ;}
114 inline double pT_min_nomerge ()
const {
return _pT_min_nomerge ;}
121 virtual std::string description ()
const;
124 virtual double R()
const {
return cone_radius();}
129 double _cone_radius ;
131 double _split_ratio ;
136 double _Et_min_ratio ;
137 bool _kill_duplicate ;
138 double _duplicate_dR ;
139 double _duplicate_dPT ;
140 double _search_factor ;
141 double _pT_min_leading_protojet;
142 double _pT_min_second_protojet ;
144 double _pT_min_nomerge ;
148 const static double _DEFAULT_split_ratio ;
149 const static double _DEFAULT_far_ratio ;
150 const static double _DEFAULT_Et_min_ratio ;
151 const static bool _DEFAULT_kill_duplicate ;
152 const static double _DEFAULT_duplicate_dR ;
153 const static double _DEFAULT_duplicate_dPT ;
154 const static double _DEFAULT_search_factor ;
155 const static double _DEFAULT_pT_min_leading_protojet ;
156 const static double _DEFAULT_pT_min_second_protojet ;
157 const static int _DEFAULT_merge_max ;
158 const static double _DEFAULT_pT_min_nomerge ;
163 void _print_banner(std::ostream *ostr)
const;
Implementation of the D0 Run II Cone (plugin for fastjet v2.1 upwards)
double overlap_threshold() const
access the split_ratio() also by the name overlap_threshold()
D0RunIIConePlugin(double cone_radius_in, double min_jet_Et_in, double split_ratio_in=_DEFAULT_split_ratio)
A D0RunIIConePlugin constructor which sets the "free" parameters of the algorithm:
virtual double R() const
the plugin mechanism's standard way of accessing the jet radius
a class that allows a user to introduce their own "plugin" jet finder
provides an object wich will return "true" the first time () is called and false afterwards