Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
ParticleFlow
plugins
DeltaBetaWeights.h
Go to the documentation of this file.
1
2
// Weight for neutral particles based on distance with charged
3
//
4
// Original Author: Michail Bachtis,40 1-B08,+41227678176,
5
// Created: Mon Dec 9 13:18:05 CET 2013
6
//
7
// edited by Pavel Jez
8
//
9
10
11
// system include files
12
#include <memory>
13
14
// user include files
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include "
FWCore/Framework/interface/EDProducer.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
DataFormats/Math/interface/deltaR.h
"
20
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
21
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h
"
22
23
//
24
// class declaration
25
//
26
27
class
DeltaBetaWeights
:
public
edm::EDProducer
{
28
public
:
29
explicit
DeltaBetaWeights
(
const
edm::ParameterSet
&);
30
~DeltaBetaWeights
();
31
32
private
:
33
34
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
35
// ----------member data ---------------------------
36
edm::InputTag
src_
;
37
edm::InputTag
pfCharged_
;
38
edm::InputTag
pfPU_
;
39
40
edm::EDGetTokenT<edm::View<reco::Candidate>
>
pfCharged_token
;
41
edm::EDGetTokenT<edm::View<reco::Candidate>
>
pfPU_token
;
42
edm::EDGetTokenT<edm::View<reco::Candidate>
>
src_token
;
43
44
45
46
};
DeltaBetaWeights::pfPU_token
edm::EDGetTokenT< edm::View< reco::Candidate > > pfPU_token
Definition:
DeltaBetaWeights.h:41
DeltaBetaWeights::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
DeltaBetaWeights.cc:36
DeltaBetaWeights::pfCharged_token
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCharged_token
Definition:
DeltaBetaWeights.h:40
Event.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
DeltaBetaWeights::~DeltaBetaWeights
~DeltaBetaWeights()
Definition:
DeltaBetaWeights.cc:21
PFCandidate.h
deltaR.h
edm::EventSetup
Definition:
EventSetup.h:45
EDProducer.h
DeltaBetaWeights::pfCharged_
edm::InputTag pfCharged_
Definition:
DeltaBetaWeights.h:37
DeltaBetaWeights
Definition:
DeltaBetaWeights.h:27
DeltaBetaWeights::pfPU_
edm::InputTag pfPU_
Definition:
DeltaBetaWeights.h:38
DeltaBetaWeights::src_token
edm::EDGetTokenT< edm::View< reco::Candidate > > src_token
Definition:
DeltaBetaWeights.h:42
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:65
PFCandidateFwd.h
DeltaBetaWeights::src_
edm::InputTag src_
Definition:
DeltaBetaWeights.h:36
DeltaBetaWeights::DeltaBetaWeights
DeltaBetaWeights(const edm::ParameterSet &)
Definition:
DeltaBetaWeights.cc:3
Generated for CMSSW Reference Manual by
1.8.5