5 import FWCore.ParameterSet.Config
as cms
7 fragment = cms.ProcessFragment(
"HLT" )
9 fragment.HLTConfigVersion = cms.PSet(
10 tableName = cms.string(
'/dev/CMSSW_12_0_0/Fake1/V6')
13 fragment.streams = cms.PSet( A = cms.vstring(
'InitialPD' ) )
14 fragment.datasets = cms.PSet( InitialPD = cms.vstring(
'HLT_Physics_v1',
18 fragment.CastorDbProducer = cms.ESProducer(
"CastorDbProducer",
19 appendToDataLabel = cms.string(
"" )
21 fragment.hcalDDDRecConstants = cms.ESProducer(
"HcalDDDRecConstantsESModule",
22 appendToDataLabel = cms.string(
"" )
24 fragment.hcalDDDSimConstants = cms.ESProducer(
"HcalDDDSimConstantsESModule",
25 appendToDataLabel = cms.string(
"" )
28 fragment.hltGetConditions = cms.EDAnalyzer(
"EventSetupRecordDataGetter",
29 verbose = cms.untracked.bool(
False ),
33 fragment.hltGetRaw = cms.EDAnalyzer(
"HLTGetRaw",
34 RawDataCollection = cms.InputTag(
"rawDataCollector" )
36 fragment.hltBoolFalse = cms.EDFilter(
"HLTBool",
37 result = cms.bool(
False )
39 fragment.hltTriggerType = cms.EDFilter(
"HLTTriggerTypeFilter",
40 SelectedTriggerType = cms.int32( 1 )
42 fragment.hltGtDigis = cms.EDProducer(
"L1GlobalTriggerRawToDigi",
43 DaqGtInputTag = cms.InputTag(
"rawDataCollector" ),
44 DaqGtFedId = cms.untracked.int32( 813 ),
45 ActiveBoardsMask = cms.uint32( 0xffff ),
46 UnpackBxInEvent = cms.int32( 5 ),
47 Verbosity = cms.untracked.int32( 0 )
49 fragment.hltCaloStage1Digis = cms.EDProducer(
"L1TRawToDigi",
50 FedIds = cms.vint32( 1352 ),
51 Setup = cms.string(
"stage1::CaloSetup" ),
52 FWId = cms.uint32( 4294967295 ),
53 DmxFWId = cms.uint32( 0 ),
54 FWOverride = cms.bool(
False ),
55 TMTCheck = cms.bool(
True ),
56 CTP7 = cms.untracked.bool(
False ),
57 MTF7 = cms.untracked.bool(
False ),
58 InputLabel = cms.InputTag(
"rawDataCollector" ),
59 lenSlinkHeader = cms.untracked.int32( 8 ),
60 lenSlinkTrailer = cms.untracked.int32( 8 ),
61 lenAMCHeader = cms.untracked.int32( 8 ),
62 lenAMCTrailer = cms.untracked.int32( 0 ),
63 lenAMC13Header = cms.untracked.int32( 8 ),
64 lenAMC13Trailer = cms.untracked.int32( 8 ),
65 debug = cms.untracked.bool(
False ),
66 MinFeds = cms.uint32( 0 )
68 fragment.hltCaloStage1LegacyFormatDigis = cms.EDProducer(
"L1TCaloUpgradeToGCTConverter",
69 bxMin = cms.int32( 0 ),
70 bxMax = cms.int32( 0 ),
71 InputCollection = cms.InputTag(
"hltCaloStage1Digis" ),
72 InputRlxTauCollection = cms.InputTag(
'hltCaloStage1Digis',
'rlxTaus' ),
73 InputIsoTauCollection = cms.InputTag(
'hltCaloStage1Digis',
'isoTaus' ),
74 InputHFSumsCollection = cms.InputTag(
'hltCaloStage1Digis',
'HFRingSums' ),
75 InputHFCountsCollection = cms.InputTag(
'hltCaloStage1Digis',
'HFBitCounts' )
77 fragment.hltL1GtObjectMap = cms.EDProducer(
"L1GlobalTrigger",
78 GmtInputTag = cms.InputTag(
"hltGtDigis" ),
79 GctInputTag = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
80 CastorInputTag = cms.InputTag(
"castorL1Digis" ),
81 TechnicalTriggersInputTags = cms.VInputTag(
'simBscDigis' ),
82 ProduceL1GtDaqRecord = cms.bool(
False ),
83 ProduceL1GtEvmRecord = cms.bool(
False ),
84 ProduceL1GtObjectMapRecord = cms.bool(
True ),
85 WritePsbL1GtDaqRecord = cms.bool(
False ),
86 ReadTechnicalTriggerRecords = cms.bool(
True ),
87 EmulateBxInEvent = cms.int32( 1 ),
88 RecordLength = cms.vint32( 3, 0 ),
89 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
90 AlternativeNrBxBoardEvm = cms.uint32( 0 ),
91 BstLengthBytes = cms.int32( -1 ),
92 AlgorithmTriggersUnprescaled = cms.bool(
True ),
93 AlgorithmTriggersUnmasked = cms.bool(
False ),
94 TechnicalTriggersUnprescaled = cms.bool(
True ),
95 TechnicalTriggersUnmasked = cms.bool(
False ),
96 TechnicalTriggersVetoUnmasked = cms.bool(
True )
98 fragment.hltL1extraParticles = cms.EDProducer(
"L1ExtraParticlesProd",
99 muonSource = cms.InputTag(
"hltGtDigis" ),
100 etTotalSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
101 nonIsolatedEmSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'nonIsoEm' ),
102 etMissSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
103 htMissSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
104 produceMuonParticles = cms.bool(
True ),
105 forwardJetSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'forJets' ),
106 centralJetSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'cenJets' ),
107 produceCaloParticles = cms.bool(
True ),
108 tauJetSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'tauJets' ),
109 isoTauJetSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'isoTauJets' ),
110 isolatedEmSource = cms.InputTag(
'hltCaloStage1LegacyFormatDigis',
'isoEm' ),
111 etHadSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
112 hfRingEtSumsSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
113 hfRingBitCountsSource = cms.InputTag(
"hltCaloStage1LegacyFormatDigis" ),
114 centralBxOnly = cms.bool(
True ),
115 ignoreHtMiss = cms.bool(
False )
117 fragment.hltScalersRawToDigi = cms.EDProducer(
"ScalersRawToDigi",
118 scalersInputTag = cms.InputTag(
"rawDataCollector" )
120 fragment.hltOnlineBeamSpot = cms.EDProducer(
"BeamSpotOnlineProducer",
121 changeToCMSCoordinates = cms.bool(
False ),
122 maxZ = cms.double( 40.0 ),
123 setSigmaZ = cms.double( 0.0 ),
124 beamMode = cms.untracked.uint32( 11 ),
125 src = cms.InputTag(
"hltScalersRawToDigi" ),
126 gtEvmLabel = cms.InputTag(
"" ),
127 maxRadius = cms.double( 2.0 ),
128 useTransientRecord = cms.bool(
False )
130 fragment.hltPrePhysics = cms.EDFilter(
"HLTPrescaler",
131 offset = cms.uint32( 0 ),
132 L1GtReadoutRecordTag = cms.InputTag(
"hltGtDigis" )
134 fragment.hltBoolEnd = cms.EDFilter(
"HLTBool",
135 result = cms.bool(
True )
137 fragment.hltRandomEventsFilter = cms.EDFilter(
"HLTTriggerTypeFilter",
138 SelectedTriggerType = cms.int32( 3 )
140 fragment.hltPreRandom = cms.EDFilter(
"HLTPrescaler",
141 offset = cms.uint32( 0 ),
142 L1GtReadoutRecordTag = cms.InputTag(
"hltGtDigis" )
144 fragment.hltL1sL1ZeroBias = cms.EDFilter(
"HLTLevel1GTSeed",
145 saveTags = cms.bool(
True ),
146 L1UseL1TriggerObjectMaps = cms.bool(
True ),
147 L1NrBxInEvent = cms.int32( 3 ),
148 L1TechTriggerSeeding = cms.bool(
False ),
149 L1UseAliasesForSeeding = cms.bool(
True ),
150 L1SeedsLogicalExpression = cms.string(
"L1_ZeroBias" ),
151 L1GtReadoutRecordTag = cms.InputTag(
"hltGtDigis" ),
152 L1GtObjectMapTag = cms.InputTag(
"hltL1GtObjectMap" ),
153 L1CollectionsTag = cms.InputTag(
"hltL1extraParticles" ),
154 L1MuonCollectionTag = cms.InputTag(
"hltL1extraParticles" )
156 fragment.hltPreZeroBias = cms.EDFilter(
"HLTPrescaler",
157 offset = cms.uint32( 0 ),
158 L1GtReadoutRecordTag = cms.InputTag(
"hltGtDigis" )
160 fragment.hltFEDSelector = cms.EDProducer(
"EvFFEDSelector",
161 inputTag = cms.InputTag(
"rawDataCollector" ),
162 fedList = cms.vuint32( 1023 )
164 fragment.hltTriggerSummaryAOD = cms.EDProducer(
"TriggerSummaryProducerAOD",
165 throw = cms.bool(
False ),
166 processName = cms.string(
"@" ),
167 moduleLabelPatternsToMatch = cms.vstring(
'hlt*' ),
168 moduleLabelPatternsToSkip = cms.vstring( )
170 fragment.hltTriggerSummaryRAW = cms.EDProducer(
"TriggerSummaryProducerRAW",
171 processName = cms.string(
"@" )
173 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter(
"HLTPrescaler",
174 offset = cms.uint32( 0 ),
175 L1GtReadoutRecordTag = cms.InputTag(
"hltGtDigis" )
177 fragment.hltL1GtTrigReport = cms.EDAnalyzer(
"L1GtTrigReport",
178 UseL1GlobalTriggerRecord = cms.bool(
False ),
179 L1GtRecordInputTag = cms.InputTag(
"hltGtDigis" ),
180 PrintVerbosity = cms.untracked.int32( 10 ),
181 PrintOutput = cms.untracked.int32( 3 )
183 fragment.hltTrigReport = cms.EDAnalyzer(
"HLTrigReport",
184 HLTriggerResults = cms.InputTag(
'TriggerResults',
'',
'@currentProcess' ),
185 reportBy = cms.untracked.string(
"job" ),
186 resetBy = cms.untracked.string(
"never" ),
187 serviceBy = cms.untracked.string(
"never" ),
188 ReferencePath = cms.untracked.string(
"HLTriggerFinalPath" ),
189 ReferenceRate = cms.untracked.double( 100.0 )
192 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltCaloStage1Digis + fragment.hltCaloStage1LegacyFormatDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
193 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
194 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
195 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
197 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
198 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
199 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
200 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
201 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
202 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
205 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
209 if 'hltGetConditions' in fragment.__dict__
and 'HLTriggerFirstPath' in fragment.__dict__ :
210 fragment.hltDummyConditions = cms.EDFilter(
"HLTBool",
211 result = cms.bool(
True )
213 fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
216 from HLTrigger.Configuration.customizeHLTforALL
import customizeHLTforAll
219 from HLTrigger.Configuration.customizeHLTforCMSSW
import customizeHLTforCMSSW
223 from HLTrigger.Configuration.Eras
import modifyHLTforEras