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/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 RequireMenuToMatchAlgoBlkInput = cms.bool(
True ),
100 EtSumInputTag = cms.InputTag(
'hltGtStage2Digis',
'EtSum' ),
101 BstLengthBytes = cms.int32( -1 ),
102 MuonInputTag = cms.InputTag(
'hltGtStage2Digis',
'Muon' ),
103 AlgorithmTriggersUnprescaled = cms.bool(
True ),
104 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
105 JetInputTag = cms.InputTag(
'hltGtStage2Digis',
'Jet' ),
106 EmulateBxInEvent = cms.int32( 1 ),
107 Verbosity = cms.untracked.int32( 0 ),
108 ProduceL1GtDaqRecord = cms.bool(
True ),
109 TriggerMenuLuminosity = cms.string(
"startup" ),
110 PrescaleCSVFile = cms.string(
"prescale_L1TGlobal.csv" ),
111 PrintL1Menu = cms.untracked.bool(
False ),
112 ExtInputTag = cms.InputTag(
"hltGtStage2Digis" ),
113 TauInputTag = cms.InputTag(
'hltGtStage2Digis',
'Tau' ),
114 PrescaleSet = cms.uint32( 1 ),
115 EGammaInputTag = cms.InputTag(
'hltGtStage2Digis',
'EGamma' ),
116 ProduceL1GtObjectMapRecord = cms.bool(
True ),
117 GetPrescaleColumnFromData = cms.bool(
False ),
118 AlgoBlkInputTag = cms.InputTag(
"hltGtStage2Digis" )
120 fragment.hltScalersRawToDigi = cms.EDProducer(
"ScalersRawToDigi",
121 scalersInputTag = cms.InputTag(
"rawDataCollector" )
123 fragment.hltOnlineBeamSpot = cms.EDProducer(
"BeamSpotOnlineProducer",
124 maxZ = cms.double( 40.0 ),
125 src = cms.InputTag(
"hltScalersRawToDigi" ),
126 gtEvmLabel = cms.InputTag(
"" ),
127 changeToCMSCoordinates = cms.bool(
False ),
128 setSigmaZ = cms.double( 0.0 ),
129 maxRadius = cms.double( 2.0 )
131 fragment.hltPrePhysics = cms.EDFilter(
"HLTPrescaler",
132 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
133 offset = cms.uint32( 0 )
135 fragment.hltBoolEnd = cms.EDFilter(
"HLTBool",
136 result = cms.bool(
True )
138 fragment.hltRandomEventsFilter = cms.EDFilter(
"HLTTriggerTypeFilter",
139 SelectedTriggerType = cms.int32( 3 )
141 fragment.hltPreRandom = cms.EDFilter(
"HLTPrescaler",
142 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
143 offset = cms.uint32( 0 )
145 fragment.hltL1sZeroBias = cms.EDFilter(
"HLTL1TSeed",
146 L1SeedsLogicalExpression = cms.string(
"L1_ZeroBias" ),
147 L1EGammaInputTag = cms.InputTag(
'hltGtStage2Digis',
'EGamma' ),
148 L1JetInputTag = cms.InputTag(
'hltGtStage2Digis',
'Jet' ),
149 saveTags = cms.bool(
True ),
150 L1ObjectMapInputTag = cms.InputTag(
"hltGtStage2ObjectMap" ),
151 L1EtSumInputTag = cms.InputTag(
'hltGtStage2Digis',
'EtSum' ),
152 L1TauInputTag = cms.InputTag(
'hltGtStage2Digis',
'Tau' ),
153 L1MuonInputTag = cms.InputTag(
'hltGtStage2Digis',
'Muon' ),
154 L1GlobalInputTag = cms.InputTag(
"hltGtStage2Digis" )
156 fragment.hltPreZeroBias = cms.EDFilter(
"HLTPrescaler",
157 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
158 offset = cms.uint32( 0 )
160 fragment.hltFEDSelector = cms.EDProducer(
"EvFFEDSelector",
161 inputTag = cms.InputTag(
"rawDataCollector" ),
162 fedList = cms.vuint32( 1023, 1024 )
164 fragment.hltTriggerSummaryAOD = cms.EDProducer(
"TriggerSummaryProducerAOD",
165 moduleLabelPatternsToSkip = cms.vstring( ),
166 processName = cms.string(
"@" ),
167 throw = cms.bool(
False ),
168 moduleLabelPatternsToMatch = cms.vstring(
'hlt*' )
170 fragment.hltTriggerSummaryRAW = cms.EDProducer(
"TriggerSummaryProducerRAW",
171 processName = cms.string(
"@" )
173 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter(
"HLTPrescaler",
174 L1GtReadoutRecordTag = cms.InputTag(
"hltGtStage2Digis" ),
175 offset = cms.uint32( 0 )
177 fragment.hltL1TGlobalSummary = cms.EDAnalyzer(
"L1TGlobalSummary",
178 ExtInputTag = cms.InputTag(
"hltGtStage2Digis" ),
179 MaxBx = cms.int32( 0 ),
180 DumpRecord = cms.bool(
False ),
181 psFileName = cms.string(
"prescale_L1TGlobal.csv" ),
182 ReadPrescalesFromFile = cms.bool(
False ),
183 AlgInputTag = cms.InputTag(
"hltGtStage2Digis" ),
184 MinBx = cms.int32( 0 ),
185 psColumn = cms.int32( 0 ),
186 DumpTrigSummary = cms.bool(
True ),
187 DumpTrigResults = cms.bool(
False )
189 fragment.hltTrigReport = cms.EDAnalyzer(
"HLTrigReport",
190 ReferencePath = cms.untracked.string(
"HLTriggerFinalPath" ),
191 ReferenceRate = cms.untracked.double( 100.0 ),
192 serviceBy = cms.untracked.string(
"never" ),
193 resetBy = cms.untracked.string(
"never" ),
194 reportBy = cms.untracked.string(
"job" ),
195 HLTriggerResults = cms.InputTag(
'TriggerResults',
'',
'@currentProcess' )
198 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
199 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
200 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
201 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
202 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
204 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
205 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
206 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
207 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
208 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
209 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
212 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
216 if 'hltGetConditions' in fragment.__dict__
and 'HLTriggerFirstPath' in fragment.__dict__ :
217 fragment.hltDummyConditions = cms.EDFilter(
"HLTBool",
218 result = cms.bool(
True )
220 fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
223 from HLTrigger.Configuration.customizeHLTforALL
import customizeHLTforAll
226 from HLTrigger.Configuration.customizeHLTforCMSSW
import customizeHLTforCMSSW
230 from HLTrigger.Configuration.Eras
import modifyHLTforEras