CMS 3D CMS Logo

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