CMS 3D CMS Logo

L1TReco_cff.py
Go to the documentation of this file.
1 #
2 # L1TReco: Defines
3 #
4 # L1Reco = cms.Sequence(...)
5 #
6 # which contains all L1 Reco steps needed for the current era.
7 #
8 
9 import FWCore.ParameterSet.Config as cms
10 
11 #
12 # These might be more widely useful... L1T_customs?
13 #
14 
16  coll.isolatedEmSource = cms.InputTag("simCaloStage1LegacyFormatDigis","isoEm")
17  coll.nonIsolatedEmSource = cms.InputTag("simCaloStage1LegacyFormatDigis","nonIsoEm")
18  coll.forwardJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","forJets")
19  coll.centralJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","cenJets")
20  coll.tauJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","tauJets")
21  coll.isoTauJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","isoTauJets")
22  coll.etTotalSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
23  coll.etHadSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
24  coll.etMissSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
25  coll.htMissSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
26  coll.hfRingEtSumsSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
27  coll.hfRingBitCountsSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
28  coll.muonSource = cms.InputTag("simGmtDigis")
29 
30 
31 from L1Trigger.L1ExtraFromDigis.l1extraParticles_cfi import l1extraParticles
32 
33 #
34 # Legacy Trigger:
35 #
38 import EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi
39 conditionsInEdm = EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi.conditionDumperInEdm.clone()
41 l1L1GtObjectMap = _converterModule.convertObjectMapRecord.clone()
42 L1Reco_L1Extra = cms.Sequence(l1extraParticles)
43 L1Reco_L1Extra_L1GtRecord = cms.Sequence(l1extraParticles+l1GtRecord)
44 L1Reco = cms.Sequence(l1extraParticles+l1GtTriggerMenuLite+conditionsInEdm+l1L1GtObjectMap)
45 
46 #
47 # Stage-1 Trigger
48 #
49 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
50 stage1L1Trigger.toReplaceWith(L1Reco_L1Extra,cms.Sequence())
51 stage1L1Trigger.toReplaceWith(L1Reco_L1Extra_L1GtRecord,cms.Sequence())
52 stage1L1Trigger.toReplaceWith(L1Reco, cms.Sequence(l1extraParticles))
53 
54 #
55 # Stage-2 Trigger: fow now, reco Stage-1 as before:
56 #
57 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
58 stage2L1Trigger.toReplaceWith(L1Reco_L1Extra,cms.Sequence())
59 stage2L1Trigger.toReplaceWith(L1Reco_L1Extra_L1GtRecord,cms.Sequence())
60 stage2L1Trigger.toReplaceWith(L1Reco, cms.Sequence(l1extraParticles))
61 
62 #
63 # l1L1GtObjectMap does not work properly with fastsim
64 #
65 from Configuration.Eras.Modifier_fastSim_cff import fastSim
66 _L1Reco_modified = L1Reco.copyAndExclude([l1L1GtObjectMap])
67 fastSim.toReplaceWith(L1Reco, _L1Reco_modified)
def config_L1ExtraForStage2Sim(coll)
Definition: L1TReco_cff.py:15