31#ifndef __PXCONEPLUGIN_HH__
32#define __PXCONEPLUGIN_HH__
34#include "fastjet/JetDefinition.hh"
68class PxConePlugin :
public fastjet::JetDefinition::Plugin {
92 PxConePlugin (
double cone_radius_in ,
93 double min_jet_energy_in = 5.0 ,
94 double overlap_threshold_in = 0.5,
95 bool E_scheme_jets_in =
false) :
96 _cone_radius (cone_radius_in ),
97 _min_jet_energy (min_jet_energy_in ),
98 _overlap_threshold (overlap_threshold_in),
99 _E_scheme_jets (E_scheme_jets_in ) {
100 std::string msg =
"Using own c++ version of PxCone, since FastJet doesn't install it by default. ";
101 msg +=
"Please notify the Rivet authors if this behaviour should be changed.";
102 std::cerr << msg << std::endl;
109 double cone_radius ()
const {
return _cone_radius ;}
113 double min_jet_energy ()
const {
return _min_jet_energy ;}
116 double overlap_threshold ()
const {
return _overlap_threshold ;}
123 bool E_scheme_jets()
const {
return _E_scheme_jets ;}
127 virtual std::string description ()
const;
128 virtual void run_clustering(fastjet::ClusterSequence &)
const;
130 virtual double R()
const {
return cone_radius();}
134 double _cone_radius ;
135 double _min_jet_energy ;
136 double _overlap_threshold ;
140 static bool _first_time;
143 void _print_banner(std::ostream *ostr)
const;
159 const double * ptrak ,
Definition MC_CENT_PPB_Projections.hh:10