ATLAS Offline Software
Loading...
Searching...
No Matches
QjetsPlugin.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "Qjets.h"
7
8using namespace std;
9using namespace JetSubStructureUtils;
10
11QjetsPlugin::QjetsPlugin(double zcut, double dcut_fctr, double exp_min, double exp_max, double rigidity, double truncation_fctr)
12: m_rand_seed_set(false),
13 m_zcut(zcut),
14 m_dcut_fctr(dcut_fctr),
15 m_exp_min(exp_min),
16 m_exp_max(exp_max),
17 m_rigidity(rigidity),
18 m_truncation_fctr(truncation_fctr)
19{
20}
21
22void QjetsPlugin::SetRandSeed(unsigned int seed){
23 m_rand_seed_set = true;
24 m_seed = seed;
25}
26
27double QjetsPlugin::R()const{
28 return 0.;
29}
30
32 string desc("Qjets pruning plugin");
33 return desc;
34}
35
36void QjetsPlugin::run_clustering(fastjet::ClusterSequence & cs) const{
39 qjets.SetRandSeed(m_seed);
40 qjets.Cluster(cs);
41}
void SetRandSeed(unsigned int seed)
void run_clustering(fastjet::ClusterSequence &cs) const
QjetsPlugin(double zcut, double dcut_fctr, double exp_min, double exp_max, double rigidity, double truncation_fctr=0.)
void SetRandSeed(unsigned int seed)
Definition Qjets.cxx:22
void Cluster(fastjet::ClusterSequence &cs)
Definition Qjets.cxx:80
STL namespace.