CMS 3D CMS Logo

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