ATLAS Offline Software
Qw.h
Go to the documentation of this file.
1 // this file is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef jetsubstructureutils_qw_header
8 #define jetsubstructureutils_qw_header
31 #include "fastjet/JetDefinition.hh"
32 
33 namespace JetSubStructureUtils {
34  class Qw : public SubstructureCalculator<double> {
35  public:
36 
38  enum QwVariant {
42  };
43 
44  Qw( QwVariant mode=Normal, double p=-1, fastjet::JetAlgorithm jetalg=fastjet::kt_algorithm) ;
45 
48  virtual double result(const fastjet::PseudoJet &jet) const;
49 
51  virtual double result(std::vector<fastjet::PseudoJet> &constituents) const;
52 
53 
54  private:
56  fastjet::JetDefinition m_jetdef;
57 
58  double m_massCut;
59  };
60 }
61 
62 #endif
JetSubStructureUtils::Qw::Normal
@ Normal
Definition: Qw.h:39
xAOD::JetAlgorithmType::kt_algorithm
@ kt_algorithm
Definition: JetContainerInfo.h:31
JetSubStructureUtils::Qw::Qw
Qw(QwVariant mode=Normal, double p=-1, fastjet::JetAlgorithm jetalg=fastjet::kt_algorithm)
Definition: Qw.cxx:13
JetSubStructureUtils::Qw::m_massCut
double m_massCut
Definition: Qw.h:58
JetSubStructureUtils
Definition: Angularity.h:10
JetSubStructureUtils::Qw::m_jetdef
fastjet::JetDefinition m_jetdef
Definition: Qw.h:56
JetSubStructureUtils::SubstructureCalculator::result
virtual TOut result(const xAOD::Jet &jet) const
Definition: SubstructureCalculator.h:25
SubstructureCalculator.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
Preparation.mode
mode
Definition: Preparation.py:94
JetSubStructureUtils::Qw::QwVariant
QwVariant
describes the differnt calculation variants
Definition: Qw.h:38
JetSubStructureUtils::Qw::SmallSubjets
@ SmallSubjets
Definition: Qw.h:41
JetSubStructureUtils::Qw::MassCut
@ MassCut
Definition: Qw.h:40
JetSubStructureUtils::Qw
Definition: Qw.h:34
JetSubStructureUtils::Qw::m_vMode
QwVariant m_vMode
Definition: Qw.h:55
JetSubStructureUtils::Qw::result
virtual double result(const fastjet::PseudoJet &jet) const
SubstructureCalculator interface.
Definition: Qw.cxx:28
JetSubStructureUtils::SubstructureCalculator
Definition: SubstructureCalculator.h:21