CMS 3D CMS Logo

HLT_Fake_cff.py
Go to the documentation of this file.
1 # /dev/CMSSW_9_2_0/Fake/V3 (CMSSW_9_2_2)
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 fragment = cms.ProcessFragment( "HLT" )
6 
7 fragment.HLTConfigVersion = cms.PSet(
8  tableName = cms.string('/dev/CMSSW_9_2_0/Fake/V3')
9 )
10 
11 fragment.streams = cms.PSet( A = cms.vstring( 'InitialPD' ) )
12 fragment.datasets = cms.PSet( InitialPD = cms.vstring( 'HLT_Physics_v1',
13  'HLT_Random_v1',
14  'HLT_ZeroBias_v1' ) )
15 
16 fragment.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
17  appendToDataLabel = cms.string( "" )
18 )
19 fragment.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
20  appendToDataLabel = cms.string( "" )
21 )
22 fragment.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
23  appendToDataLabel = cms.string( "" )
24 )
25 
26 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
27  toGet = cms.VPSet(
28  ),
29  verbose = cms.untracked.bool( False )
30 )
31 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
32  RawDataCollection = cms.InputTag( "rawDataCollector" )
33 )
34 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
35  result = cms.bool( False )
36 )
37 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
38  SelectedTriggerType = cms.int32( 1 )
39 )
40 fragment.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
41  DaqGtFedId = cms.untracked.int32( 813 ),
42  Verbosity = cms.untracked.int32( 0 ),
43  UnpackBxInEvent = cms.int32( 5 ),
44  ActiveBoardsMask = cms.uint32( 0xffff ),
45  DaqGtInputTag = cms.InputTag( "rawDataCollector" )
46 )
47 fragment.hltGctDigis = cms.EDProducer( "GctRawToDigi",
48  checkHeaders = cms.untracked.bool( False ),
49  unpackSharedRegions = cms.bool( False ),
50  numberOfGctSamplesToUnpack = cms.uint32( 1 ),
51  verbose = cms.untracked.bool( False ),
52  numberOfRctSamplesToUnpack = cms.uint32( 1 ),
53  inputLabel = cms.InputTag( "rawDataCollector" ),
54  unpackerVersion = cms.uint32( 0 ),
55  gctFedId = cms.untracked.int32( 745 ),
56  hltMode = cms.bool( True )
57 )
58 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
59  TechnicalTriggersUnprescaled = cms.bool( True ),
60  ProduceL1GtObjectMapRecord = cms.bool( True ),
61  AlgorithmTriggersUnmasked = cms.bool( False ),
62  EmulateBxInEvent = cms.int32( 1 ),
63  AlgorithmTriggersUnprescaled = cms.bool( True ),
64  ProduceL1GtDaqRecord = cms.bool( False ),
65  ReadTechnicalTriggerRecords = cms.bool( True ),
66  RecordLength = cms.vint32( 3, 0 ),
67  TechnicalTriggersUnmasked = cms.bool( False ),
68  ProduceL1GtEvmRecord = cms.bool( False ),
69  GmtInputTag = cms.InputTag( "hltGtDigis" ),
70  TechnicalTriggersVetoUnmasked = cms.bool( True ),
71  AlternativeNrBxBoardEvm = cms.uint32( 0 ),
72  TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
73  CastorInputTag = cms.InputTag( "castorL1Digis" ),
74  GctInputTag = cms.InputTag( "hltGctDigis" ),
75  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
76  WritePsbL1GtDaqRecord = cms.bool( False ),
77  BstLengthBytes = cms.int32( -1 )
78 )
79 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
80  tauJetSource = cms.InputTag( 'hltGctDigis','tauJets' ),
81  etHadSource = cms.InputTag( "hltGctDigis" ),
82  isoTauJetSource = cms.InputTag( 'hltGctDigis','isoTauJets' ),
83  etTotalSource = cms.InputTag( "hltGctDigis" ),
84  centralBxOnly = cms.bool( True ),
85  centralJetSource = cms.InputTag( 'hltGctDigis','cenJets' ),
86  etMissSource = cms.InputTag( "hltGctDigis" ),
87  hfRingEtSumsSource = cms.InputTag( "hltGctDigis" ),
88  produceMuonParticles = cms.bool( True ),
89  forwardJetSource = cms.InputTag( 'hltGctDigis','forJets' ),
90  ignoreHtMiss = cms.bool( False ),
91  htMissSource = cms.InputTag( "hltGctDigis" ),
92  produceCaloParticles = cms.bool( True ),
93  muonSource = cms.InputTag( "hltGtDigis" ),
94  isolatedEmSource = cms.InputTag( 'hltGctDigis','isoEm' ),
95  nonIsolatedEmSource = cms.InputTag( 'hltGctDigis','nonIsoEm' ),
96  hfRingBitCountsSource = cms.InputTag( "hltGctDigis" )
97 )
98 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
99  scalersInputTag = cms.InputTag( "rawDataCollector" )
100 )
101 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
102  maxZ = cms.double( 40.0 ),
103  src = cms.InputTag( "hltScalersRawToDigi" ),
104  gtEvmLabel = cms.InputTag( "" ),
105  changeToCMSCoordinates = cms.bool( False ),
106  setSigmaZ = cms.double( 0.0 ),
107  maxRadius = cms.double( 2.0 )
108 )
109 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
110  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
111  offset = cms.uint32( 0 )
112 )
113 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
114  result = cms.bool( True )
115 )
116 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
117  SelectedTriggerType = cms.int32( 3 )
118 )
119 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
120  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
121  offset = cms.uint32( 0 )
122 )
123 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
124  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
125  saveTags = cms.bool( True ),
126  L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" ),
127  L1UseL1TriggerObjectMaps = cms.bool( True ),
128  L1UseAliasesForSeeding = cms.bool( True ),
129  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
130  L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
131  L1NrBxInEvent = cms.int32( 3 ),
132  L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
133  L1TechTriggerSeeding = cms.bool( False )
134 )
135 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
136  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
137  offset = cms.uint32( 0 )
138 )
139 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
140  inputTag = cms.InputTag( "rawDataCollector" ),
141  fedList = cms.vuint32( 1023 )
142 )
143 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
144  moduleLabelPatternsToSkip = cms.vstring( ),
145  processName = cms.string( "@" ),
146  moduleLabelPatternsToMatch = cms.vstring( 'hlt*' )
147 )
148 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
149  processName = cms.string( "@" )
150 )
151 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
152  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
153  offset = cms.uint32( 0 )
154 )
155 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
156  PrintVerbosity = cms.untracked.int32( 10 ),
157  UseL1GlobalTriggerRecord = cms.bool( False ),
158  PrintOutput = cms.untracked.int32( 3 ),
159  L1GtRecordInputTag = cms.InputTag( "hltGtDigis" )
160 )
161 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
162  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
163  ReferenceRate = cms.untracked.double( 100.0 ),
164  serviceBy = cms.untracked.string( "never" ),
165  resetBy = cms.untracked.string( "never" ),
166  reportBy = cms.untracked.string( "job" ),
167  HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
168 )
169 
170 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltGctDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
171 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
172 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
173 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
174 
175 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
176 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
177 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
178 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
179 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
180 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
181 
182 
183 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
184 
185 
186 # dummyfy hltGetConditions in cff's
187 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
188  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
189  result = cms.bool( True )
190  )
191  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
192 
193 # add specific customizations
194 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
195 fragment = customizeHLTforAll(fragment,"Fake")
196 
197 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
198 fragment = customizeHLTforCMSSW(fragment,"Fake")
199 
200 # Eras-based customisations
201 from HLTrigger.Configuration.Eras import modifyHLTforEras
202 modifyHLTforEras(fragment)
203 
def modifyHLTforEras(fragment)
Definition: Eras.py:3
def customizeHLTforAll(process, menuType="GRun", _customInfo=None)