Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
ElectronIdentification
plugins
ElectronIDExternalProducerRemapper.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationRemappers_ElectronIDExternalProducerRemapper_h
2
#define EgammaIsolationRemappers_ElectronIDExternalProducerRemapper_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
6
7
#include "
DataFormats/Common/interface/ValueMap.h
"
8
#include "
DataFormats/Common/interface/Ref.h
"
9
10
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
11
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
12
13
class
ElectronIDExternalProducerRemapper
:
public
edm::stream::EDProducer
<> {
14
public
:
15
ElectronIDExternalProducerRemapper
(
const
edm::ParameterSet
&);
16
~ElectronIDExternalProducerRemapper
();
17
18
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
19
private
:
20
typedef
typename
edm::refhelper::ValueTrait<reco::GsfElectronCollection >::value
Value
;
21
typedef
edm::Ref<reco::GsfElectronCollection, Value, typename edm::refhelper::FindTrait<reco::GsfElectronCollection, Value>::value
>
CRef
;
22
typedef
edm::ValueMap<CRef>
CRefMap
;
23
24
edm::EDGetTokenT<reco::GsfElectronCollection >
emObjectProducer_
;
25
edm::EDGetTokenT<CRefMap>
newToOldObjectMap_
;
26
edm::EDGetTokenT<edm::ValueMap<float>
>
idMap_
;
27
};
28
29
#endif
ElectronIDExternalProducerRemapper::~ElectronIDExternalProducerRemapper
~ElectronIDExternalProducerRemapper()
Definition:
ElectronIDExternalProducerRemapper.cc:17
ElectronIDExternalProducerRemapper::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDExternalProducerRemapper.cc:21
edm::Ref
Definition:
AssociativeIterator.h:51
ValueMap.h
edm::EDGetTokenT< reco::GsfElectronCollection >
Frameworkfwd.h
EDProducer.h
ElectronIDExternalProducerRemapper::CRefMap
edm::ValueMap< CRef > CRefMap
Definition:
ElectronIDExternalProducerRemapper.h:22
ElectronIDExternalProducerRemapper::newToOldObjectMap_
edm::EDGetTokenT< CRefMap > newToOldObjectMap_
Definition:
ElectronIDExternalProducerRemapper.h:25
ElectronIDExternalProducerRemapper
Definition:
ElectronIDExternalProducerRemapper.h:13
edm::EventSetup
Definition:
EventSetup.h:45
ElectronIDExternalProducerRemapper::ElectronIDExternalProducerRemapper
ElectronIDExternalProducerRemapper(const edm::ParameterSet &)
Definition:
ElectronIDExternalProducerRemapper.cc:9
edm::refhelper::ValueTrait::value
C::value_type value
Definition:
RefTraits.h:56
GsfElectron.h
edm::ValueMap
Definition:
ValueMap.h:104
GsfElectronFwd.h
ElectronIDExternalProducerRemapper::Value
edm::refhelper::ValueTrait< reco::GsfElectronCollection >::value Value
Definition:
ElectronIDExternalProducerRemapper.h:20
Ref.h
edm::stream::EDProducer
Definition:
EDProducer.h:33
ElectronIDExternalProducerRemapper::idMap_
edm::EDGetTokenT< edm::ValueMap< float > > idMap_
Definition:
ElectronIDExternalProducerRemapper.h:26
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:65
ElectronIDExternalProducerRemapper::emObjectProducer_
edm::EDGetTokenT< reco::GsfElectronCollection > emObjectProducer_
Definition:
ElectronIDExternalProducerRemapper.h:24
ElectronIDExternalProducerRemapper::CRef
edm::Ref< reco::GsfElectronCollection, Value, typename edm::refhelper::FindTrait< reco::GsfElectronCollection, Value >::value > CRef
Definition:
ElectronIDExternalProducerRemapper.h:21
Generated for CMSSW Reference Manual by
1.8.5