CMS 3D CMS Logo

HLT_Fake2_cff.py
Go to the documentation of this file.
1 # hltGetConfiguration /dev/CMSSW_14_0_0/Fake2 --cff --data --type Fake2
2 
3 # /dev/CMSSW_14_0_0/Fake2/V9 (CMSSW_14_0_1_HLT3)
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 fragment = cms.ProcessFragment( "HLT" )
8 
9 fragment.HLTConfigVersion = cms.PSet(
10  tableName = cms.string("/dev/CMSSW_14_0_0/Fake2/V9")
11 )
12 
13 fragment.streams = cms.PSet( A = cms.vstring( 'InitialPD' ) )
14 fragment.datasets = cms.PSet( InitialPD = cms.vstring( 'HLT_Physics_v1',
15  'HLT_Random_v1',
16  'HLT_ZeroBias_v1' ) )
17 
18 fragment.GlobalParametersRcdSource = cms.ESSource( "EmptyESSource",
19  recordName = cms.string( "L1TGlobalParametersRcd" ),
20  iovIsRunNotTime = cms.bool( True ),
21  firstValid = cms.vuint32( 1 )
22 )
23 
24 fragment.GlobalParameters = cms.ESProducer( "StableParametersTrivialProducer",
25  TotalBxInEvent = cms.int32( 5 ),
26  NumberPhysTriggers = cms.uint32( 512 ),
27  NumberL1Muon = cms.uint32( 12 ),
28  NumberL1EGamma = cms.uint32( 12 ),
29  NumberL1Jet = cms.uint32( 12 ),
30  NumberL1Tau = cms.uint32( 8 ),
31  NumberChips = cms.uint32( 5 ),
32  PinsOnChip = cms.uint32( 512 ),
33  OrderOfChip = cms.vint32( 1 ),
34  NumberL1IsoEG = cms.uint32( 4 ),
35  NumberL1JetCounts = cms.uint32( 12 ),
36  UnitLength = cms.int32( 8 ),
37  NumberL1ForJet = cms.uint32( 4 ),
38  IfCaloEtaNumberBits = cms.uint32( 4 ),
39  IfMuEtaNumberBits = cms.uint32( 6 ),
40  NumberL1TauJet = cms.uint32( 4 ),
41  NumberL1Mu = cms.uint32( 4 ),
42  NumberConditionChips = cms.uint32( 1 ),
43  NumberPsbBoards = cms.int32( 7 ),
44  NumberL1CenJet = cms.uint32( 4 ),
45  PinsOnConditionChip = cms.uint32( 512 ),
46  NumberL1NoIsoEG = cms.uint32( 4 ),
47  NumberTechnicalTriggers = cms.uint32( 64 ),
48  NumberPhysTriggersExtended = cms.uint32( 64 ),
49  WordLength = cms.int32( 64 ),
50  OrderConditionChip = cms.vint32( 1 ),
51  appendToDataLabel = cms.string( "" )
52 )
53 fragment.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
54  appendToDataLabel = cms.string( "" )
55 )
56 fragment.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
57  appendToDataLabel = cms.string( "" )
58 )
59 fragment.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
60  appendToDataLabel = cms.string( "" )
61 )
62 
63 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
64  verbose = cms.untracked.bool( False ),
65  toGet = cms.VPSet(
66  )
67 )
68 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
69  RawDataCollection = cms.InputTag( "rawDataCollector" )
70 )
71 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
72  result = cms.bool( False )
73 )
74 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
75  SelectedTriggerType = cms.int32( 1 )
76 )
77 fragment.hltGtStage2Digis = cms.EDProducer( "L1TRawToDigi",
78  FedIds = cms.vint32( 1404 ),
79  Setup = cms.string( "stage2::GTSetup" ),
80  FWId = cms.uint32( 0 ),
81  DmxFWId = cms.uint32( 0 ),
82  FWOverride = cms.bool( False ),
83  TMTCheck = cms.bool( True ),
84  CTP7 = cms.untracked.bool( False ),
85  MTF7 = cms.untracked.bool( False ),
86  InputLabel = cms.InputTag( "rawDataCollector" ),
87  lenSlinkHeader = cms.untracked.int32( 8 ),
88  lenSlinkTrailer = cms.untracked.int32( 8 ),
89  lenAMCHeader = cms.untracked.int32( 8 ),
90  lenAMCTrailer = cms.untracked.int32( 0 ),
91  lenAMC13Header = cms.untracked.int32( 8 ),
92  lenAMC13Trailer = cms.untracked.int32( 8 ),
93  debug = cms.untracked.bool( False ),
94  MinFeds = cms.uint32( 0 )
95 )
96 fragment.hltGtStage2ObjectMap = cms.EDProducer( "L1TGlobalProducer",
97  MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
98  MuonShowerInputTag = cms.InputTag( 'hltGtStage2Digis','MuonShower' ),
99  EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
100  TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
101  JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
102  EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' ),
103  EtSumZdcInputTag = cms.InputTag( 'hltGtStage2Digis','EtSumZDC' ),
104  ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
105  AlgoBlkInputTag = cms.InputTag( "hltGtStage2Digis" ),
106  GetPrescaleColumnFromData = cms.bool( False ),
107  AlgorithmTriggersUnprescaled = cms.bool( True ),
108  RequireMenuToMatchAlgoBlkInput = cms.bool( True ),
109  AlgorithmTriggersUnmasked = cms.bool( True ),
110  AXOL1TLModelVersion = cms.string( "GTADModel_v3" ),
111  useMuonShowers = cms.bool( True ),
112  resetPSCountersEachLumiSec = cms.bool( True ),
113  semiRandomInitialPSCounters = cms.bool( False ),
114  ProduceL1GtDaqRecord = cms.bool( True ),
115  ProduceL1GtObjectMapRecord = cms.bool( True ),
116  EmulateBxInEvent = cms.int32( 1 ),
117  L1DataBxInEvent = cms.int32( 5 ),
118  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
119  BstLengthBytes = cms.int32( -1 ),
120  PrescaleSet = cms.uint32( 1 ),
121  Verbosity = cms.untracked.int32( 0 ),
122  PrintL1Menu = cms.untracked.bool( False ),
123  TriggerMenuLuminosity = cms.string( "startup" )
124 )
125 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
126  scalersInputTag = cms.InputTag( "rawDataCollector" )
127 )
128 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
129  changeToCMSCoordinates = cms.bool( False ),
130  maxZ = cms.double( 40.0 ),
131  setSigmaZ = cms.double( 0.0 ),
132  beamMode = cms.untracked.uint32( 11 ),
133  src = cms.InputTag( "hltScalersRawToDigi" ),
134  gtEvmLabel = cms.InputTag( "" ),
135  maxRadius = cms.double( 2.0 ),
136  useTransientRecord = cms.bool( False )
137 )
138 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
139  offset = cms.uint32( 0 ),
140  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
141 )
142 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
143  result = cms.bool( True )
144 )
145 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
146  SelectedTriggerType = cms.int32( 3 )
147 )
148 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
149  offset = cms.uint32( 0 ),
150  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
151 )
152 fragment.hltL1sZeroBias = cms.EDFilter( "HLTL1TSeed",
153  saveTags = cms.bool( True ),
154  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
155  L1ObjectMapInputTag = cms.InputTag( "hltGtStage2ObjectMap" ),
156  L1GlobalInputTag = cms.InputTag( "hltGtStage2Digis" ),
157  L1MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
158  L1MuonShowerInputTag = cms.InputTag( 'hltGtStage2Digis','MuonShower' ),
159  L1EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
160  L1JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
161  L1TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
162  L1EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' ),
163  L1EtSumZdcInputTag = cms.InputTag( 'hltGtStage2Digis','EtSumZDC' )
164 )
165 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
166  offset = cms.uint32( 0 ),
167  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
168 )
169 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
170  inputTag = cms.InputTag( "rawDataCollector" ),
171  fedList = cms.vuint32( 1023, 1024 )
172 )
173 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
174  throw = cms.bool( False ),
175  processName = cms.string( "@" ),
176  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
177  moduleLabelPatternsToSkip = cms.vstring( )
178 )
179 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
180  processName = cms.string( "@" )
181 )
182 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
183  offset = cms.uint32( 0 ),
184  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
185 )
186 fragment.hltL1TGlobalSummary = cms.EDAnalyzer( "L1TGlobalSummary",
187  AlgInputTag = cms.InputTag( "hltGtStage2Digis" ),
188  ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
189  MinBx = cms.int32( 0 ),
190  MaxBx = cms.int32( 0 ),
191  DumpTrigResults = cms.bool( False ),
192  DumpRecord = cms.bool( False ),
193  DumpTrigSummary = cms.bool( True ),
194  ReadPrescalesFromFile = cms.bool( False ),
195  psFileName = cms.string( "prescale_L1TGlobal.csv" ),
196  psColumn = cms.int32( 0 )
197 )
198 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
199  HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
200  reportBy = cms.untracked.string( "job" ),
201  resetBy = cms.untracked.string( "never" ),
202  serviceBy = cms.untracked.string( "never" ),
203  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
204  ReferenceRate = cms.untracked.double( 100.0 )
205 )
206 
207 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
208 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
209 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
210 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
211 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
212 
213 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
214 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
215 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
216 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
217 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
218 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
219 
220 
221 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
222 
223 
224 # dummify hltGetConditions in cff's
225 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
226  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
227  result = cms.bool( True )
228  )
229  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
230 
231 # add specific customizations
232 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
233 fragment = customizeHLTforAll(fragment,"Fake2")
234 
235 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
236 fragment = customizeHLTforCMSSW(fragment,"Fake2")
237 
238 # Eras-based customisations
239 from HLTrigger.Configuration.Eras import modifyHLTforEras
240 modifyHLTforEras(fragment)
241 
def modifyHLTforEras(fragment)
Definition: Eras.py:3
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)