RecoHI
HiJetAlgos
plugins
HiL1Subtractor.h
Go to the documentation of this file.
1
#ifndef RecoJets_JetProducers_plugins_HiL1Subtractor_h
2
#define RecoJets_JetProducers_plugins_HiL1Subtractor_h
3
4
// -*- C++ -*-
5
//
6
// Package: HiL1Subtractor
7
// Class: HiL1Subtractor
8
//
16
//
17
// Original Author: "Matthew Nguyen"
18
// Created: Sun Nov 7 12:18:18 CDT 2010
19
//
20
//
21
22
// system include files
23
#include <memory>
24
25
// user include files
26
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
27
#include "
FWCore/Framework/interface/global/EDProducer.h
"
28
29
#include "
FWCore/Framework/interface/Event.h
"
30
#include "
FWCore/Framework/interface/MakerMacros.h
"
31
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
34
#include "
DataFormats/JetReco/interface/GenJetCollection.h
"
35
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
36
#include "
DataFormats/JetReco/interface/PFJetCollection.h
"
37
38
//
39
// class declaration
40
//
41
42
class
HiL1Subtractor
:
public
edm::global::EDProducer
<> {
43
protected
:
44
//
45
// typedefs & structs
46
//
47
48
public
:
49
explicit
HiL1Subtractor
(
const
edm::ParameterSet
&);
50
51
private
:
52
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
53
54
// ----------member data ---------------------------
55
// input jet source
56
edm::EDGetTokenT<edm::View<reco::GenJet>
>
genJetSrc_
;
57
edm::EDGetTokenT<edm::View<reco::CaloJet>
>
caloJetSrc_
;
58
edm::EDGetTokenT<edm::View<reco::PFJet>
>
pfJetSrc_
;
59
60
protected
:
61
std::string
jetType_
;
// Type of jet
62
std::string
rhoTagString_
;
// Algorithm for rho estimation
63
64
edm::EDGetTokenT<std::vector<double>
>
rhoTag_
;
65
};
66
67
#endif
PFJetCollection.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
CaloJetCollection.h
HiL1Subtractor::HiL1Subtractor
HiL1Subtractor(const edm::ParameterSet &)
Definition:
HiL1Subtractor.cc:18
edm::EDGetTokenT
Definition:
EDGetToken.h:37
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
HiL1Subtractor::rhoTagString_
std::string rhoTagString_
Definition:
HiL1Subtractor.h:62
HiL1Subtractor::jetType_
std::string jetType_
Definition:
HiL1Subtractor.h:61
HiL1Subtractor::genJetSrc_
edm::EDGetTokenT< edm::View< reco::GenJet > > genJetSrc_
Definition:
HiL1Subtractor.h:56
GenJetCollection.h
HiL1Subtractor::caloJetSrc_
edm::EDGetTokenT< edm::View< reco::CaloJet > > caloJetSrc_
Definition:
HiL1Subtractor.h:57
edm::EventSetup
Definition:
EventSetup.h:59
edm::global::EDProducer
Definition:
EDProducer.h:32
HiL1Subtractor::pfJetSrc_
edm::EDGetTokenT< edm::View< reco::PFJet > > pfJetSrc_
Definition:
HiL1Subtractor.h:58
HiL1Subtractor::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
HiL1Subtractor.cc:45
HiL1Subtractor
Definition:
HiL1Subtractor.h:42
EDProducer.h
edm::ParameterSet
Definition:
ParameterSet.h:47
HiL1Subtractor::rhoTag_
edm::EDGetTokenT< std::vector< double > > rhoTag_
Definition:
HiL1Subtractor.h:64
edm::Event
Definition:
Event.h:73
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14