test
CMS 3D CMS Logo

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