CMS 3D CMS Logo

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