RecoHI
HiJetAlgos
interface
HiGenCleaner.h
Go to the documentation of this file.
1
#ifndef RecoHIHiHiJetAlgosHiGenCleaner_H
2
#define RecoHIHiHiJetAlgosHiGenCleaner_H
3
// -*- C++ -*-
4
//
5
// Package: HiGenCleaner
6
// Class: HiGenCleaner
7
//
15
//
16
// Original Author: Yetkin Yilmaz
17
// Created: Tue Jul 21 04:26:01 EDT 2009
18
//
19
//
20
21
// system include files
22
#include <memory>
23
#include <vector>
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
31
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
32
#include "
FWCore/Utilities/interface/InputTag.h
"
33
34
#include "
DataFormats/Common/interface/View.h
"
35
36
//
37
// class decleration
38
//
39
40
template
<
class
T2>
41
class
HiGenCleaner
:
public
edm::global::EDProducer
<> {
42
public
:
43
typedef
std::vector<T2>
T2Collection
;
44
explicit
HiGenCleaner
(
const
edm::ParameterSet
&);
45
~HiGenCleaner
()
override
;
46
47
private
:
48
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
49
// ----------member data ---------------------------
50
51
const
edm::EDGetTokenT<edm::View<T2>
>
jetSrc_
;
52
const
double
deltaR_
;
53
const
double
ptCut_
;
54
const
bool
makeNew_
;
55
const
bool
fillDummy_
;
56
};
57
58
#endif
edm::StreamID
Definition:
StreamID.h:30
HiGenCleaner::deltaR_
const double deltaR_
Definition:
HiGenCleaner.h:52
HiGenCleaner::fillDummy_
const bool fillDummy_
Definition:
HiGenCleaner.h:55
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HiGenCleaner::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
HiGenCleaner.cc:85
HiGenCleaner::~HiGenCleaner
~HiGenCleaner() override
Definition:
HiGenCleaner.cc:74
HiGenCleaner::HiGenCleaner
HiGenCleaner(const edm::ParameterSet &)
Definition:
HiGenCleaner.cc:63
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::ParameterSet
Definition:
ParameterSet.h:47
HiGenCleaner::makeNew_
const bool makeNew_
Definition:
HiGenCleaner.h:54
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
HiGenCleaner::jetSrc_
const edm::EDGetTokenT< edm::View< T2 > > jetSrc_
Definition:
HiGenCleaner.h:51
InputTag.h
HiGenCleaner::T2Collection
std::vector< T2 > T2Collection
Definition:
HiGenCleaner.h:43
Frameworkfwd.h
HiGenCleaner::ptCut_
const double ptCut_
Definition:
HiGenCleaner.h:53
View.h
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
HiGenCleaner
Definition:
HiGenCleaner.h:41
Generated for CMSSW Reference Manual by
1.8.16