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