CMS 3D CMS Logo

HLT_Fake2_cff.py
Go to the documentation of this file.
1 # hltGetConfiguration --cff --data /dev/CMSSW_12_0_0/Fake2 --type Fake2
2 
3 # /dev/CMSSW_12_0_0/Fake2/V2 (CMSSW_12_0_0)
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_12_0_0/Fake2/V2')
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  EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
99  TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
100  JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
101  EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' ),
102  ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
103  AlgoBlkInputTag = cms.InputTag( "hltGtStage2Digis" ),
104  GetPrescaleColumnFromData = cms.bool( False ),
105  AlgorithmTriggersUnprescaled = cms.bool( True ),
106  RequireMenuToMatchAlgoBlkInput = cms.bool( True ),
107  AlgorithmTriggersUnmasked = cms.bool( True ),
108  ProduceL1GtDaqRecord = cms.bool( True ),
109  ProduceL1GtObjectMapRecord = cms.bool( True ),
110  EmulateBxInEvent = cms.int32( 1 ),
111  L1DataBxInEvent = cms.int32( 5 ),
112  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
113  BstLengthBytes = cms.int32( -1 ),
114  PrescaleSet = cms.uint32( 1 ),
115  Verbosity = cms.untracked.int32( 0 ),
116  PrintL1Menu = cms.untracked.bool( False ),
117  TriggerMenuLuminosity = cms.string( "startup" ),
118  PrescaleCSVFile = cms.string( "prescale_L1TGlobal.csv" )
119 )
120 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
121  scalersInputTag = cms.InputTag( "rawDataCollector" )
122 )
123 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
124  changeToCMSCoordinates = cms.bool( False ),
125  maxZ = cms.double( 40.0 ),
126  setSigmaZ = cms.double( 0.0 ),
127  beamMode = cms.untracked.uint32( 11 ),
128  src = cms.InputTag( "hltScalersRawToDigi" ),
129  gtEvmLabel = cms.InputTag( "" ),
130  maxRadius = cms.double( 2.0 ),
131  useTransientRecord = cms.bool( False )
132 )
133 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
134  offset = cms.uint32( 0 ),
135  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
136 )
137 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
138  result = cms.bool( True )
139 )
140 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
141  SelectedTriggerType = cms.int32( 3 )
142 )
143 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
144  offset = cms.uint32( 0 ),
145  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
146 )
147 fragment.hltL1sZeroBias = cms.EDFilter( "HLTL1TSeed",
148  saveTags = cms.bool( True ),
149  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
150  L1ObjectMapInputTag = cms.InputTag( "hltGtStage2ObjectMap" ),
151  L1GlobalInputTag = cms.InputTag( "hltGtStage2Digis" ),
152  L1MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
153  L1EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
154  L1JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
155  L1TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
156  L1EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' )
157 )
158 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
159  offset = cms.uint32( 0 ),
160  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
161 )
162 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
163  inputTag = cms.InputTag( "rawDataCollector" ),
164  fedList = cms.vuint32( 1023, 1024 )
165 )
166 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
167  throw = cms.bool( False ),
168  processName = cms.string( "@" ),
169  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
170  moduleLabelPatternsToSkip = cms.vstring( )
171 )
172 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
173  processName = cms.string( "@" )
174 )
175 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
176  offset = cms.uint32( 0 ),
177  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
178 )
179 fragment.hltL1TGlobalSummary = cms.EDAnalyzer( "L1TGlobalSummary",
180  AlgInputTag = cms.InputTag( "hltGtStage2Digis" ),
181  ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
182  MinBx = cms.int32( 0 ),
183  MaxBx = cms.int32( 0 ),
184  DumpTrigResults = cms.bool( False ),
185  DumpRecord = cms.bool( False ),
186  DumpTrigSummary = cms.bool( True ),
187  ReadPrescalesFromFile = cms.bool( False ),
188  psFileName = cms.string( "prescale_L1TGlobal.csv" ),
189  psColumn = cms.int32( 0 )
190 )
191 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
192  HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
193  reportBy = cms.untracked.string( "job" ),
194  resetBy = cms.untracked.string( "never" ),
195  serviceBy = cms.untracked.string( "never" ),
196  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
197  ReferenceRate = cms.untracked.double( 100.0 )
198 )
199 
200 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
201 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
202 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
203 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
204 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
205 
206 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
207 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
208 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
209 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
210 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
211 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
212 
213 
214 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
215 
216 
217 # dummify hltGetConditions in cff's
218 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
219  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
220  result = cms.bool( True )
221  )
222  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
223 
224 # add specific customizations
225 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
226 fragment = customizeHLTforAll(fragment,"Fake2")
227 
228 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
229 fragment = customizeHLTforCMSSW(fragment,"Fake2")
230 
231 # Eras-based customisations
232 from HLTrigger.Configuration.Eras import modifyHLTforEras
233 modifyHLTforEras(fragment)
234 
customizeHLTforCMSSW
Definition: customizeHLTforCMSSW.py:1
Eras.modifyHLTforEras
def modifyHLTforEras(fragment)
Definition: Eras.py:3
customizeHLTforALL.customizeHLTforAll
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)
Definition: customizeHLTforALL.py:3