Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaElectronProducers
plugins
GsfElectronEcalDrivenProducer.cc
Go to the documentation of this file.
1
#include "
GsfElectronEcalDrivenProducer.h
"
2
#include "
RecoEgamma/EgammaElectronAlgos/interface/GsfElectronAlgo.h
"
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/MakerMacros.h
"
6
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
10
11
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
12
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
13
#include "
DataFormats/EgammaReco/interface/ElectronSeed.h
"
14
#include "
DataFormats/GsfTrackReco/interface/GsfTrack.h
"
15
#include "
DataFormats/TrackCandidate/interface/TrackCandidateCollection.h
"
16
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHitFwd.h
"
17
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
18
19
20
#include <iostream>
21
22
using namespace
reco
;
23
24
GsfElectronEcalDrivenProducer::GsfElectronEcalDrivenProducer
(
const
edm::ParameterSet
&
cfg
,
const
gsfAlgoHelpers::HeavyObjectCache
* hoc )
25
:
GsfElectronBaseProducer
(cfg,hoc)
26
{}
27
28
GsfElectronEcalDrivenProducer::~GsfElectronEcalDrivenProducer
()
29
{}
30
31
// ------------ method called to produce the data ------------
32
void
GsfElectronEcalDrivenProducer::produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
33
{
34
reco::GsfElectronCollection
electrons
;
35
algo_
->
completeElectrons
(electrons, event, setup, globalCache()) ;
36
fillEvent
(electrons, event) ;
37
}
nano_cff.electrons
electrons
Definition:
nano_cff.py:34
MessageLogger.h
TrackingRecHitFwd.h
MakerMacros.h
GsfElectronBaseProducer::algo_
GsfElectronAlgo * algo_
Definition:
GsfElectronBaseProducer.h:48
GsfElectronEcalDrivenProducer.h
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
GsfElectronEcalDrivenProducer::GsfElectronEcalDrivenProducer
GsfElectronEcalDrivenProducer(const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
Definition:
GsfElectronEcalDrivenProducer.cc:24
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition:
GsfElectronFwd.h:14
Frameworkfwd.h
GsfElectronBaseProducer::fillEvent
void fillEvent(reco::GsfElectronCollection &electrons, edm::Event &event)
Definition:
GsfElectronBaseProducer.cc:392
ParameterSet.h
GsfElectronAlgo::completeElectrons
void completeElectrons(reco::GsfElectronCollection &electrons, edm::Event const &event, edm::EventSetup const &eventSetup, const gsfAlgoHelpers::HeavyObjectCache *hoc)
Definition:
GsfElectronAlgo.cc:437
ParameterSetDescription.h
GsfElectronEcalDrivenProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
GsfElectronEcalDrivenProducer.cc:32
edm::EventSetup
Definition:
EventSetup.h:57
GsfElectronEcalDrivenProducer::~GsfElectronEcalDrivenProducer
~GsfElectronEcalDrivenProducer() override
Definition:
GsfElectronEcalDrivenProducer.cc:28
looper.cfg
cfg
Definition:
looper.py:297
gsfAlgoHelpers::HeavyObjectCache
Definition:
GsfElectronAlgoHeavyObjectCache.h:10
TrackCandidateCollection.h
GsfElectron.h
GsfTrack.h
GsfElectronFwd.h
ElectronSeed.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
GsfElectronBaseProducer
Definition:
GsfElectronBaseProducer.h:29
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:71
GsfElectronAlgo.h
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11