RecoJets
JetAlgorithms
interface
SubJetAlgorithm.h
Go to the documentation of this file.
1
#ifndef RecoJets_JetAlgorithms_CATopJetAlgorithm2_h
2
#define RecoJets_JetAlgorithms_CATopJetAlgorithm2_h
3
4
#include <vector>
5
6
#include "
RecoJets/JetAlgorithms/interface/CompoundPseudoJet.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "RecoJets/JetAlgorithms/interface/FastPrunePlugin.hh"
9
#include <fastjet/JetDefinition.hh>
10
#include <fastjet/PseudoJet.hh>
11
#include <fastjet/ClusterSequence.hh>
12
#include <fastjet/GhostedAreaSpec.hh>
13
14
class
SubJetAlgorithm
{
15
public
:
16
SubJetAlgorithm
(
double
ptMin
,
17
unsigned
int
subjets,
18
double
zcut
,
19
double
rcut_factor
,
20
std::shared_ptr<fastjet::JetDefinition> fjJetDefinition,
21
bool
doAreaFastjet
,
22
std::shared_ptr<fastjet::GhostedAreaSpec> fjActiveArea,
23
double
voronoiRfact
)
24
:
ptMin_
(
ptMin
),
25
nSubjets_
(subjets),
26
zcut_
(
zcut
),
27
rcut_factor_
(
rcut_factor
),
28
fjJetDefinition_
(fjJetDefinition),
29
doAreaFastjet_
(
doAreaFastjet
),
30
fjActiveArea_
(fjActiveArea),
31
voronoiRfact_
(
voronoiRfact
) {}
32
33
void
set_zcut
(
double
z
);
34
void
set_rcut_factor
(
double
r
);
35
double
zcut
()
const
{
return
zcut_
; }
36
double
rcut_factor
()
const
{
return
rcut_factor_
; }
37
39
void
run
(
const
std::vector<fastjet::PseudoJet>& cell_particles, std::vector<CompoundPseudoJet>& hardjetsOutput);
40
41
private
:
42
double
ptMin_
;
//<! lower pt cut on which jets to reco
43
int
nSubjets_
;
//<! number of subjets to produce.
44
double
zcut_
;
//<! zcut parameter (see arXiv:0903.5081). Only relevant if pruning is enabled.
45
double
rcut_factor_
;
//<! r-cut factor (see arXiv:0903.5081).
46
std::shared_ptr<fastjet::JetDefinition>
fjJetDefinition_
;
//<! jet definition to use
47
bool
doAreaFastjet_
;
//<! whether or not to use the fastjet area
48
std::shared_ptr<fastjet::GhostedAreaSpec>
fjActiveArea_
;
//<! fastjet area spec
49
double
voronoiRfact_
;
//<! fastjet voronoi area R factor
50
};
51
52
#endif
SubJetAlgorithm::fjActiveArea_
std::shared_ptr< fastjet::GhostedAreaSpec > fjActiveArea_
Definition:
SubJetAlgorithm.h:48
SubJetAlgorithm::zcut_
double zcut_
Definition:
SubJetAlgorithm.h:44
SubJetAlgorithm::SubJetAlgorithm
SubJetAlgorithm(double ptMin, unsigned int subjets, double zcut, double rcut_factor, std::shared_ptr< fastjet::JetDefinition > fjJetDefinition, bool doAreaFastjet, std::shared_ptr< fastjet::GhostedAreaSpec > fjActiveArea, double voronoiRfact)
Definition:
SubJetAlgorithm.h:16
HLT_FULL_cff.voronoiRfact
voronoiRfact
Definition:
HLT_FULL_cff.py:8636
ptMin
constexpr float ptMin
Definition:
PhotonIDValueMapProducer.cc:155
SubJetAlgorithm::rcut_factor_
double rcut_factor_
Definition:
SubJetAlgorithm.h:45
SubJetAlgorithm::fjJetDefinition_
std::shared_ptr< fastjet::JetDefinition > fjJetDefinition_
Definition:
SubJetAlgorithm.h:46
SubJetAlgorithm::doAreaFastjet_
bool doAreaFastjet_
Definition:
SubJetAlgorithm.h:47
DDAxes::z
SubJetAlgorithm
Definition:
SubJetAlgorithm.h:14
HLT_FULL_cff.doAreaFastjet
doAreaFastjet
Definition:
HLT_FULL_cff.py:8617
SubJetAlgorithm::set_rcut_factor
void set_rcut_factor(double r)
Definition:
SubJetAlgorithm.cc:13
Event.h
SubJetAlgorithm::run
void run(const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< CompoundPseudoJet > &hardjetsOutput)
Find the ProtoJets from the collection of input Candidates.
Definition:
SubJetAlgorithm.cc:17
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
SubJetAlgorithm::voronoiRfact_
double voronoiRfact_
Definition:
SubJetAlgorithm.h:49
CompoundPseudoJet.h
SubJetAlgorithm::rcut_factor
double rcut_factor() const
Definition:
SubJetAlgorithm.h:36
SubJetAlgorithm::zcut
double zcut() const
Definition:
SubJetAlgorithm.h:35
SubJetAlgorithm::set_zcut
void set_zcut(double z)
Definition:
SubJetAlgorithm.cc:11
SubJetAlgorithm::ptMin_
double ptMin_
Definition:
SubJetAlgorithm.h:42
SubJetAlgorithm::nSubjets_
int nSubjets_
Definition:
SubJetAlgorithm.h:43
Generated for CMSSW Reference Manual by
1.8.16