Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-20 02:14:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('gemTester')
0004 
0005 process.load('FWCore.MessageService.MessageLogger_cfi')
0006 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0007 process.load('Configuration.StandardSequences.RawToDigi_cff')
0008 process.load('EventFilter.GEMRawToDigi.GEMPackingTester_cfi')
0009 process.load('Configuration.EventContent.EventContent_cff')
0010 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0011 
0012 process.maxEvents.input = cms.untracked.int32(1000)
0013 
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0016 
0017 process.gemPacker.useDBEMap = False
0018 process.muonGEMDigis.readMultiBX = True
0019 
0020 process.muonGEMDigis.useDBEMap = process.gemPacker.useDBEMap
0021 process.muonGEMDigis.keepDAQStatus = True
0022 
0023 process.GEMPackingTester.gemDigi = cms.InputTag("muonGEMDigis",'','gemTester')
0024 process.GEMPackingTester.readMultiBX = process.muonGEMDigis.readMultiBX
0025 
0026 process.source = cms.Source("PoolSource",                           
0027   fileNames = cms.untracked.vstring('file:/store/relval/CMSSW_11_3_0_pre4/RelValZMM_14/GEN-SIM-RECO/PU_113X_mcRun4_realistic_v4_2026D76PU200-v1/00000/028001e8-5c24-48e7-8162-5da736ad7d38.root'),
0028   #fileNames = cms.untracked.vstring('file:/store/express/Commissioning2021/ExpressCosmics/FEVT/Express-v1/000/342/218/00000/00dede46-dcef-4376-94db-5ee88a3a895e.root'),
0029 )
0030 
0031 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0032     dataset = cms.untracked.PSet(
0033         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0034         filterName = cms.untracked.string('')
0035     ),
0036     fileName = cms.untracked.string('file:muonGEMDigis.root'),
0037     outputCommands = cms.untracked.vstring( ('drop *', 'keep *_muonGEMDigis_*_*', 'keep *_simMuonGEMDigis_*_*')),
0038     splitLevel = cms.untracked.int32(0)
0039 )
0040 process.TFileService = cms.Service('TFileService', fileName = cms.string('gemTester.root') )
0041 process.rawDataCollector.RawCollectionList = cms.VInputTag(cms.InputTag("gemPacker",'','gemTester'))
0042 process.MessageLogger.cerr.threshold = "DEBUG"
0043 process.MessageLogger.debugModules = ["gemPacker", "muonGEMDigis"]
0044 
0045 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0046 
0047 process.p = cms.Path(process.gemPacker+process.rawDataCollector+process.muonGEMDigis+process.GEMPackingTester)
0048 
0049 print('useDBEMap', process.gemPacker.useDBEMap, process.muonGEMDigis.useDBEMap)
0050 print('readMultiBX', process.muonGEMDigis.readMultiBX)