CMS 3D CMS Logo

HLT_Fake1_cff.py
Go to the documentation of this file.
1 # hltGetConfiguration /dev/CMSSW_13_2_0/Fake1 --cff --data --type Fake1
2 
3 # /dev/CMSSW_13_2_0/Fake1/V5 (CMSSW_13_2_0)
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_2_0/Fake1/V5')
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.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
20  appendToDataLabel = cms.string( "" )
21 )
22 fragment.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
23  appendToDataLabel = cms.string( "" )
24 )
25 fragment.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
26  appendToDataLabel = cms.string( "" )
27 )
28 
29 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
30  verbose = cms.untracked.bool( False ),
31  toGet = cms.VPSet(
32  )
33 )
34 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
35  RawDataCollection = cms.InputTag( "rawDataCollector" )
36 )
37 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
38  result = cms.bool( False )
39 )
40 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
41  SelectedTriggerType = cms.int32( 1 )
42 )
43 fragment.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
44  DaqGtInputTag = cms.InputTag( "rawDataCollector" ),
45  DaqGtFedId = cms.untracked.int32( 813 ),
46  ActiveBoardsMask = cms.uint32( 0xffff ),
47  UnpackBxInEvent = cms.int32( 5 ),
48  Verbosity = cms.untracked.int32( 0 )
49 )
50 fragment.hltCaloStage1Digis = cms.EDProducer( "L1TRawToDigi",
51  FedIds = cms.vint32( 1352 ),
52  Setup = cms.string( "stage1::CaloSetup" ),
53  FWId = cms.uint32( 4294967295 ),
54  DmxFWId = cms.uint32( 0 ),
55  FWOverride = cms.bool( False ),
56  TMTCheck = cms.bool( True ),
57  CTP7 = cms.untracked.bool( False ),
58  MTF7 = cms.untracked.bool( False ),
59  InputLabel = cms.InputTag( "rawDataCollector" ),
60  lenSlinkHeader = cms.untracked.int32( 8 ),
61  lenSlinkTrailer = cms.untracked.int32( 8 ),
62  lenAMCHeader = cms.untracked.int32( 8 ),
63  lenAMCTrailer = cms.untracked.int32( 0 ),
64  lenAMC13Header = cms.untracked.int32( 8 ),
65  lenAMC13Trailer = cms.untracked.int32( 8 ),
66  debug = cms.untracked.bool( False ),
67  MinFeds = cms.uint32( 0 )
68 )
69 fragment.hltCaloStage1LegacyFormatDigis = cms.EDProducer( "L1TCaloUpgradeToGCTConverter",
70  bxMin = cms.int32( 0 ),
71  bxMax = cms.int32( 0 ),
72  InputCollection = cms.InputTag( "hltCaloStage1Digis" ),
73  InputRlxTauCollection = cms.InputTag( 'hltCaloStage1Digis','rlxTaus' ),
74  InputIsoTauCollection = cms.InputTag( 'hltCaloStage1Digis','isoTaus' ),
75  InputHFSumsCollection = cms.InputTag( 'hltCaloStage1Digis','HFRingSums' ),
76  InputHFCountsCollection = cms.InputTag( 'hltCaloStage1Digis','HFBitCounts' )
77 )
78 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
79  GmtInputTag = cms.InputTag( "hltGtDigis" ),
80  GctInputTag = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
81  CastorInputTag = cms.InputTag( "castorL1Digis" ),
82  TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
83  ProduceL1GtDaqRecord = cms.bool( False ),
84  ProduceL1GtEvmRecord = cms.bool( False ),
85  ProduceL1GtObjectMapRecord = cms.bool( True ),
86  WritePsbL1GtDaqRecord = cms.bool( False ),
87  ReadTechnicalTriggerRecords = cms.bool( True ),
88  EmulateBxInEvent = cms.int32( 1 ),
89  RecordLength = cms.vint32( 3, 0 ),
90  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
91  AlternativeNrBxBoardEvm = cms.uint32( 0 ),
92  BstLengthBytes = cms.int32( -1 ),
93  AlgorithmTriggersUnprescaled = cms.bool( True ),
94  AlgorithmTriggersUnmasked = cms.bool( False ),
95  TechnicalTriggersUnprescaled = cms.bool( True ),
96  TechnicalTriggersUnmasked = cms.bool( False ),
97  TechnicalTriggersVetoUnmasked = cms.bool( True )
98 )
99 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
100  muonSource = cms.InputTag( "hltGtDigis" ),
101  etTotalSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
102  nonIsolatedEmSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','nonIsoEm' ),
103  etMissSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
104  htMissSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
105  produceMuonParticles = cms.bool( True ),
106  forwardJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','forJets' ),
107  centralJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','cenJets' ),
108  produceCaloParticles = cms.bool( True ),
109  tauJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','tauJets' ),
110  isoTauJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','isoTauJets' ),
111  isolatedEmSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','isoEm' ),
112  etHadSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
113  hfRingEtSumsSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
114  hfRingBitCountsSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
115  centralBxOnly = cms.bool( True ),
116  ignoreHtMiss = cms.bool( False )
117 )
118 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
119  scalersInputTag = cms.InputTag( "rawDataCollector" )
120 )
121 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
122  changeToCMSCoordinates = cms.bool( False ),
123  maxZ = cms.double( 40.0 ),
124  setSigmaZ = cms.double( 0.0 ),
125  beamMode = cms.untracked.uint32( 11 ),
126  src = cms.InputTag( "hltScalersRawToDigi" ),
127  gtEvmLabel = cms.InputTag( "" ),
128  maxRadius = cms.double( 2.0 ),
129  useTransientRecord = cms.bool( False )
130 )
131 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
132  offset = cms.uint32( 0 ),
133  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
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  offset = cms.uint32( 0 ),
143  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
144 )
145 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
146  saveTags = cms.bool( True ),
147  L1UseL1TriggerObjectMaps = cms.bool( True ),
148  L1NrBxInEvent = cms.int32( 3 ),
149  L1TechTriggerSeeding = cms.bool( False ),
150  L1UseAliasesForSeeding = cms.bool( True ),
151  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
152  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
153  L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
154  L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
155  L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
156 )
157 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
158  offset = cms.uint32( 0 ),
159  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
160 )
161 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
162  inputTag = cms.InputTag( "rawDataCollector" ),
163  fedList = cms.vuint32( 1023 )
164 )
165 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
166  throw = cms.bool( False ),
167  processName = cms.string( "@" ),
168  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
169  moduleLabelPatternsToSkip = cms.vstring( )
170 )
171 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
172  processName = cms.string( "@" )
173 )
174 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
175  offset = cms.uint32( 0 ),
176  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
177 )
178 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
179  UseL1GlobalTriggerRecord = cms.bool( False ),
180  L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ),
181  PrintVerbosity = cms.untracked.int32( 10 ),
182  PrintOutput = cms.untracked.int32( 3 )
183 )
184 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
185  HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
186  reportBy = cms.untracked.string( "job" ),
187  resetBy = cms.untracked.string( "never" ),
188  serviceBy = cms.untracked.string( "never" ),
189  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
190  ReferenceRate = cms.untracked.double( 100.0 )
191 )
192 
193 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltCaloStage1Digis + fragment.hltCaloStage1LegacyFormatDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
194 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
195 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
196 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
197 
198 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
199 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
200 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
201 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
202 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
203 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
204 
205 
206 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
207 
208 
209 # dummify hltGetConditions in cff's
210 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
211  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
212  result = cms.bool( True )
213  )
214  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
215 
216 # add specific customizations
217 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
218 fragment = customizeHLTforAll(fragment,"Fake1")
219 
220 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
221 fragment = customizeHLTforCMSSW(fragment,"Fake1")
222 
223 # Eras-based customisations
224 from HLTrigger.Configuration.Eras import modifyHLTforEras
225 modifyHLTforEras(fragment)
226 
def modifyHLTforEras(fragment)
Definition: Eras.py:3
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)