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/V15 (CMSSW_14_0_6)
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/V15")
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  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  L1EtSumZdcInputTag = cms.InputTag( 'hltGtStage2Digis','EtSumZDC' )
163 )
164 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
165  offset = cms.uint32( 0 ),
166  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
167 )
168 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
169  inputTag = cms.InputTag( "rawDataCollector" ),
170  fedList = cms.vuint32( 1023, 1024 )
171 )
172 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
173  throw = cms.bool( False ),
174  processName = cms.string( "@" ),
175  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
176  moduleLabelPatternsToSkip = cms.vstring( )
177 )
178 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
179  processName = cms.string( "@" )
180 )
181 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
182  offset = cms.uint32( 0 ),
183  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
184 )
185 fragment.hltL1TGlobalSummary = cms.EDAnalyzer( "L1TGlobalSummary",
186  AlgInputTag = cms.InputTag( "hltGtStage2Digis" ),
187  ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
188  MinBx = cms.int32( 0 ),
189  MaxBx = cms.int32( 0 ),
190  DumpTrigResults = cms.bool( False ),
191  DumpRecord = cms.bool( False ),
192  DumpTrigSummary = cms.bool( True ),
193  ReadPrescalesFromFile = cms.bool( False ),
194  psFileName = cms.string( "prescale_L1TGlobal.csv" ),
195  psColumn = cms.int32( 0 )
196 )
197 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
198  HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
199  reportBy = cms.untracked.string( "job" ),
200  resetBy = cms.untracked.string( "never" ),
201  serviceBy = cms.untracked.string( "never" ),
202  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
203  ReferenceRate = cms.untracked.double( 100.0 )
204 )
205 
206 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
207 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
208 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
209 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
210 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
211 
212 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
213 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
214 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
215 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
216 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
217 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
218 
219 
220 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
221 
222 
223 # dummify hltGetConditions in cff's
224 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
225  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
226  result = cms.bool( True )
227  )
228  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
229 
230 # add specific customizations
231 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
232 fragment = customizeHLTforAll(fragment,"Fake2")
233 
234 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
235 fragment = customizeHLTforCMSSW(fragment,"Fake2")
236 
237 # Eras-based customisations
238 from HLTrigger.Configuration.Eras import modifyHLTforEras
239 modifyHLTforEras(fragment)
240 
def modifyHLTforEras(fragment)
Definition: Eras.py:3
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)