23 process.load(
'L1Trigger.L1TGlobal.hackConditions_cff')
24 print(
"L1T INFO: adding HLT demo module to the process.")
29 process.hltGtStage2Digis = cms.EDProducer(
31 Setup = cms.string(
"stage2::GTSetup"),
32 FedIds = cms.vint32( 1404 ),
35 process.hltCaloStage2Digis = cms.EDProducer(
37 Setup = cms.string(
"stage2::CaloSetup"),
38 FedIds = cms.vint32( 1360, 1366 ),
41 process.hltGmtStage2Digis = cms.EDProducer(
43 Setup = cms.string(
"stage2::GMTSetup"),
44 FedIds = cms.vint32(1402),
47 process.hltGtStage2ObjectMap = cms.EDProducer(
49 MuonInputTag = cms.InputTag(
"hltGmtStage2Digis",
"Muon"),
50 ExtInputTag = cms.InputTag(
"hltGtStage2Digis"),
51 EtSumInputTag = cms.InputTag(
"hltCaloStage2Digis",
"EtSum"),
52 EGammaInputTag = cms.InputTag(
"hltCaloStage2Digis",
"EGamma"),
53 TauInputTag = cms.InputTag(
"hltCaloStage2Digis",
"Tau"),
54 JetInputTag = cms.InputTag(
"hltCaloStage2Digis",
"Jet"),
55 AlgorithmTriggersUnprescaled = cms.bool(
True),
56 AlgorithmTriggersUnmasked = cms.bool(
True),
60 process.HLTL1UnpackerSequence = cms.Sequence(
61 process.hltGtStage2Digis +
62 process.hltCaloStage2Digis +
63 process.hltGmtStage2Digis +
64 process.hltGtStage2ObjectMap
74 process.hltL1TSeed = cms.EDFilter(
76 L1SeedsLogicalExpression = cms.string(
"L1_DoubleMu0er1p6_dEta_Max1p8 OR L1_DoubleMu0er1p6_dEta_Max1p8_OS " ),
77 saveTags = cms.bool(
True ),
78 L1ObjectMapInputTag = cms.InputTag(
"hltGtStage2ObjectMap"),
79 L1GlobalInputTag = cms.InputTag(
"hltGtStage2Digis"),
80 L1MuonInputTag = cms.InputTag(
"hltGmtStage2Digis",
"Muon"),
81 L1EGammaInputTag = cms.InputTag(
"hltCaloStage2Digis",
"EGamma"),
82 L1JetInputTag = cms.InputTag(
"hltCaloStage2Digis",
"Jet"),
83 L1TauInputTag = cms.InputTag(
"hltCaloStage2Digis",
"Tau"),
84 L1EtSumInputTag = cms.InputTag(
"hltCaloStage2Digis",
"EtSum"),
88 process.HLTL1TSeedSequence = cms.Sequence(
96 print(
"L1T INFO: will dump a summary of Stage2 content as unpacked by HLT to screen.")
97 process.load(
'L1Trigger.L1TCommon.l1tSummaryStage2HltDigis_cfi')
100 process.l1tGlobalSummary = cms.EDAnalyzer(
102 AlgInputTag = cms.InputTag(
"hltGtStage2ObjectMap"),
103 ExtInputTag = cms.InputTag(
"hltGtStage2ObjectMap"),
105 DumpTrigSummary = cms.bool(
True),
108 process.HLTL1TDebugSequence = cms.Sequence(process.l1tSummaryStage2HltDigis + process.l1tGlobalSummary)
112 print(
"L1T Input: HLTL1UnpackerSequence: ")
113 print(process.HLTL1UnpackerSequence)
114 print(
"L1T Input: HLTL1TSeedSequence: ")
115 print(process.HLTL1TSeedSequence)
116 print(
"L1T Input: HLTL1TDebugSequence: ")
117 print(process.HLTL1TDebugSequence)
118 process.l1tHLTDemoPath = cms.Path(process.HLTL1UnpackerSequence + process.HLTL1TSeedSequence + process.HLTL1TDebugSequence)
119 process.schedule.append(process.l1tHLTDemoPath)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)