1 #ifndef __D0RUNIICONEPLUGIN_HH__ 2 #define __D0RUNIICONEPLUGIN_HH__ 34 #include "fastjet/JetDefinition.hh" 38 FASTJET_BEGIN_NAMESPACE
81 double min_jet_Et_in ,
82 double split_ratio_in = _DEFAULT_split_ratio) :
83 _cone_radius (cone_radius_in ),
84 _min_jet_Et (min_jet_Et_in ),
85 _split_ratio (split_ratio_in ),
86 _far_ratio (_DEFAULT_far_ratio ),
87 _Et_min_ratio (_DEFAULT_Et_min_ratio ),
88 _kill_duplicate (_DEFAULT_kill_duplicate ),
89 _duplicate_dR (_DEFAULT_duplicate_dR ),
90 _duplicate_dPT (_DEFAULT_duplicate_dPT ),
91 _search_factor (_DEFAULT_search_factor ),
92 _pT_min_leading_protojet(_DEFAULT_pT_min_leading_protojet),
93 _pT_min_second_protojet (_DEFAULT_pT_min_second_protojet ),
94 _merge_max (_DEFAULT_merge_max ),
95 _pT_min_nomerge (_DEFAULT_pT_min_nomerge )
101 inline double cone_radius ()
const {
return _cone_radius ;}
102 inline double min_jet_Et ()
const {
return _min_jet_Et ;}
103 inline double split_ratio ()
const {
return _split_ratio ;}
104 inline double far_ratio ()
const {
return _far_ratio ;}
105 inline double Et_min_ratio ()
const {
return _Et_min_ratio ;}
106 inline bool kill_duplicate ()
const {
return _kill_duplicate ;}
107 inline double duplicate_dR ()
const {
return _duplicate_dR ;}
108 inline double duplicate_dPT ()
const {
return _duplicate_dPT ;}
109 inline double search_factor ()
const {
return _search_factor ;}
110 inline double pT_min_leading_protojet()
const {
return _pT_min_leading_protojet;}
111 inline double pT_min_second_protojet ()
const {
return _pT_min_second_protojet ;}
112 inline int merge_max ()
const {
return _merge_max ;}
113 inline double pT_min_nomerge ()
const {
return _pT_min_nomerge ;}
120 virtual std::string description ()
const;
123 virtual double R()
const {
return cone_radius();}
128 double _cone_radius ;
130 double _split_ratio ;
135 double _Et_min_ratio ;
136 bool _kill_duplicate ;
137 double _duplicate_dR ;
138 double _duplicate_dPT ;
139 double _search_factor ;
140 double _pT_min_leading_protojet;
141 double _pT_min_second_protojet ;
143 double _pT_min_nomerge ;
147 const static double _DEFAULT_split_ratio ;
148 const static double _DEFAULT_far_ratio ;
149 const static double _DEFAULT_Et_min_ratio ;
150 const static bool _DEFAULT_kill_duplicate ;
151 const static double _DEFAULT_duplicate_dR ;
152 const static double _DEFAULT_duplicate_dPT ;
153 const static double _DEFAULT_search_factor ;
154 const static double _DEFAULT_pT_min_leading_protojet ;
155 const static double _DEFAULT_pT_min_second_protojet ;
156 const static int _DEFAULT_merge_max ;
157 const static double _DEFAULT_pT_min_nomerge ;
159 static bool _first_time;
162 void _print_banner(std::ostream *ostr)
const;
165 FASTJET_END_NAMESPACE
167 #endif // __D0RUNIICONEPLUGIN_HH__
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: ...
Implementation of the D0 Run II Cone (plugin for fastjet v2.1 upwards)
virtual double R() const
the plugin mechanism's standard way of accessing the jet radius
double overlap_threshold() const
access the split_ratio() also by the name overlap_threshold()
a class that allows a user to introduce their own "plugin" jet finder