CMS 3D CMS Logo

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