Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoJets
JetProducers
plugins
CATopJetProducer.h
Go to the documentation of this file.
1
#ifndef RecoJets_JetProducers_CATopJetProducer_h
2
#define RecoJets_JetProducers_CATopJetProducer_h
3
4
5
/* *********************************************************
6
7
8
* \class CATopJetProducer
9
* Jet producer to produce top jets using the C-A algorithm to break
10
* jets into subjets as described here:
11
* "Top-tagging: A Method for Identifying Boosted Hadronic Tops"
12
* David E. Kaplan, Keith Rehermann, Matthew D. Schwartz, Brock Tweedie
13
* arXiv:0806.0848v1 [hep-ph]
14
15
\brief Jet producer to run the CATopJetAlgorithm
16
17
\author Salvatore Rappoccio
18
\version
19
20
Notes on implementation:
21
22
Because the BaseJetProducer only allows the user to produce
23
one jet collection at a time, this algorithm cannot
24
fit into that paradigm.
25
26
All of the "hard" jets are of type BasicJet, since
27
they are "jets of jets". The subjets will be either
28
CaloJets, GenJets, etc.
29
30
In order to avoid a templatization of the entire
31
EDProducer itself, we only use a templated method
32
to write out the subjets to the event record,
33
and to use that information to write out the
34
hard jets to the event record.
35
36
This templated method is called "write_outputs". It
37
relies on a second templated method called "write_specific",
38
which relies on some template specialization to create
39
different specific objects (i.e. CaloJets, BasicJets, GenJets, etc).
40
41
************************************************************/
42
43
44
45
46
#include "
FWCore/Framework/interface/Event.h
"
47
#include "
FWCore/Framework/interface/EventSetup.h
"
48
#include "
DataFormats/Common/interface/View.h
"
49
#include "
DataFormats/Common/interface/Handle.h
"
50
#include "
DataFormats/Provenance/interface/ProductID.h
"
51
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
52
53
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
54
#include "
DataFormats/JetReco/interface/GenJetCollection.h
"
55
#include "
DataFormats/JetReco/interface/PFJetCollection.h
"
56
#include "
DataFormats/JetReco/interface/BasicJetCollection.h
"
57
#include "
RecoJets/JetAlgorithms/interface/JetAlgoHelper.h
"
58
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
59
#include "
DataFormats/Candidate/interface/LeafCandidate.h
"
60
#include "
FWCore/Framework/interface/ESHandle.h
"
61
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
62
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
63
64
#include "
RecoJets/JetProducers/plugins/FastjetJetProducer.h
"
65
#include "
RecoJets/JetAlgorithms/interface/CATopJetAlgorithm.h
"
66
67
namespace
cms
68
{
69
class
CATopJetProducer
:
public
FastjetJetProducer
70
{
71
public
:
72
73
CATopJetProducer
(
const
edm::ParameterSet
& ps);
74
75
virtual
~CATopJetProducer
() {}
76
77
virtual
void
produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup );
78
79
virtual
void
runAlgorithm
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup );
80
81
private
:
82
CATopJetAlgorithm
alg_
;
83
84
};
85
86
}
87
88
89
#endif
BasicJetCollection.h
MessageLogger.h
PFJetCollection.h
LeafCandidate.h
Event.h
CaloJetCollection.h
JetAlgoHelper.h
cms::CATopJetProducer::~CATopJetProducer
virtual ~CATopJetProducer()
Definition:
CATopJetProducer.h:75
EventSetup.h
Handle.h
ProductID.h
cms::CATopJetProducer
Definition:
CATopJetProducer.h:69
cms::CATopJetProducer::alg_
CATopJetAlgorithm alg_
Definition:
CATopJetProducer.h:82
iEvent
int iEvent
Definition:
GenABIO.cc:243
CaloGeometryRecord.h
cms::CATopJetProducer::produce
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
CATopJetProducer.cc:32
CATopJetAlgorithm
Definition:
CATopJetAlgorithm.h:44
GenJetCollection.h
ESHandle.h
View.h
CATopJetAlgorithm.h
edm::EventSetup
Definition:
EventSetup.h:44
FastjetJetProducer.h
cms::CATopJetProducer::CATopJetProducer
CATopJetProducer(const edm::ParameterSet &ps)
Definition:
CATopJetProducer.cc:8
cms::CATopJetProducer::runAlgorithm
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
CATopJetProducer.cc:37
CaloGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CandidateFwd.h
edm::Event
Definition:
Event.h:50
FastjetJetProducer
Definition:
FastjetJetProducer.h:8
Generated for CMSSW Reference Manual by
1.8.5