CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLT_Fake_cff.py
Go to the documentation of this file.
1 # /dev/CMSSW_8_0_0/Fake/V19 (CMSSW_8_0_9_HLT1)
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_8_0_0/Fake/V19')
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  processName = cms.string( "@" )
145 )
146 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
147  processName = cms.string( "@" )
148 )
149 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
150  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
151  offset = cms.uint32( 0 )
152 )
153 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
154  PrintVerbosity = cms.untracked.int32( 10 ),
155  UseL1GlobalTriggerRecord = cms.bool( False ),
156  PrintOutput = cms.untracked.int32( 3 ),
157  L1GtRecordInputTag = cms.InputTag( "hltGtDigis" )
158 )
159 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
160  ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
161  ReferenceRate = cms.untracked.double( 100.0 ),
162  serviceBy = cms.untracked.string( "never" ),
163  resetBy = cms.untracked.string( "never" ),
164  reportBy = cms.untracked.string( "job" ),
165  HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
166 )
167 
168 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltGctDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
169 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
170 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
171 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
172 
173 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
174 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
175 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
176 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
177 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
178 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
179 
180 
181 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath ))
182 
183 
184 # dummyfy hltGetConditions in cff's
185 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
186  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
187  result = cms.bool( True )
188  )
189  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
190 
191 # add specific customizations
192 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
193 fragment = customizeHLTforAll(fragment,"Fake")
194 
195 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
196 fragment = customizeHLTforCMSSW(fragment,"Fake")
197