CMS 3D CMS Logo

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