File indexing completed on 2024-10-16 05:05:30
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process( "HLTFake" )
0008
0009 process.HLTConfigVersion = cms.PSet(
0010 tableName = cms.string("/dev/CMSSW_14_1_0/Fake/V12")
0011 )
0012
0013 process.streams = cms.PSet( A = cms.vstring( 'InitialPD' ) )
0014 process.datasets = cms.PSet( InitialPD = cms.vstring( 'HLT_Physics_v1',
0015 'HLT_Random_v1',
0016 'HLT_ZeroBias_v1' ) )
0017
0018 process.GlobalTag = cms.ESSource( "PoolDBESSource",
0019 DBParameters = cms.PSet(
0020 authenticationPath = cms.untracked.string( "." ),
0021 connectionRetrialTimeOut = cms.untracked.int32( 60 ),
0022 idleConnectionCleanupPeriod = cms.untracked.int32( 10 ),
0023 messageLevel = cms.untracked.int32( 0 ),
0024 enablePoolAutomaticCleanUp = cms.untracked.bool( False ),
0025 enableConnectionSharing = cms.untracked.bool( True ),
0026 enableReadOnlySessionOnUpdateConnection = cms.untracked.bool( False ),
0027 connectionTimeOut = cms.untracked.int32( 0 ),
0028 connectionRetrialPeriod = cms.untracked.int32( 10 )
0029 ),
0030 connect = cms.string( "frontier://FrontierProd/CMS_CONDITIONS" ),
0031 globaltag = cms.string( "GR_H_V39" ),
0032 snapshotTime = cms.string( "" ),
0033 toGet = cms.VPSet(
0034 ),
0035 DumpStat = cms.untracked.bool( False ),
0036 ReconnectEachRun = cms.untracked.bool( True ),
0037 RefreshAlways = cms.untracked.bool( False ),
0038 RefreshEachRun = cms.untracked.bool( True ),
0039 RefreshOpenIOVs = cms.untracked.bool( False )
0040 )
0041
0042 process.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
0043 appendToDataLabel = cms.string( "" )
0044 )
0045 process.HcalTopologyIdealEP = cms.ESProducer( "HcalTopologyIdealEP",
0046 Exclude = cms.untracked.string( "" ),
0047 MergePosition = cms.untracked.bool( True ),
0048 appendToDataLabel = cms.string( "" )
0049 )
0050 process.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
0051 appendToDataLabel = cms.string( "" )
0052 )
0053 process.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
0054 appendToDataLabel = cms.string( "" )
0055 )
0056
0057 process.FastTimerService = cms.Service( "FastTimerService",
0058 printEventSummary = cms.untracked.bool( False ),
0059 printRunSummary = cms.untracked.bool( True ),
0060 printJobSummary = cms.untracked.bool( True ),
0061 writeJSONSummary = cms.untracked.bool( False ),
0062 jsonFileName = cms.untracked.string( "resources.json" ),
0063 enableDQM = cms.untracked.bool( True ),
0064 enableDQMbyModule = cms.untracked.bool( False ),
0065 enableDQMbyPath = cms.untracked.bool( False ),
0066 enableDQMbyLumiSection = cms.untracked.bool( True ),
0067 enableDQMbyProcesses = cms.untracked.bool( True ),
0068 enableDQMTransitions = cms.untracked.bool( False ),
0069 dqmTimeRange = cms.untracked.double( 1000.0 ),
0070 dqmTimeResolution = cms.untracked.double( 5.0 ),
0071 dqmMemoryRange = cms.untracked.double( 1000000.0 ),
0072 dqmMemoryResolution = cms.untracked.double( 5000.0 ),
0073 dqmPathTimeRange = cms.untracked.double( 100.0 ),
0074 dqmPathTimeResolution = cms.untracked.double( 0.5 ),
0075 dqmPathMemoryRange = cms.untracked.double( 1000000.0 ),
0076 dqmPathMemoryResolution = cms.untracked.double( 5000.0 ),
0077 dqmModuleTimeRange = cms.untracked.double( 40.0 ),
0078 dqmModuleTimeResolution = cms.untracked.double( 0.2 ),
0079 dqmModuleMemoryRange = cms.untracked.double( 100000.0 ),
0080 dqmModuleMemoryResolution = cms.untracked.double( 500.0 ),
0081 dqmLumiSectionsRange = cms.untracked.uint32( 2500 ),
0082 dqmPath = cms.untracked.string( "HLT/TimerService" ),
0083 )
0084 process.MessageLogger = cms.Service( "MessageLogger",
0085 suppressWarning = cms.untracked.vstring( 'hltOnlineBeamSpot',
0086 'hltCtf3HitL1SeededWithMaterialTracks',
0087 'hltL3MuonsOIState',
0088 'hltPixelTracksForHighMult',
0089 'hltHITPixelTracksHE',
0090 'hltHITPixelTracksHB',
0091 'hltCtfL1SeededWithMaterialTracks',
0092 'hltRegionalTracksForL3MuonIsolation',
0093 'hltSiPixelClusters',
0094 'hltActivityStartUpElectronPixelSeeds',
0095 'hltLightPFTracks',
0096 'hltPixelVertices3DbbPhi',
0097 'hltL3MuonsIOHit',
0098 'hltPixelTracks',
0099 'hltSiPixelDigis',
0100 'hltL3MuonsOIHit',
0101 'hltL1SeededElectronGsfTracks',
0102 'hltL1SeededStartUpElectronPixelSeeds',
0103 'hltBLifetimeRegionalCtfWithMaterialTracksbbPhiL1FastJetFastPV',
0104 'hltCtfActivityWithMaterialTracks' ),
0105 suppressFwkInfo = cms.untracked.vstring( ),
0106 suppressInfo = cms.untracked.vstring( ),
0107 suppressDebug = cms.untracked.vstring( ),
0108 debugModules = cms.untracked.vstring( ),
0109 cerr = cms.untracked.PSet(
0110 INFO = cms.untracked.PSet( limit = cms.untracked.int32( 0 ) ),
0111 noTimeStamps = cms.untracked.bool( False ),
0112 FwkReport = cms.untracked.PSet(
0113 reportEvery = cms.untracked.int32( 1 ),
0114 limit = cms.untracked.int32( 0 )
0115 ),
0116 default = cms.untracked.PSet( limit = cms.untracked.int32( 10000000 ) ),
0117 Root_NoDictionary = cms.untracked.PSet( limit = cms.untracked.int32( 0 ) ),
0118 FwkJob = cms.untracked.PSet( limit = cms.untracked.int32( 0 ) ),
0119 FwkSummary = cms.untracked.PSet(
0120 reportEvery = cms.untracked.int32( 1 ),
0121 limit = cms.untracked.int32( 10000000 )
0122 ),
0123 threshold = cms.untracked.string( "INFO" ),
0124 ),
0125 suppressError = cms.untracked.vstring( 'hltOnlineBeamSpot',
0126 'hltL3MuonCandidates',
0127 'hltL3TkTracksFromL2OIState',
0128 'hltPFJetCtfWithMaterialTracks',
0129 'hltL3TkTracksFromL2IOHit',
0130 'hltL3TkTracksFromL2OIHit' )
0131 )
0132
0133 process.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
0134 verbose = cms.untracked.bool( False ),
0135 toGet = cms.VPSet(
0136 )
0137 )
0138 process.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
0139 RawDataCollection = cms.InputTag( "rawDataCollector" )
0140 )
0141 process.hltBoolFalse = cms.EDFilter( "HLTBool",
0142 result = cms.bool( False )
0143 )
0144 process.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
0145 SelectedTriggerType = cms.int32( 1 )
0146 )
0147 process.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
0148 DaqGtInputTag = cms.InputTag( "rawDataCollector" ),
0149 DaqGtFedId = cms.untracked.int32( 813 ),
0150 ActiveBoardsMask = cms.uint32( 0xffff ),
0151 UnpackBxInEvent = cms.int32( 5 ),
0152 Verbosity = cms.untracked.int32( 0 )
0153 )
0154 process.hltGctDigis = cms.EDProducer( "GctRawToDigi",
0155 unpackSharedRegions = cms.bool( False ),
0156 numberOfGctSamplesToUnpack = cms.uint32( 1 ),
0157 numberOfRctSamplesToUnpack = cms.uint32( 1 ),
0158 hltMode = cms.bool( True ),
0159 inputLabel = cms.InputTag( "rawDataCollector" ),
0160 unpackerVersion = cms.uint32( 0 ),
0161 gctFedId = cms.untracked.int32( 745 ),
0162 checkHeaders = cms.untracked.bool( False ),
0163 verbose = cms.untracked.bool( False )
0164 )
0165 process.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
0166 GmtInputTag = cms.InputTag( "hltGtDigis" ),
0167 GctInputTag = cms.InputTag( "hltGctDigis" ),
0168 CastorInputTag = cms.InputTag( "castorL1Digis" ),
0169 TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
0170 ProduceL1GtDaqRecord = cms.bool( False ),
0171 ProduceL1GtEvmRecord = cms.bool( False ),
0172 ProduceL1GtObjectMapRecord = cms.bool( True ),
0173 WritePsbL1GtDaqRecord = cms.bool( False ),
0174 ReadTechnicalTriggerRecords = cms.bool( True ),
0175 EmulateBxInEvent = cms.int32( 1 ),
0176 RecordLength = cms.vint32( 3, 0 ),
0177 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
0178 AlternativeNrBxBoardEvm = cms.uint32( 0 ),
0179 BstLengthBytes = cms.int32( -1 ),
0180 AlgorithmTriggersUnprescaled = cms.bool( True ),
0181 AlgorithmTriggersUnmasked = cms.bool( False ),
0182 TechnicalTriggersUnprescaled = cms.bool( True ),
0183 TechnicalTriggersUnmasked = cms.bool( False ),
0184 TechnicalTriggersVetoUnmasked = cms.bool( True )
0185 )
0186 process.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
0187 muonSource = cms.InputTag( "hltGtDigis" ),
0188 etTotalSource = cms.InputTag( "hltGctDigis" ),
0189 nonIsolatedEmSource = cms.InputTag( 'hltGctDigis','nonIsoEm' ),
0190 etMissSource = cms.InputTag( "hltGctDigis" ),
0191 htMissSource = cms.InputTag( "hltGctDigis" ),
0192 produceMuonParticles = cms.bool( True ),
0193 forwardJetSource = cms.InputTag( 'hltGctDigis','forJets' ),
0194 centralJetSource = cms.InputTag( 'hltGctDigis','cenJets' ),
0195 produceCaloParticles = cms.bool( True ),
0196 tauJetSource = cms.InputTag( 'hltGctDigis','tauJets' ),
0197 isoTauJetSource = cms.InputTag( 'hltGctDigis','isoTauJets' ),
0198 isolatedEmSource = cms.InputTag( 'hltGctDigis','isoEm' ),
0199 etHadSource = cms.InputTag( "hltGctDigis" ),
0200 hfRingEtSumsSource = cms.InputTag( "hltGctDigis" ),
0201 hfRingBitCountsSource = cms.InputTag( "hltGctDigis" ),
0202 centralBxOnly = cms.bool( True ),
0203 ignoreHtMiss = cms.bool( False )
0204 )
0205 process.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0206 scalersInputTag = cms.InputTag( "rawDataCollector" )
0207 )
0208 process.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
0209 changeToCMSCoordinates = cms.bool( False ),
0210 maxZ = cms.double( 40.0 ),
0211 setSigmaZ = cms.double( 0.0 ),
0212 beamMode = cms.untracked.uint32( 11 ),
0213 src = cms.InputTag( "hltScalersRawToDigi" ),
0214 gtEvmLabel = cms.InputTag( "" ),
0215 maxRadius = cms.double( 2.0 ),
0216 useTransientRecord = cms.bool( False )
0217 )
0218 process.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
0219 offset = cms.uint32( 0 ),
0220 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0221 )
0222 process.hltBoolEnd = cms.EDFilter( "HLTBool",
0223 result = cms.bool( True )
0224 )
0225 process.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
0226 SelectedTriggerType = cms.int32( 3 )
0227 )
0228 process.hltPreRandom = cms.EDFilter( "HLTPrescaler",
0229 offset = cms.uint32( 0 ),
0230 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0231 )
0232 process.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
0233 saveTags = cms.bool( True ),
0234 L1UseL1TriggerObjectMaps = cms.bool( True ),
0235 L1NrBxInEvent = cms.int32( 3 ),
0236 L1TechTriggerSeeding = cms.bool( False ),
0237 L1UseAliasesForSeeding = cms.bool( True ),
0238 L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
0239 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
0240 L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
0241 L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
0242 L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
0243 )
0244 process.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
0245 offset = cms.uint32( 0 ),
0246 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0247 )
0248 process.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
0249 inputTag = cms.InputTag( "rawDataCollector" ),
0250 fedList = cms.vuint32( 1023 )
0251 )
0252 process.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
0253 throw = cms.bool( False ),
0254 processName = cms.string( "@" ),
0255 moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
0256 moduleLabelPatternsToSkip = cms.vstring( )
0257 )
0258 process.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
0259 processName = cms.string( "@" )
0260 )
0261 process.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
0262 offset = cms.uint32( 0 ),
0263 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0264 )
0265 process.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
0266 UseL1GlobalTriggerRecord = cms.bool( False ),
0267 L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ),
0268 PrintVerbosity = cms.untracked.int32( 10 ),
0269 PrintOutput = cms.untracked.int32( 3 )
0270 )
0271 process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0272 HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
0273 reportBy = cms.untracked.string( "job" ),
0274 resetBy = cms.untracked.string( "never" ),
0275 serviceBy = cms.untracked.string( "never" ),
0276 ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
0277 ReferenceRate = cms.untracked.double( 100.0 )
0278 )
0279 process.hltPreAOutput = cms.EDFilter( "HLTPrescaler",
0280 offset = cms.uint32( 0 ),
0281 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0282 )
0283
0284 process.hltOutputA = cms.OutputModule( "PoolOutputModule",
0285 fileName = cms.untracked.string( "outputA.root" ),
0286 compressionAlgorithm = cms.untracked.string( "ZSTD" ),
0287 compressionLevel = cms.untracked.int32( 3 ),
0288 fastCloning = cms.untracked.bool( False ),
0289 dataset = cms.untracked.PSet(
0290 filterName = cms.untracked.string( "" ),
0291 dataTier = cms.untracked.string( "RAW" )
0292 ),
0293 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( 'HLT_Physics_v1',
0294 'HLT_Random_v1',
0295 'HLT_ZeroBias_v1' ) ),
0296 outputCommands = cms.untracked.vstring( 'drop *',
0297 'keep *_hltL1GtObjectMap_*_*',
0298 'keep FEDRawDataCollection_rawDataCollector_*_*',
0299 'keep FEDRawDataCollection_source_*_*',
0300 'keep edmTriggerResults_*_*_*',
0301 'keep triggerTriggerEvent_*_*_*' )
0302 )
0303
0304 process.HLTL1UnpackerSequence = cms.Sequence( process.hltGtDigis + process.hltGctDigis + process.hltL1GtObjectMap + process.hltL1extraParticles )
0305 process.HLTBeamSpot = cms.Sequence( process.hltScalersRawToDigi + process.hltOnlineBeamSpot )
0306 process.HLTBeginSequence = cms.Sequence( process.hltTriggerType + process.HLTL1UnpackerSequence + process.HLTBeamSpot )
0307 process.HLTEndSequence = cms.Sequence( process.hltBoolEnd )
0308
0309 process.HLTriggerFirstPath = cms.Path( process.hltGetConditions + process.hltGetRaw + process.hltBoolFalse )
0310 process.HLT_Physics_v1 = cms.Path( process.HLTBeginSequence + process.hltPrePhysics + process.HLTEndSequence )
0311 process.HLT_Random_v1 = cms.Path( process.hltRandomEventsFilter + process.hltGtDigis + process.hltPreRandom + process.HLTEndSequence )
0312 process.HLT_ZeroBias_v1 = cms.Path( process.HLTBeginSequence + process.hltL1sL1ZeroBias + process.hltPreZeroBias + process.HLTEndSequence )
0313 process.HLTriggerFinalPath = cms.Path( process.hltGtDigis + process.hltScalersRawToDigi + process.hltFEDSelector + process.hltTriggerSummaryAOD + process.hltTriggerSummaryRAW + process.hltBoolFalse )
0314 process.HLTAnalyzerEndpath = cms.EndPath( process.hltGtDigis + process.hltPreHLTAnalyzerEndpath + process.hltL1GtTrigReport + process.hltTrigReport )
0315 process.AOutput = cms.EndPath( process.hltPreAOutput + process.hltOutputA )
0316
0317
0318 process.load( "DQMServices.Core.DQMStore_cfi" )
0319
0320 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0321 fileName = cms.untracked.string("DQMIO.root")
0322 )
0323
0324 process.DQMOutput = cms.FinalPath( process.dqmOutput )
0325
0326
0327
0328 process.schedule = cms.Schedule( *(process.HLTriggerFirstPath, process.HLT_Physics_v1, process.HLT_Random_v1, process.HLT_ZeroBias_v1, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath, process.AOutput, process.DQMOutput, ))
0329
0330
0331
0332 process.source = cms.Source( "PoolSource",
0333 fileNames = cms.untracked.vstring(
0334 'file:RelVal_Raw_Fake_DATA.root',
0335 ),
0336 inputCommands = cms.untracked.vstring(
0337 'keep *'
0338 )
0339 )
0340
0341
0342 process.maxEvents = cms.untracked.PSet(
0343 input = cms.untracked.int32( 100 )
0344 )
0345
0346
0347 process.options.wantSummary = True
0348 process.options.numberOfThreads = 4
0349 process.options.numberOfStreams = 0
0350
0351
0352 if 'GlobalTag' in process.__dict__:
0353 from Configuration.AlCa.GlobalTag import GlobalTag as customiseGlobalTag
0354 process.GlobalTag = customiseGlobalTag(process.GlobalTag, globaltag = 'auto:run1_hlt_Fake')
0355
0356
0357 if 'MessageLogger' in process.__dict__:
0358 process.MessageLogger.TriggerSummaryProducerAOD = cms.untracked.PSet()
0359 process.MessageLogger.L1GtTrigReport = cms.untracked.PSet()
0360 process.MessageLogger.L1TGlobalSummary = cms.untracked.PSet()
0361 process.MessageLogger.HLTrigReport = cms.untracked.PSet()
0362 process.MessageLogger.FastReport = cms.untracked.PSet()
0363 process.MessageLogger.ThroughputService = cms.untracked.PSet()
0364
0365
0366 _customInfo = {}
0367 _customInfo['menuType' ]= "Fake"
0368 _customInfo['globalTags']= {}
0369 _customInfo['globalTags'][True ] = "auto:run1_hlt_Fake"
0370 _customInfo['globalTags'][False] = "auto:run1_mc_Fake"
0371 _customInfo['inputFiles']={}
0372 _customInfo['inputFiles'][True] = "file:RelVal_Raw_Fake_DATA.root"
0373 _customInfo['inputFiles'][False] = "file:RelVal_Raw_Fake_MC.root"
0374 _customInfo['maxEvents' ]= 100
0375 _customInfo['globalTag' ]= "auto:run1_hlt_Fake"
0376 _customInfo['inputFile' ]= ['file:RelVal_Raw_Fake_DATA.root']
0377 _customInfo['realData' ]= True
0378
0379 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
0380 process = customizeHLTforAll(process,"Fake",_customInfo)
0381
0382 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
0383 process = customizeHLTforCMSSW(process,"Fake")
0384
0385
0386 from HLTrigger.Configuration.Eras import modifyHLTforEras
0387 modifyHLTforEras(process)
0388