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