RecoEgamma
EgammaHFProducers
plugins
HFEMClusterProducer.h
Go to the documentation of this file.
1
#ifndef EgammaElectronProducers_HFEMClusterProducer_h
2
#define EgammaElectronProducers_HFEMClusterProducer_h
3
//Package: EgammaHFProdcers
4
// Class : HFClusterProducer
5
// Original Author: Kevin Klapoetke (minnesota)
6
//
7
// $Id: HFClusterProducer.h,v 1.2 2007/09/19 Kevin Klapoetke
8
//
9
#include "
HFClusterAlgo.h
"
10
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
15
class
HFEMClusterProducer
:
public
edm::stream::EDProducer
<> {
16
public
:
17
explicit
HFEMClusterProducer
(
edm::ParameterSet
const
& conf);
18
void
produce
(
edm::Event
&
e
,
edm::EventSetup
const
& iSetup)
override
;
19
void
beginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
final
{
algo_
.
resetForRun
(); }
20
21
private
:
22
edm::EDGetToken
hfreco_
;
23
HFClusterAlgo
algo_
;
24
};
25
#endif
HFEMClusterProducer::produce
void produce(edm::Event &e, edm::EventSetup const &iSetup) override
Definition:
HFEMClusterProducer.cc:30
edm::Run
Definition:
Run.h:45
HFEMClusterProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) final
Definition:
HFEMClusterProducer.h:19
EDProducer.h
HFEMClusterProducer
Definition:
HFEMClusterProducer.h:15
HFClusterAlgo.h
HFEMClusterProducer::hfreco_
edm::EDGetToken hfreco_
Definition:
HFEMClusterProducer.h:22
HFClusterAlgo::resetForRun
void resetForRun()
Definition:
HFClusterAlgo.cc:403
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HFEMClusterProducer::algo_
HFClusterAlgo algo_
Definition:
HFEMClusterProducer.h:23
HFEMClusterProducer::HFEMClusterProducer
HFEMClusterProducer(edm::ParameterSet const &conf)
Definition:
HFEMClusterProducer.cc:14
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDGetToken
Definition:
EDGetToken.h:35
HFClusterAlgo
Definition:
HFClusterAlgo.h:22
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16