CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
egammaGainSwitchFix_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #this module re-makes the rec-hits using the global (weights+ratio) reco for hits saved in ecal selected digis
5 #this module makes a new collection of barrel rechits where gain switched multifit crystals are swapped
6 #with weights reco hits if availible
8 #this sequence re-runs PF clustering with "GSFixed" suffext
10 #this module remakes the refined EGamma superclusters although it has to approximate them as there is not
11 #enough info in AOD to properly remake them
12 from RecoEcal.EgammaClusterProducers.particleFlowEGammaGSFixed_cfi import particleFlowEGammaGSFixed
13 #this makes makes a new colleciton of gsfelectron cores, modifying only those that have a gs eb crystal
14 from RecoEgamma.EgammaElectronProducers.gedGsfElectronCoresGSFixed_cfi import gedGsfElectronCoresGSFixed
15 #turns the cores into gsf electrons, again only modifying those which have a gs eb crystal
16 from RecoEgamma.EgammaElectronProducers.gedGsfElectronsGSFixed_cfi import gedGsfElectronsGSFixed
17 #this makes makes a new colleciton of photon cores, modifying only those that have a gs eb crystal
18 from RecoEgamma.EgammaPhotonProducers.gedPhotonCoreGSFixed_cfi import gedPhotonCoreGSFixed
19 #turns the cores into photons, again only modifying those which have a gs eb crystal
20 from RecoEgamma.EgammaPhotonProducers.gedPhotonsGSFixed_cfi import gedPhotonsGSFixed
21 
22 egammaGainSwitchLocalFixSequence = cms.Sequence(
23  ecalGlobalLocalRecoFromSelectedDigis*
24  ecalMultiAndGSGlobalRecHitEB
25 )
26 
27 egammaGainSwitchFixSequence = cms.Sequence(
28  egammaGainSwitchLocalFixSequence*
29  gsFixedParticleFlowSuperClustering*
30  particleFlowEGammaGSFixed*
31  gedGsfElectronCoresGSFixed*
32  gedGsfElectronsGSFixed*
33  gedPhotonCoreGSFixed*
34  gedPhotonsGSFixed
35  )