ATLAS Offline Software
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 
8 using namespace std;
9 using namespace JetSubStructureUtils;
10 
11 QjetsPlugin::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 
22 void QjetsPlugin::SetRandSeed(unsigned int seed){
23  m_rand_seed_set = true;
24  m_seed = seed;
25 }
26 
27 double QjetsPlugin::R()const{
28  return 0.;
29 }
30 
31 string QjetsPlugin::description() const{
32  string desc("Qjets pruning plugin");
33  return desc;
34 }
35 
38  if(m_rand_seed_set)
39  qjets.SetRandSeed(m_seed);
40  qjets.Cluster(cs);
41 }
JetSubStructureUtils::Qjets
Definition: Qjets.h:30
Qjets.h
JetSubStructureUtils::QjetsPlugin::m_seed
unsigned int m_seed
Definition: QjetsPlugin.h:16
JetSubStructureUtils::QjetsPlugin::run_clustering
void run_clustering(fastjet::ClusterSequence &cs) const
Definition: QjetsPlugin.cxx:36
JetSubStructureUtils::QjetsPlugin::description
std::string description() const
Definition: QjetsPlugin.cxx:31
JetSubStructureUtils::QjetsPlugin::m_exp_min
double m_exp_min
Definition: QjetsPlugin.h:18
JetSubStructureUtils::QjetsPlugin::m_truncation_fctr
double m_truncation_fctr
Definition: QjetsPlugin.h:18
JetSubStructureUtils::Qjets::Cluster
void Cluster(fastjet::ClusterSequence &cs)
Definition: Qjets.cxx:81
JetSubStructureUtils
Definition: Angularity.h:10
JetSubStructureUtils::Qjets::SetRandSeed
void SetRandSeed(unsigned int seed)
Definition: Qjets.cxx:22
JetSubStructureUtils::QjetsPlugin::m_zcut
double m_zcut
Definition: QjetsPlugin.h:18
CaloCondBlobAlgs_fillNoiseFromASCII.desc
desc
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:54
jet::ClusterSequence
fastjet::ClusterSequence ClusterSequence
Definition: ClusterSequence.h:21
JetSubStructureUtils::QjetsPlugin::m_rand_seed_set
bool m_rand_seed_set
Definition: QjetsPlugin.h:15
JetSubStructureUtils::QjetsPlugin::m_rigidity
double m_rigidity
Definition: QjetsPlugin.h:18
JetSubStructureUtils::QjetsPlugin::R
double R() const
Definition: QjetsPlugin.cxx:27
QjetsPlugin.h
JetSubStructureUtils::QjetsPlugin::m_exp_max
double m_exp_max
Definition: QjetsPlugin.h:18
JetSubStructureUtils::QjetsPlugin::SetRandSeed
void SetRandSeed(unsigned int seed)
Definition: QjetsPlugin.cxx:22
JetSubStructureUtils::QjetsPlugin::m_dcut_fctr
double m_dcut_fctr
Definition: QjetsPlugin.h:18