1 #ifndef __SISCONEPLUGIN_HH__
2 #define __SISCONEPLUGIN_HH__
4 #include "SISConeBasePlugin.hh"
12 FASTJET_BEGIN_NAMESPACE
96 double overlap_threshold_in,
97 int n_pass_max_in = 0,
98 double protojet_ptmin_in = 0.0,
99 bool caching_in =
false,
101 double split_merge_stopping_scale_in = 0.0){
102 _cone_radius = cone_radius_in;
103 _overlap_threshold = overlap_threshold_in;
104 _n_pass_max = n_pass_max_in;
105 _protojet_ptmin = protojet_ptmin_in;
106 _caching = caching_in;
107 _split_merge_scale = split_merge_scale_in;
108 _split_merge_stopping_scale = split_merge_stopping_scale_in;
109 _ghost_sep_scale = 0.0;
110 _use_pt_weighted_splitting =
false;}
115 double overlap_threshold_in,
117 double protojet_ptmin_in,
119 bool split_merge_on_transverse_mass_in){
120 _cone_radius = cone_radius_in;
121 _overlap_threshold = overlap_threshold_in;
122 _n_pass_max = n_pass_max_in;
123 _protojet_ptmin = protojet_ptmin_in;
124 _caching = caching_in;
125 _split_merge_stopping_scale = 0.0;
126 _split_merge_scale = split_merge_on_transverse_mass_in ? SM_mt : SM_pttilde;
127 _ghost_sep_scale = 0.0;}
132 double overlap_threshold_in,
135 _cone_radius = cone_radius_in;
136 _overlap_threshold = overlap_threshold_in;
137 _n_pass_max = n_pass_max_in;
138 _protojet_ptmin = 0.0;
139 _caching = caching_in;
140 _split_merge_scale = SM_mt;
141 _split_merge_stopping_scale = 0.0;
142 _ghost_sep_scale = 0.0;
143 _use_pt_weighted_splitting =
false;}
164 void set_split_merge_on_transverse_mass(
bool val) {
165 _split_merge_scale = val ? SM_mt : SM_pt;}
170 void set_split_merge_use_pt_weighted_splitting(
bool val) {
171 _use_pt_weighted_splitting = val;}
174 virtual std::string description ()
const;
175 virtual void run_clustering(ClusterSequence &)
const ;
178 virtual void reset_stored_plugin()
const;
181 double _protojet_ptmin;
182 SplitMergeScale _split_merge_scale;
184 bool _use_pt_weighted_splitting;
188 static std::auto_ptr<SISConePlugin > stored_plugin;
189 static std::auto_ptr<std::vector<PseudoJet> > stored_particles;
190 static std::auto_ptr<siscone::Csiscone > stored_siscone;
217 FASTJET_END_NAMESPACE
219 #endif // __SISCONEPLUGIN_HH__