Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-27 06:46:53

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