CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:61
auto_ptr< ClusterSequence > cs
void SetRandSeed(unsigned int seed)
Definition: Qjets.cc:5
std::string description() const
Definition: QjetsPlugin.cc:14
Definition: Qjets.h:26
void run_clustering(fastjet::ClusterSequence &cs) const
Definition: QjetsPlugin.cc:19
void SetRandSeed(unsigned int seed)
Definition: QjetsPlugin.cc:5
double R() const
Definition: QjetsPlugin.cc:10