CMS 3D CMS Logo

QjetsPlugin.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 
5 void QjetsPlugin::SetRandSeed(unsigned int seed) {
6  _rand_seed_set = true;
7  _seed = seed;
8 }
9 
10 double QjetsPlugin::R() const { return 0.; }
11 
12 string QjetsPlugin::description() const {
13  string desc("Qjets pruning plugin");
14  return desc;
15 }
16 
17 void QjetsPlugin::run_clustering(fastjet::ClusterSequence& cs) const {
18  Qjets qjets(_zcut, _dcut_fctr, _exp_min, _exp_max, _rigidity, _truncation_fctr, _rnEngine);
19  if (_rand_seed_set)
20  qjets.SetRandSeed(_seed);
21  qjets.Cluster(cs);
22 }
void Cluster(fastjet::ClusterSequence &cs)
Definition: Qjets.cc:60
void SetRandSeed(unsigned int seed)
Definition: Qjets.cc:5
void run_clustering(fastjet::ClusterSequence &cs) const override
Definition: QjetsPlugin.cc:17
Definition: Qjets.h:28
std::string description() const override
Definition: QjetsPlugin.cc:12
void SetRandSeed(unsigned int seed)
Definition: QjetsPlugin.cc:5
double R() const override
Definition: QjetsPlugin.cc:10