PhysicsTools
CandAlgos
plugins
EventShapeVarsProducer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_CandAlgos_EventShapeVarsProducer_h
2
#define PhysicsTools_CandAlgos_EventShapeVarsProducer_h
3
31
#include "
FWCore/Framework/interface/EDProducer.h
"
32
#include "
FWCore/Framework/interface/Event.h
"
33
#include "
FWCore/Framework/interface/EventSetup.h
"
34
#include "
FWCore/Utilities/interface/InputTag.h
"
35
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
36
37
#include "
PhysicsTools/CandUtils/interface/EventShapeVariables.h
"
38
39
class
EventShapeVarsProducer
:
public
edm::EDProducer
{
40
public
:
41
explicit
EventShapeVarsProducer
(
const
edm::ParameterSet
&);
42
~EventShapeVarsProducer
()
override
{}
43
44
private
:
45
edm::EDGetTokenT<edm::View<reco::Candidate>
>
srcToken_
;
46
double
r_
;
47
unsigned
fwmax_
;
48
49
void
beginJob
()
override
{}
50
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
void
endJob
()
override
{}
52
};
53
54
#endif
EventShapeVarsProducer::fwmax_
unsigned fwmax_
Definition:
EventShapeVarsProducer.h:47
EventShapeVarsProducer::endJob
void endJob() override
Definition:
EventShapeVarsProducer.h:51
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EventShapeVarsProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
EventShapeVarsProducer.cc:31
EventShapeVarsProducer
Definition:
EventShapeVarsProducer.h:39
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
EventShapeVarsProducer::r_
double r_
Definition:
EventShapeVarsProducer.h:46
EventShapeVariables.h
InputTag.h
EventShapeVarsProducer::EventShapeVarsProducer
EventShapeVarsProducer(const edm::ParameterSet &)
Definition:
EventShapeVarsProducer.cc:10
EventShapeVarsProducer::beginJob
void beginJob() override
Definition:
EventShapeVarsProducer.h:49
EventShapeVarsProducer::srcToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
Definition:
EventShapeVarsProducer.h:45
EventSetup.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
edm::Event
Definition:
Event.h:73
EventShapeVarsProducer::~EventShapeVarsProducer
~EventShapeVarsProducer() override
Definition:
EventShapeVarsProducer.h:42
Generated for CMSSW Reference Manual by
1.8.16