Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-14 22:43:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.Phase2L1ParticleFlow.l1tSeedConePFJetProducer_cfi import l1tSeedConePFJetProducer, l1tSeedConePFJetEmulatorProducer
0004 from L1Trigger.Phase2L1ParticleFlow.l1tDeregionizerProducer_cfi import l1tDeregionizerProducer as l1tLayer2Deregionizer
0005 l1tSCPFL1PF            = l1tSeedConePFJetProducer.clone(L1PFObjects = 'l1tLayer1:PF')
0006 l1tSCPFL1Puppi         = l1tSeedConePFJetProducer.clone()
0007 l1tSCPFL1PuppiEmulator = l1tSeedConePFJetEmulatorProducer.clone(L1PFObjects = 'l1tLayer2Deregionizer:Puppi')
0008 
0009 _correctedJets = cms.EDProducer("L1TCorrectedPFJetProducer", 
0010     jets = cms.InputTag("_tag_"),
0011     correctorFile = cms.string("L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_110X.root"),
0012     correctorDir = cms.string("_dir_")
0013 )
0014 # Using phase2_hgcalV10 to customize the config for all 106X samples, since there's no other modifier for it
0015 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
0016 phase2_hgcalV10.toModify(_correctedJets, correctorFile = "L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_106X.root")
0017 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
0018 phase2_hgcalV11.toModify(_correctedJets, correctorFile = "L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_110X.root")
0019 
0020 l1tSCPFL1PuppiCorrectedEmulator = _correctedJets.clone(jets = 'l1tSCPFL1PuppiEmulator', correctorDir = 'L1PuppiSC4EmuDeregJets')
0021 
0022 from L1Trigger.Phase2L1ParticleFlow.l1tMHTPFProducer_cfi import l1tMHTPFProducer
0023 l1tSCPFL1PuppiCorrectedEmulatorMHT = l1tMHTPFProducer.clone() 
0024 
0025 L1TPFJetsTask = cms.Task(
0026     l1tLayer2Deregionizer, l1tSCPFL1PF, l1tSCPFL1Puppi, l1tSCPFL1PuppiEmulator, l1tSCPFL1PuppiCorrectedEmulator, l1tSCPFL1PuppiCorrectedEmulatorMHT
0027 )
0028 
0029