5 import FWCore.ParameterSet.Config
as cms
7 fragment = cms.ProcessFragment(
"HLT" )
9 fragment.HLTConfigVersion = cms.PSet(
10 tableName = cms.string(
'/dev/CMSSW_11_1_0/Fake2/V9')
13 fragment.streams = cms.PSet( A = cms.vstring(
'InitialPD' ) )
14 fragment.datasets = cms.PSet( InitialPD = cms.vstring(
'HLT_Physics_v1',
18 fragment.GlobalParametersRcdSource = cms.ESSource(
"EmptyESSource",
19 iovIsRunNotTime = cms.bool(
True ),
20 recordName = cms.string(
"L1TGlobalParametersRcd" ),
21 firstValid = cms.vuint32( 1 )
24 fragment.GlobalParameters = cms.ESProducer(
"StableParametersTrivialProducer",
25 NumberL1JetCounts = cms.uint32( 12 ),
26 NumberL1NoIsoEG = cms.uint32( 4 ),
27 NumberL1CenJet = cms.uint32( 4 ),
28 NumberL1Tau = cms.uint32( 8 ),
29 NumberConditionChips = cms.uint32( 1 ),
30 NumberL1EGamma = cms.uint32( 12 ),
31 TotalBxInEvent = cms.int32( 5 ),
32 NumberL1Mu = cms.uint32( 4 ),
33 PinsOnConditionChip = cms.uint32( 512 ),
34 WordLength = cms.int32( 64 ),
35 PinsOnChip = cms.uint32( 512 ),
36 OrderOfChip = cms.vint32( 1 ),
37 IfMuEtaNumberBits = cms.uint32( 6 ),
38 OrderConditionChip = cms.vint32( 1 ),
39 appendToDataLabel = cms.string(
"" ),
40 NumberL1TauJet = cms.uint32( 4 ),
41 NumberL1Jet = cms.uint32( 12 ),
42 NumberPhysTriggers = cms.uint32( 512 ),
43 NumberL1Muon = cms.uint32( 12 ),
44 UnitLength = cms.int32( 8 ),
45 NumberL1IsoEG = cms.uint32( 4 ),
46 NumberTechnicalTriggers = cms.uint32( 64 ),
47 NumberL1ForJet = cms.uint32( 4 ),
48 IfCaloEtaNumberBits = cms.uint32( 4 ),
49 NumberPsbBoards = cms.int32( 7 ),
50 NumberChips = cms.uint32( 5 ),
51 NumberPhysTriggersExtended = cms.uint32( 64 )
53 fragment.CastorDbProducer = cms.ESProducer(
"CastorDbProducer",
54 appendToDataLabel = cms.string(
"" )
56 fragment.hcalDDDRecConstants = cms.ESProducer(
"HcalDDDRecConstantsESModule",
57 appendToDataLabel = cms.string(
"" )
59 fragment.hcalDDDSimConstants = cms.ESProducer(
"HcalDDDSimConstantsESModule",
60 appendToDataLabel = cms.string(
"" )
63 fragment.hltGetConditions = cms.EDAnalyzer(
"EventSetupRecordDataGetter",
66 verbose = cms.untracked.bool(
False )
68 fragment.hltGetRaw = cms.EDAnalyzer(
"HLTGetRaw",
69 RawDataCollection = cms.InputTag(
"rawDataCollector" )
71 fragment.hltBoolFalse = cms.EDFilter(
"HLTBool",
72 result = cms.bool(
False )
74 fragment.hltTriggerType = cms.EDFilter(
"HLTTriggerTypeFilter",
75 SelectedTriggerType = cms.int32( 1 )
77 fragment.hltGtStage2Digis = cms.EDProducer(
"L1TRawToDigi",
78 lenSlinkTrailer = cms.untracked.int32( 8 ),
79 lenAMC13Header = cms.untracked.int32( 8 ),
80 CTP7 = cms.untracked.bool(
False ),
81 lenAMC13Trailer = cms.untracked.int32( 8 ),
82 Setup = cms.string(
"stage2::GTSetup" ),
83 MinFeds = cms.uint32( 0 ),
84 InputLabel = cms.InputTag(
"rawDataCollector" ),
85 lenSlinkHeader = cms.untracked.int32( 8 ),
86 MTF7 = cms.untracked.bool(
False ),
87 FWId = cms.uint32( 0 ),
88 TMTCheck = cms.bool(
True ),
89 lenAMCTrailer = cms.untracked.int32( 0 ),
90 debug = cms.untracked.bool(
False ),
91 FedIds = cms.vint32( 1404 ),
92 lenAMCHeader = cms.untracked.int32( 8 ),
93 DmxFWId = cms.uint32( 0 ),
94 FWOverride = cms.bool(
False )
96 fragment.hltGtStage2ObjectMap = cms.EDProducer(
"L1TGlobalProducer",
97 L1DataBxInEvent = cms.int32( 5 ),
98 AlgorithmTriggersUnmasked = cms.bool(
True ),
99 EtSumInputTag = cms.InputTag(
'hltGtStage2Digis',
'EtSum' ),
100 BstLengthBytes = cms.int32( -1 ),
101 MuonInputTag = cms.InputTag(
'hltGtStage2Digis',
'Muon' ),
102 AlgorithmTriggersUnprescaled = cms.bool(
True ),
103 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
104 JetInputTag = cms.InputTag(
'hltGtStage2Digis',
'Jet' ),
105 EmulateBxInEvent = cms.int32( 1 ),
106 Verbosity = cms.untracked.int32( 0 ),
107 ProduceL1GtDaqRecord = cms.bool(
True ),
108 TriggerMenuLuminosity = cms.string(
"startup" ),
109 PrescaleCSVFile = cms.string(
"prescale_L1TGlobal.csv" ),
110 PrintL1Menu = cms.untracked.bool(
False ),
111 ExtInputTag = cms.InputTag(
"hltGtStage2Digis" ),
112 AlgoBlkInputTag = cms.InputTag(
"hltGtStage2Digis" ),
113 PrescaleSet = cms.uint32( 1 ),
114 EGammaInputTag = cms.InputTag(
'hltGtStage2Digis',
'EGamma' ),
115 ProduceL1GtObjectMapRecord = cms.bool(
True ),
116 GetPrescaleColumnFromData = cms.bool(
False ),
117 TauInputTag = cms.InputTag(
'hltGtStage2Digis',
'Tau' )
119 fragment.hltScalersRawToDigi = cms.EDProducer(
"ScalersRawToDigi",
120 scalersInputTag = cms.InputTag(
"rawDataCollector" )
122 fragment.hltOnlineBeamSpot = cms.EDProducer(
"BeamSpotOnlineProducer",
123 maxZ = cms.double( 40.0 ),
124 src = cms.InputTag(
"hltScalersRawToDigi" ),
125 gtEvmLabel = cms.InputTag(
"" ),
126 changeToCMSCoordinates = cms.bool(
False ),
127 setSigmaZ = cms.double( 0.0 ),
128 maxRadius = cms.double( 2.0 )
130 fragment.hltPrePhysics = cms.EDFilter(
"HLTPrescaler",
131 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
132 offset = cms.uint32( 0 )
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 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
142 offset = cms.uint32( 0 )
144 fragment.hltL1sZeroBias = cms.EDFilter(
"HLTL1TSeed",
145 L1SeedsLogicalExpression = cms.string(
"L1_ZeroBias" ),
146 L1EGammaInputTag = cms.InputTag(
'hltGtStage2Digis',
'EGamma' ),
147 L1JetInputTag = cms.InputTag(
'hltGtStage2Digis',
'Jet' ),
148 saveTags = cms.bool(
True ),
149 L1ObjectMapInputTag = cms.InputTag(
"hltGtStage2ObjectMap" ),
150 L1EtSumInputTag = cms.InputTag(
'hltGtStage2Digis',
'EtSum' ),
151 L1TauInputTag = cms.InputTag(
'hltGtStage2Digis',
'Tau' ),
152 L1MuonInputTag = cms.InputTag(
'hltGtStage2Digis',
'Muon' ),
153 L1GlobalInputTag = cms.InputTag(
"hltGtStage2Digis" )
155 fragment.hltPreZeroBias = cms.EDFilter(
"HLTPrescaler",
156 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
157 offset = cms.uint32( 0 )
159 fragment.hltFEDSelector = cms.EDProducer(
"EvFFEDSelector",
160 inputTag = cms.InputTag(
"rawDataCollector" ),
161 fedList = cms.vuint32( 1023, 1024 )
163 fragment.hltTriggerSummaryAOD = cms.EDProducer(
"TriggerSummaryProducerAOD",
164 moduleLabelPatternsToSkip = cms.vstring( ),
165 processName = cms.string(
"@" ),
166 throw = cms.bool(
False ),
167 moduleLabelPatternsToMatch = cms.vstring(
'hlt*' )
169 fragment.hltTriggerSummaryRAW = cms.EDProducer(
"TriggerSummaryProducerRAW",
170 processName = cms.string(
"@" )
172 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter(
"HLTPrescaler",
173 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
174 offset = cms.uint32( 0 )
176 fragment.hltL1TGlobalSummary = cms.EDAnalyzer(
"L1TGlobalSummary",
177 ExtInputTag = cms.InputTag(
"hltGtStage2Digis" ),
178 MaxBx = cms.int32( 0 ),
179 DumpRecord = cms.bool(
False ),
180 psFileName = cms.string(
"prescale_L1TGlobal.csv" ),
181 ReadPrescalesFromFile = cms.bool(
False ),
182 AlgInputTag = cms.InputTag(
"hltGtStage2Digis" ),
183 MinBx = cms.int32( 0 ),
184 psColumn = cms.int32( 0 ),
185 DumpTrigSummary = cms.bool(
True ),
186 DumpTrigResults = cms.bool(
False )
188 fragment.hltTrigReport = cms.EDAnalyzer(
"HLTrigReport",
189 ReferencePath = cms.untracked.string(
"HLTriggerFinalPath" ),
190 ReferenceRate = cms.untracked.double( 100.0 ),
191 serviceBy = cms.untracked.string(
"never" ),
192 resetBy = cms.untracked.string(
"never" ),
193 reportBy = cms.untracked.string(
"job" ),
194 HLTriggerResults = cms.InputTag(
'TriggerResults',
'',
'@currentProcess' )
197 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
198 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
199 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
200 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
201 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
203 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
204 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
205 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
206 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
207 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
208 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
211 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
215 if 'hltGetConditions' in fragment.__dict__
and 'HLTriggerFirstPath' in fragment.__dict__ :
216 fragment.hltDummyConditions = cms.EDFilter(
"HLTBool",
217 result = cms.bool(
True )
219 fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
222 from HLTrigger.Configuration.customizeHLTforALL
import customizeHLTforAll
225 from HLTrigger.Configuration.customizeHLTforCMSSW
import customizeHLTforCMSSW
229 from HLTrigger.Configuration.Eras
import modifyHLTforEras