Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:50

0001 from RecoEcal.EgammaClusterProducers.hybridSuperClusters_cfi import cleanedHybridSuperClusters
0002 from RecoEcal.EgammaClusterProducers.multi5x5BasicClusters_cfi import multi5x5BasicClustersCleaned
0003 
0004 from RecoEgamma.EgammaIsolationAlgos.electronTrackIsolations_cfi import trkIsol03CfgV1,trkIsol04CfgV1,trkIsol03CfgV2,trkIsol04CfgV2
0005 
0006 from RecoEgamma.EgammaElectronProducers.gsfElectronProducer_cfi import gsfElectronProducer
0007 
0008 #==============================================================================
0009 # Producer of transient ecal driven gsf electrons
0010 #==============================================================================
0011 
0012 ecalDrivenGsfElectrons = gsfElectronProducer.clone(
0013 
0014     # Ecal rec hits configuration
0015     recHitFlagsToBeExcludedBarrel = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
0016     recHitFlagsToBeExcludedEndcaps = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
0017     recHitSeverityToBeExcludedBarrel = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
0018     recHitSeverityToBeExcludedEndcaps = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
0019 
0020     # Isolation algos configuration
0021     trkIsol03Cfg = trkIsol03CfgV1,
0022     trkIsol04Cfg = trkIsol04CfgV1,
0023     trkIsolHEEP03Cfg = trkIsol03CfgV2,
0024     trkIsolHEEP04Cfg = trkIsol04CfgV2,
0025 )
0026 
0027 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0028 pp_on_AA.toModify(ecalDrivenGsfElectrons.preselection, minSCEtBarrel = 15.0)
0029 pp_on_AA.toModify(ecalDrivenGsfElectrons.preselection, minSCEtEndcaps = 15.0)
0030 
0031 ecalDrivenGsfElectronsHGC = ecalDrivenGsfElectrons.clone(
0032     gsfElectronCoresTag = "ecalDrivenGsfElectronCoresHGC",
0033     useGsfPfRecTracks = False,
0034     useDefaultEnergyCorrection = False,
0035     ambClustersOverlapStrategy = 0,
0036     applyAmbResolution = True,
0037     ignoreNotPreselected = False,
0038 )