CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
idExternalRemap_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 eidLoose = cms.EDProducer('ElectronIDExternalProducerRemapper',
4  candidateProducer = cms.InputTag('gsFixedGsfElectrons'),
5  newToOldObjectMap = cms.InputTag('gsFixedGsfElectrons'),
6  idMap = cms.InputTag('eidLoose', '', cms.InputTag.skipCurrentProcess())
7 )
8 
9 eidRobustHighEnergy = cms.EDProducer('ElectronIDExternalProducerRemapper',
10  candidateProducer = cms.InputTag('gsFixedGsfElectrons'),
11  newToOldObjectMap = cms.InputTag('gsFixedGsfElectrons'),
12  idMap = cms.InputTag('eidRobustHighEnergy', '', cms.InputTag.skipCurrentProcess())
13 )
14 
15 eidRobustLoose = cms.EDProducer('ElectronIDExternalProducerRemapper',
16  candidateProducer = cms.InputTag('gsFixedGsfElectrons'),
17  newToOldObjectMap = cms.InputTag('gsFixedGsfElectrons'),
18  idMap = cms.InputTag('eidRobustLoose', '', cms.InputTag.skipCurrentProcess())
19 )
20 
21 eidRobustTight = cms.EDProducer('ElectronIDExternalProducerRemapper',
22  candidateProducer = cms.InputTag('gsFixedGsfElectrons'),
23  newToOldObjectMap = cms.InputTag('gsFixedGsfElectrons'),
24  idMap = cms.InputTag('eidRobustTight', '', cms.InputTag.skipCurrentProcess())
25 )
26 
27 eidTight = cms.EDProducer('ElectronIDExternalProducerRemapper',
28  candidateProducer = cms.InputTag('gsFixedGsfElectrons'),
29  newToOldObjectMap = cms.InputTag('gsFixedGsfElectrons'),
30  idMap = cms.InputTag('eidTight', '', cms.InputTag.skipCurrentProcess())
31 )
32 
33 PhotonCutBasedIDLoose = cms.EDProducer('PhotonIDExternalProducerRemapper',
34  candidateProducer = cms.InputTag('gsFixedGedPhoton'),
35  newToOldObjectMap = cms.InputTag('gsFixedGedPhoton'),
36  idMap = cms.InputTag('PhotonIDProdGED', 'PhotonCutBasedIDLoose', cms.InputTag.skipCurrentProcess())
37 )
38 
39 PhotonCutBasedIDLooseEM = cms.EDProducer('PhotonIDExternalProducerRemapper',
40  candidateProducer = cms.InputTag('gsFixedGedPhoton'),
41  newToOldObjectMap = cms.InputTag('gsFixedGedPhoton'),
42  idMap = cms.InputTag('PhotonIDProdGED', 'PhotonCutBasedIDLooseEM', cms.InputTag.skipCurrentProcess())
43 )
44 
45 PhotonCutBasedIDTight = cms.EDProducer('PhotonIDExternalProducerRemapper',
46  candidateProducer = cms.InputTag('gsFixedGedPhoton'),
47  newToOldObjectMap = cms.InputTag('gsFixedGedPhoton'),
48  idMap = cms.InputTag('PhotonIDProdGED', 'PhotonCutBasedIDTight', cms.InputTag.skipCurrentProcess())
49 )
50 
51 ElectronIDExternalProducerRemapSequence = cms.Sequence(
52  eidLoose +
53  eidRobustHighEnergy +
54  eidRobustLoose +
55  eidRobustTight +
56  eidTight
57 )
58 
59 PhotonIDExternalProducerRemapSequence = cms.Sequence(
60  PhotonCutBasedIDLoose +
61  PhotonCutBasedIDLooseEM +
62  PhotonCutBasedIDTight
63 )