CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 from Configuration.StandardSequences.Eras import eras
11 
12 #
13 # These might be more widely useful... L1T_customs?
14 #
15 
16 
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")
31 
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")
46 
47 
48 #
49 # Legacy Trigger:
50 #
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)
64 
65 
66 #
67 # Stage-1 Trigger
68 #
69 if eras.stage1L1Trigger.isChosen() and not eras.stage2L1Trigger.isChosen():
70  print "L1TReco Sequence configured for Stage-1 (2015) trigger. "
72  config_L1ExtraForStage1Raw(l1extraParticles)
73  L1Reco = cms.Sequence(l1extraParticles)
74 
75 #
76 # Stage-2 Trigger: fow now, reco Stage-1 as before:
77 #
78 if eras.stage2L1Trigger.isChosen():
79  print "L1TReco Sequence configured for Stage-2 (2016) trigger. "
81  config_L1ExtraForStage1Raw(l1extraParticles)
82  L1Reco = cms.Sequence(l1extraParticles)
83 
def config_L1ExtraForStage1Raw
Definition: L1TReco_cff.py:17
def config_L1ExtraForStage2Sim
Definition: L1TReco_cff.py:32