31#ifndef __PXCONEPLUGIN_HH__
32#define __PXCONEPLUGIN_HH__
34#include "fastjet/JetDefinition.hh"
68 class 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 {
115 double min_jet_energy()
const {
116 return _min_jet_energy;
120 double overlap_threshold()
const {
121 return _overlap_threshold;
129 bool E_scheme_jets()
const {
130 return _E_scheme_jets;
135 virtual std::string description()
const;
136 virtual void run_clustering(fastjet::ClusterSequence&)
const;
138 virtual double R()
const {
139 return cone_radius();
145 double _min_jet_energy;
146 double _overlap_threshold;
150 static bool _first_time;
153 void _print_banner(std::ostream* ostr)
const;
163 void pxcone_(
int mode,
Definition LHCbCommon.hh:9