CMS 3D CMS Logo

HLT_Fake_cff.py
Go to the documentation of this file.
1 # hltGetConfiguration --cff --data /dev/CMSSW_12_4_0/Fake --type Fake
2 
3 # /dev/CMSSW_12_4_0/Fake/V9 (CMSSW_12_4_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_12_4_0/Fake/V9')
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.hltGctDigis = cms.EDProducer( "GctRawToDigi",
51  unpackSharedRegions = cms.bool( False ),
52  numberOfGctSamplesToUnpack = cms.uint32( 1 ),
53  numberOfRctSamplesToUnpack = cms.uint32( 1 ),
54  hltMode = cms.bool( True ),
55  inputLabel = cms.InputTag( "rawDataCollector" ),
56  unpackerVersion = cms.uint32( 0 ),
57  gctFedId = cms.untracked.int32( 745 ),
58  checkHeaders = cms.untracked.bool( False ),
59  verbose = cms.untracked.bool( False )
60 )
61 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
62  GmtInputTag = cms.InputTag( "hltGtDigis" ),
63  GctInputTag = cms.InputTag( "hltGctDigis" ),
64  CastorInputTag = cms.InputTag( "castorL1Digis" ),
65  TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
66  ProduceL1GtDaqRecord = cms.bool( False ),
67  ProduceL1GtEvmRecord = cms.bool( False ),
68  ProduceL1GtObjectMapRecord = cms.bool( True ),
69  WritePsbL1GtDaqRecord = cms.bool( False ),
70  ReadTechnicalTriggerRecords = cms.bool( True ),
71  EmulateBxInEvent = cms.int32( 1 ),
72  RecordLength = cms.vint32( 3, 0 ),
73  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
74  AlternativeNrBxBoardEvm = cms.uint32( 0 ),
75  BstLengthBytes = cms.int32( -1 ),
76  AlgorithmTriggersUnprescaled = cms.bool( True ),
77  AlgorithmTriggersUnmasked = cms.bool( False ),
78  TechnicalTriggersUnprescaled = cms.bool( True ),
79  TechnicalTriggersUnmasked = cms.bool( False ),
80  TechnicalTriggersVetoUnmasked = cms.bool( True )
81 )
82 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
83  muonSource = cms.InputTag( "hltGtDigis" ),
84  etTotalSource = cms.InputTag( "hltGctDigis" ),
85  nonIsolatedEmSource = cms.InputTag( 'hltGctDigis','nonIsoEm' ),
86  etMissSource = cms.InputTag( "hltGctDigis" ),
87  htMissSource = cms.InputTag( "hltGctDigis" ),
88  produceMuonParticles = cms.bool( True ),
89  forwardJetSource = cms.InputTag( 'hltGctDigis','forJets' ),
90  centralJetSource = cms.InputTag( 'hltGctDigis','cenJets' ),
91  produceCaloParticles = cms.bool( True ),
92  tauJetSource = cms.InputTag( 'hltGctDigis','tauJets' ),
93  isoTauJetSource = cms.InputTag( 'hltGctDigis','isoTauJets' ),
94  isolatedEmSource = cms.InputTag( 'hltGctDigis','isoEm' ),
95  etHadSource = cms.InputTag( "hltGctDigis" ),
96  hfRingEtSumsSource = cms.InputTag( "hltGctDigis" ),
97  hfRingBitCountsSource = cms.InputTag( "hltGctDigis" ),
98  centralBxOnly = cms.bool( True ),
99  ignoreHtMiss = cms.bool( False )
100 )
101 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
102  scalersInputTag = cms.InputTag( "rawDataCollector" )
103 )
104 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
105  changeToCMSCoordinates = cms.bool( False ),
106  maxZ = cms.double( 40.0 ),
107  setSigmaZ = cms.double( 0.0 ),
108  beamMode = cms.untracked.uint32( 11 ),
109  src = cms.InputTag( "hltScalersRawToDigi" ),
110  gtEvmLabel = cms.InputTag( "" ),
111  maxRadius = cms.double( 2.0 ),
112  useTransientRecord = cms.bool( False )
113 )
114 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
115  offset = cms.uint32( 0 ),
116  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
117 )
118 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
119  result = cms.bool( True )
120 )
121 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
122  SelectedTriggerType = cms.int32( 3 )
123 )
124 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
125  offset = cms.uint32( 0 ),
126  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
127 )
128 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
129  saveTags = cms.bool( True ),
130  L1UseL1TriggerObjectMaps = cms.bool( True ),
131  L1NrBxInEvent = cms.int32( 3 ),
132  L1TechTriggerSeeding = cms.bool( False ),
133  L1UseAliasesForSeeding = cms.bool( True ),
134  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
135  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
136  L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
137  L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
138  L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
139 )
140 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
141  offset = cms.uint32( 0 ),
142  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
143 )
144 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
145  inputTag = cms.InputTag( "rawDataCollector" ),
146  fedList = cms.vuint32( 1023 )
147 )
148 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
149  throw = cms.bool( False ),
150  processName = cms.string( "@" ),
151  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
152  moduleLabelPatternsToSkip = cms.vstring( )
153 )
154 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
155  processName = cms.string( "@" )
156 )
157 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
158  offset = cms.uint32( 0 ),
159  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
160 )
161 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
162  UseL1GlobalTriggerRecord = cms.bool( False ),
163  L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ),
164  PrintVerbosity = cms.untracked.int32( 10 ),
165  PrintOutput = cms.untracked.int32( 3 )
166 )
167 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
168  HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
169  reportBy = cms.untracked.string( "job" ),
170  resetBy = cms.untracked.string( "never" ),
171  serviceBy = cms.untracked.string( "never" ),
172  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
173  ReferenceRate = cms.untracked.double( 100.0 )
174 )
175 
176 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltGctDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
177 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
178 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
179 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
180 
181 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
182 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
183 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
184 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
185 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
186 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
187 
188 
189 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
190 
191 
192 # dummify hltGetConditions in cff's
193 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
194  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
195  result = cms.bool( True )
196  )
197  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
198 
199 # add specific customizations
200 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
201 fragment = customizeHLTforAll(fragment,"Fake")
202 
203 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
204 fragment = customizeHLTforCMSSW(fragment,"Fake")
205 
206 # Eras-based customisations
207 from HLTrigger.Configuration.Eras import modifyHLTforEras
208 modifyHLTforEras(fragment)
209 
def modifyHLTforEras(fragment)
Definition: Eras.py:3
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)