RecoJets
JetPlusTracks
plugins
JetPlusTrackProducerAA.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: JetPlusTracks
4
// Class: JetPlusTrackProducerAA
5
//
13
//
14
// Original Author: Olga Kodolova,40 R-A12,+41227671273,
15
// Created: Fri Feb 19 10:14:02 CET 2010
16
//
17
//
18
19
// system include files
20
#include <memory>
21
22
// user include files
23
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
24
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/Framework/interface/MakerMacros.h
"
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
#include "
JetPlusTrackCorrector.h
"
29
#include "
ZSPJPTJetCorrector.h
"
30
#include "
DataFormats/JetReco/interface/JPTJetCollection.h
"
31
#include "
DataFormats/JetReco/interface/JPTJet.h
"
32
33
#include "
DataFormats/JetReco/interface/CaloJet.h
"
34
#include "
DataFormats/VertexReco/interface/Vertex.h
"
35
36
//=>
37
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
38
#include "
DataFormats/Math/interface/Point3D.h
"
39
#include <vector>
40
#include "
RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationDR.h
"
41
#include "
DataFormats/JetReco/interface/TrackExtrapolation.h
"
42
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
43
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
44
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
45
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
46
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
47
//=>
48
49
#include <string>
50
51
//
52
// class declaration
53
//
54
55
class
JetPlusTrackProducerAA
:
public
edm::stream::EDProducer
<> {
56
public
:
57
explicit
JetPlusTrackProducerAA
(
const
edm::ParameterSet
&);
58
~JetPlusTrackProducerAA
()
override
;
59
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
60
61
reco::TrackRefVector
calculateBGtracksJet
(
reco::JPTJetCollection
&,
62
std::vector<reco::TrackRef>&,
63
edm::Handle
<std::vector<reco::TrackExtrapolation> >&,
64
reco::TrackRefVector
&);
65
66
private
:
67
// ---------- private data members ---------------------------
68
JetPlusTrackCorrector
*
mJPTalgo
;
69
ZSPJPTJetCorrector
*
mZSPalgo
;
70
edm::InputTag
src
;
71
edm::InputTag
srcPVs_
;
72
std::string
alias
;
73
bool
vectorial_
;
74
bool
useZSP
;
75
edm::InputTag
mTracks
;
76
double
mConeSize
;
77
reco::TrackBase::TrackQuality
trackQuality_
;
78
79
//=>
80
edm::InputTag
mExtrapolations
;
81
//=>
82
83
edm::EDGetTokenT<edm::View<reco::CaloJet>
>
input_jets_token_
;
84
edm::EDGetTokenT<reco::VertexCollection>
input_vertex_token_
;
85
edm::EDGetTokenT<reco::TrackCollection>
input_tracks_token_
;
86
edm::EDGetTokenT<std::vector<reco::TrackExtrapolation>
>
input_extrapolations_token_
;
87
};
JetPlusTrackProducerAA::srcPVs_
edm::InputTag srcPVs_
Definition:
JetPlusTrackProducerAA.h:71
JetPlusTrackProducerAA::input_extrapolations_token_
edm::EDGetTokenT< std::vector< reco::TrackExtrapolation > > input_extrapolations_token_
Definition:
JetPlusTrackProducerAA.h:86
JetPlusTrackCorrector.h
JetPlusTrackProducerAA::src
edm::InputTag src
Definition:
JetPlusTrackProducerAA.h:70
CaloJet.h
JetPlusTrackProducerAA::input_vertex_token_
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
Definition:
JetPlusTrackProducerAA.h:84
edm::EDGetTokenT
Definition:
EDGetToken.h:33
JetPlusTrackProducerAA::vectorial_
bool vectorial_
Definition:
JetPlusTrackProducerAA.h:73
ZSPJPTJetCorrector.h
JetPlusTrackProducerAA::mConeSize
double mConeSize
Definition:
JetPlusTrackProducerAA.h:76
JetPlusTrackProducerAA::alias
std::string alias
Definition:
JetPlusTrackProducerAA.h:72
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition:
TrackBase.h:150
EDProducer.h
JetPlusTrackProducerAA::JetPlusTrackProducerAA
JetPlusTrackProducerAA(const edm::ParameterSet &)
Definition:
JetPlusTrackProducerAA.cc:76
edm::RefVector< TrackCollection >
JetPlusTrackProducerAA
Definition:
JetPlusTrackProducerAA.h:55
reco::JPTJetCollection
std::vector< JPTJet > JPTJetCollection
collection of CaloJet objects
Definition:
JPTJetCollection.h:13
edm::Handle
Definition:
AssociativeIterator.h:50
ZSPJPTJetCorrector
Definition:
ZSPJPTJetCorrector.h:21
TrackExtrapolation.h
MakerMacros.h
JetPlusTrackProducerAA::input_jets_token_
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_jets_token_
Definition:
JetPlusTrackProducerAA.h:83
JetPlusTrackProducerAA::input_tracks_token_
edm::EDGetTokenT< reco::TrackCollection > input_tracks_token_
Definition:
JetPlusTrackProducerAA.h:85
JetPlusTrackProducerAA::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
JetPlusTrackProducerAA.cc:112
JetPlusTrackProducerAA::useZSP
bool useZSP
Definition:
JetPlusTrackProducerAA.h:74
IdealMagneticFieldRecord.h
JetPlusTrackProducerAA::mExtrapolations
edm::InputTag mExtrapolations
Definition:
JetPlusTrackProducerAA.h:80
JetPlusTrackProducerAA::trackQuality_
reco::TrackBase::TrackQuality trackQuality_
Definition:
JetPlusTrackProducerAA.h:77
JPTJetCollection.h
CaloGeometryRecord.h
JetTracksAssociationDR.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
JetPlusTrackCorrector
Jet energy correction algorithm using tracks.
Definition:
JetPlusTrackCorrector.h:171
HcalDetId.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
JetPlusTrackProducerAA::mJPTalgo
JetPlusTrackCorrector * mJPTalgo
Definition:
JetPlusTrackProducerAA.h:68
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
JetPlusTrackProducerAA::mTracks
edm::InputTag mTracks
Definition:
JetPlusTrackProducerAA.h:75
Vertex.h
Frameworkfwd.h
TrackingComponentsRecord.h
CaloGeometry.h
Point3D.h
JetPlusTrackProducerAA::mZSPalgo
ZSPJPTJetCorrector * mZSPalgo
Definition:
JetPlusTrackProducerAA.h:69
JetPlusTrackProducerAA::calculateBGtracksJet
reco::TrackRefVector calculateBGtracksJet(reco::JPTJetCollection &, std::vector< reco::TrackRef > &, edm::Handle< std::vector< reco::TrackExtrapolation > > &, reco::TrackRefVector &)
Definition:
JetPlusTrackProducerAA.cc:352
ParameterSet.h
edm::Event
Definition:
Event.h:73
JetPlusTrackProducerAA::~JetPlusTrackProducerAA
~JetPlusTrackProducerAA() override
Definition:
JetPlusTrackProducerAA.cc:102
GlobalPoint.h
edm::InputTag
Definition:
InputTag.h:15
JPTJet.h
Generated for CMSSW Reference Manual by
1.8.16