9 import FWCore.ParameterSet.Config
as cms
10 from Configuration.StandardSequences.Eras
import eras
18 coll.isolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm")
19 coll.nonIsolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm")
20 coll.forwardJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets")
21 coll.centralJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets")
22 coll.tauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets")
23 coll.isoTauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets")
24 coll.etTotalSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
25 coll.etHadSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
26 coll.etMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
27 coll.htMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
28 coll.hfRingEtSumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
29 coll.hfRingBitCountsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
30 coll.muonSource = cms.InputTag(
"gtDigis")
33 coll.isolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoEm")
34 coll.nonIsolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"nonIsoEm")
35 coll.forwardJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"forJets")
36 coll.centralJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"cenJets")
37 coll.tauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"tauJets")
38 coll.isoTauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoTauJets")
39 coll.etTotalSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
40 coll.etHadSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
41 coll.etMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
42 coll.htMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
43 coll.hfRingEtSumsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
44 coll.hfRingBitCountsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
45 coll.muonSource = cms.InputTag(
"simGmtDigis")
51 if not (eras.stage1L1Trigger.isChosen()
or eras.stage2L1Trigger.isChosen()):
52 print "L1TReco Sequence configured for Run1 (Legacy) trigger. "
54 l1extraParticles.centralBxOnly =
False
57 import EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi
58 conditionsInEdm = EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi.conditionDumperInEdm.clone()
60 l1L1GtObjectMap = convertObjectMapRecord.clone()
61 L1Reco_L1Extra = cms.Sequence(l1extraParticles)
62 L1Reco_L1Extra_L1GtRecord = cms.Sequence(l1extraParticles+l1GtRecord)
63 L1Reco = cms.Sequence(l1extraParticles+l1GtTriggerMenuLite+conditionsInEdm+l1L1GtObjectMap)
69 if eras.stage1L1Trigger.isChosen()
and not eras.stage2L1Trigger.isChosen():
70 print "L1TReco Sequence configured for Stage-1 (2015) trigger. "
73 L1Reco = cms.Sequence(l1extraParticles)
78 if eras.stage2L1Trigger.isChosen():
79 print "L1TReco Sequence configured for Stage-2 (2016) trigger. "
82 L1Reco = cms.Sequence(l1extraParticles)
def config_L1ExtraForStage1Raw
def config_L1ExtraForStage2Sim