CMS 3D CMS Logo

HLT_Fake2_cff.py
Go to the documentation of this file.
1 # hltGetConfiguration --cff --data /dev/CMSSW_11_3_0/Fake2 --type Fake2
2 
3 # /dev/CMSSW_11_3_0/Fake2/V9 (CMSSW_11_3_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_11_3_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  iovIsRunNotTime = cms.bool( True ),
20  recordName = cms.string( "L1TGlobalParametersRcd" ),
21  firstValid = cms.vuint32( 1 )
22 )
23 
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 )
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  toGet = cms.VPSet(
65  ),
66  verbose = cms.untracked.bool( False )
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  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 )
95 )
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" )
119 )
120 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
121  scalersInputTag = cms.InputTag( "rawDataCollector" )
122 )
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 )
130 )
131 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
132  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" ),
133  offset = cms.uint32( 0 )
134 )
135 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
136  result = cms.bool( True )
137 )
138 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
139  SelectedTriggerType = cms.int32( 3 )
140 )
141 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
142  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" ),
143  offset = cms.uint32( 0 )
144 )
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" )
155 )
156 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
157  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" ),
158  offset = cms.uint32( 0 )
159 )
160 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
161  inputTag = cms.InputTag( "rawDataCollector" ),
162  fedList = cms.vuint32( 1023, 1024 )
163 )
164 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
165  moduleLabelPatternsToSkip = cms.vstring( ),
166  processName = cms.string( "@" ),
167  throw = cms.bool( False ),
168  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' )
169 )
170 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
171  processName = cms.string( "@" )
172 )
173 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
174  L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" ),
175  offset = cms.uint32( 0 )
176 )
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 )
188 )
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' )
196 )
197 
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 )
203 
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 )
210 
211 
212 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
213 
214 
215 # dummify hltGetConditions in cff's
216 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
217  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
218  result = cms.bool( True )
219  )
220  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
221 
222 # add specific customizations
223 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
224 fragment = customizeHLTforAll(fragment,"Fake2")
225 
226 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
227 fragment = customizeHLTforCMSSW(fragment,"Fake2")
228 
229 # Eras-based customisations
230 from HLTrigger.Configuration.Eras import modifyHLTforEras
231 modifyHLTforEras(fragment)
232 
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