CMS 3D CMS Logo

ootPhotonSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
9 
10 # task+sequence to make OOT photons from clusters in ECAL from full PFRecHits w/o timing cut
11 ootPhotonTask = cms.Task(
12  particleFlowRecHitOOTECAL,
13  particleFlowClusterOOTECALUncorrected,
14  particleFlowClusterOOTECAL,
15  particleFlowSuperClusterOOTECAL,
16  ootPhotonCore,
17  ootPhotonsTmp,
18  ootPhotons
19  )
20 
21 ootPhotonSequence = cms.Sequence(ootPhotonTask)
22 
23 
25 from RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi import essourceEcalSev, ecalSeverityLevel
28 
29 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
30 run2_miniAOD_80XLegacy.toReplaceWith(ootPhotonTask, cms.Task(
31  CaloTowerConstituentsMapBuilder,
32  essourceEcalSev,
33  ecalSeverityLevel,
34  particleFlowRecHitPS,
35  particleFlowClusterPS,
36  ootPhotonTask.copy()
37  ))
For legacy reprocessing: need additional products.