Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoEgamma.EgammaTools.lowPtElectronModifier_cfi import lowPtElectronModifier
0004 
0005 slimmedLowPtElectrons = cms.EDProducer("PATElectronSlimmer",
0006    src = cms.InputTag("selectedPatLowPtElectrons"),                                  
0007    dropSuperCluster = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0008    dropBasicClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0009    dropPFlowClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0010    dropPreshowerClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0011    dropSeedCluster = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0012    dropRecHits = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0013    dropCorrections = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0014    dropIsolations = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0015    dropShapes = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0016    dropSaturation = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0017    dropExtrapolations  = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0018    dropClassifications  = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
0019    linkToPackedPFCandidates = cms.bool(False), # remove for the moment
0020    recoToPFMap = cms.InputTag("reducedEgamma","reducedGsfElectronPfCandMap"), # Not used, but the plugin asks for it anyhow
0021    packedPFCandidates = cms.InputTag("packedPFCandidates"), # Not used, but the plugin asks for it anyhow
0022    saveNonZSClusterShapes = cms.string("1"), # save additional user floats: (sigmaIetaIeta,sigmaIphiIphi,sigmaIetaIphi,r9,e1x5_over_e5x5)_NoZS 
0023    reducedBarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
0024    reducedEndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
0025    modifyElectrons = cms.bool(True),
0026    modifierConfig = cms.PSet( 
0027         modifications = cms.VPSet(
0028             cms.PSet(
0029                 electron_config = cms.PSet(
0030                     ele2packed = cms.InputTag("lowPtGsfLinks:ele2packed"),
0031                     electronSrc = cms.InputTag("selectedPatLowPtElectrons"),
0032                 ),
0033                 modifierName = cms.string('EGExtraInfoModifierFromPackedCandPtrValueMaps'),
0034                 photon_config = cms.PSet()
0035             ),
0036             cms.PSet(
0037                 electron_config = cms.PSet(
0038                     ele2lost = cms.InputTag("lowPtGsfLinks:ele2lost"),
0039                     electronSrc = cms.InputTag("selectedPatLowPtElectrons"),
0040                 ),
0041                 modifierName = cms.string('EGExtraInfoModifierFromPackedCandPtrValueMaps'),
0042                 photon_config = cms.PSet()
0043             ),
0044             lowPtElectronModifier,
0045         )
0046    )
0047 )
0048