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/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::EDProducer
{
43
protected
:
44
//
45
// typedefs & structs
46
//
47
48
public
:
49
explicit
HiL1Subtractor
(
const
edm::ParameterSet
&);
50
~HiL1Subtractor
()
override
;
51
52
private
:
53
void
beginJob
()
override
;
54
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
55
void
endJob
()
override
;
56
57
// ----------member data ---------------------------
58
// input jet source
59
edm::EDGetTokenT<edm::View<reco::GenJet>
>
genJetSrc_
;
60
edm::EDGetTokenT<edm::View<reco::CaloJet>
>
caloJetSrc_
;
61
edm::EDGetTokenT<edm::View<reco::PFJet>
>
pfJetSrc_
;
62
63
protected
:
64
std::string
jetType_
;
// Type of jet
65
std::string
rhoTagString_
;
// Algorithm for rho estimation
66
67
edm::EDGetTokenT<std::vector<double>
>
rhoTag_
;
68
};
69
70
#endif
HiL1Subtractor::beginJob
void beginJob() override
Definition:
HiL1Subtractor.cc:242
CaloJetCollection.h
GenJetCollection.h
HiL1Subtractor::pfJetSrc_
edm::EDGetTokenT< edm::View< reco::PFJet > > pfJetSrc_
Definition:
HiL1Subtractor.h:61
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HiL1Subtractor::genJetSrc_
edm::EDGetTokenT< edm::View< reco::GenJet > > genJetSrc_
Definition:
HiL1Subtractor.h:59
PFJetCollection.h
HiL1Subtractor
Definition:
HiL1Subtractor.h:42
HiL1Subtractor::jetType_
std::string jetType_
Definition:
HiL1Subtractor.h:64
MakerMacros.h
HiL1Subtractor::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HiL1Subtractor.cc:49
HiL1Subtractor::~HiL1Subtractor
~HiL1Subtractor() override
Definition:
HiL1Subtractor.cc:42
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
HiL1Subtractor::rhoTagString_
std::string rhoTagString_
Definition:
HiL1Subtractor.h:65
Frameworkfwd.h
HiL1Subtractor::HiL1Subtractor
HiL1Subtractor(const edm::ParameterSet &)
Definition:
HiL1Subtractor.cc:20
edm::EDProducer
Definition:
EDProducer.h:35
HiL1Subtractor::rhoTag_
edm::EDGetTokenT< std::vector< double > > rhoTag_
Definition:
HiL1Subtractor.h:67
HiL1Subtractor::endJob
void endJob() override
Definition:
HiL1Subtractor.cc:245
ParameterSet.h
edm::Event
Definition:
Event.h:73
HiL1Subtractor::caloJetSrc_
edm::EDGetTokenT< edm::View< reco::CaloJet > > caloJetSrc_
Definition:
HiL1Subtractor.h:60
Generated for CMSSW Reference Manual by
1.8.16