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  ootPhotons
18  )
19 
20 ootPhotonSequence = cms.Sequence(ootPhotonTask)
21 
22 ## For legacy reprocessing: need additional products
24 from RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi import essourceEcalSev, ecalSeverityLevel
27 
28 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
29 run2_miniAOD_80XLegacy.toReplaceWith(ootPhotonTask, cms.Task(
30  CaloTowerConstituentsMapBuilder,
31  essourceEcalSev,
32  ecalSeverityLevel,
33  particleFlowRecHitPS,
34  particleFlowClusterPS,
35  ootPhotonTask.copy()
36  ))
For legacy reprocessing: need additional products.