CMS 3D CMS Logo

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