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 }
Qjets::SetRandSeed
void SetRandSeed(unsigned int seed)
Definition: Qjets.cc:5
QjetsPlugin::R
double R() const override
Definition: QjetsPlugin.cc:10
fwrapper::cs
unique_ptr< ClusterSequence > cs
Definition: fastjetfortran_madfks.cc:45
QjetsPlugin::run_clustering
void run_clustering(fastjet::ClusterSequence &cs) const override
Definition: QjetsPlugin.cc:17
QjetsPlugin.h
QjetsPlugin::description
std::string description() const override
Definition: QjetsPlugin.cc:12
std
Definition: JetResolutionObject.h:76
Qjets
Definition: Qjets.h:28
Qjets::Cluster
void Cluster(fastjet::ClusterSequence &cs)
Definition: Qjets.cc:60
QjetsPlugin::SetRandSeed
void SetRandSeed(unsigned int seed)
Definition: QjetsPlugin.cc:5
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295