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{
11  return 0.;
12 }
13 
14 string QjetsPlugin::description() const{
15  string desc("Qjets pruning plugin");
16  return desc;
17 }
18 
19 void QjetsPlugin::run_clustering(fastjet::ClusterSequence & cs) const{
20  Qjets qjets(_zcut, _dcut_fctr, _exp_min, _exp_max, _rigidity, _truncation_fctr, _rnEngine);
21  if(_rand_seed_set)
22  qjets.SetRandSeed(_seed);
23  qjets.Cluster(cs);
24 }
void Cluster(fastjet::ClusterSequence &cs)
Definition: Qjets.cc:62
auto_ptr< ClusterSequence > cs
void SetRandSeed(unsigned int seed)
Definition: Qjets.cc:5
void run_clustering(fastjet::ClusterSequence &cs) const override
Definition: QjetsPlugin.cc:19
Definition: Qjets.h:28
double R() const override
Definition: QjetsPlugin.cc:10
void SetRandSeed(unsigned int seed)
Definition: QjetsPlugin.cc:5
std::string description() const override
Definition: QjetsPlugin.cc:14