Main Page
Namespaces
Classes
Package Documentation
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
// system include files
11
#include <memory>
12
13
// user include files
14
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
15
#include "
FWCore/Framework/interface/EDProducer.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
DataFormats/Math/interface/deltaR.h
"
19
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
20
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h
"
21
22
//
23
// class declaration
24
//
25
26
class
DeltaBetaWeights
:
public
edm::EDProducer
{
27
public
:
28
explicit
DeltaBetaWeights
(
const
edm::ParameterSet
&);
29
~DeltaBetaWeights
()
override
;
30
31
private
:
32
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
33
// ----------member data ---------------------------
34
edm::InputTag
src_
;
35
edm::InputTag
pfCharged_
;
36
edm::InputTag
pfPU_
;
37
38
edm::EDGetTokenT<edm::View<reco::Candidate>
>
pfCharged_token
;
39
edm::EDGetTokenT<edm::View<reco::Candidate>
>
pfPU_token
;
40
edm::EDGetTokenT<edm::View<reco::Candidate>
>
src_token
;
41
};
DeltaBetaWeights::~DeltaBetaWeights
~DeltaBetaWeights() override
Definition:
DeltaBetaWeights.cc:18
DeltaBetaWeights::pfPU_token
edm::EDGetTokenT< edm::View< reco::Candidate > > pfPU_token
Definition:
DeltaBetaWeights.h:39
DeltaBetaWeights::pfCharged_token
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCharged_token
Definition:
DeltaBetaWeights.h:38
DeltaBetaWeights::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
DeltaBetaWeights.cc:28
Event.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:36
ParameterSet.h
PFCandidate.h
deltaR.h
edm::EventSetup
Definition:
EventSetup.h:57
EDProducer.h
DeltaBetaWeights::pfCharged_
edm::InputTag pfCharged_
Definition:
DeltaBetaWeights.h:35
DeltaBetaWeights
Definition:
DeltaBetaWeights.h:26
DeltaBetaWeights::pfPU_
edm::InputTag pfPU_
Definition:
DeltaBetaWeights.h:36
DeltaBetaWeights::src_token
edm::EDGetTokenT< edm::View< reco::Candidate > > src_token
Definition:
DeltaBetaWeights.h:40
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
PFCandidateFwd.h
DeltaBetaWeights::src_
edm::InputTag src_
Definition:
DeltaBetaWeights.h:34
DeltaBetaWeights::DeltaBetaWeights
DeltaBetaWeights(const edm::ParameterSet &)
Definition:
DeltaBetaWeights.cc:3
Generated for CMSSW Reference Manual by
1.8.11