CMS 3D CMS Logo

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