Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2_cff import Phase2
0004 process = cms.Process("ME0TPEmulator", Phase2)
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007   input = cms.untracked.int32(10)
0008 )
0009 
0010 
0011 process.source = cms.Source("PoolSource",
0012      fileNames = cms.untracked.vstring(
0013          'file:ME0_step3.root'
0014      )
0015 )
0016 
0017 # For LogTrace to take an effect, compile using
0018 # > scram b -j8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
0019 process.MessageLogger = cms.Service("MessageLogger",
0020     destinations = cms.untracked.vstring("debug"),
0021     debug = cms.untracked.PSet(
0022         extension = cms.untracked.string(".txt"),
0023         threshold = cms.untracked.string("DEBUG"),
0024         # threshold = cms.untracked.string("WARNING"),
0025         lineLength = cms.untracked.int32(132),
0026         noLineBreaks = cms.untracked.bool(True)
0027     ),
0028     debugModules = cms.untracked.vstring("me0TriggerPseudoDigis")
0029 )
0030 
0031 # es_source of ideal geometry
0032 # ===========================
0033 #process.load("Configuration/StandardSequences/GeometryDB_cff")
0034 process.load('Configuration.Geometry.GeometryExtended2023D22Reco_cff')
0035 process.load('Configuration.StandardSequences.MagneticField_cff')
0036 #process.load('Configuration.StandardSequences.EndOfProcess_cff')
0037 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0038 from Configuration.AlCa.GlobalTag import GlobalTag
0039 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0040 
0041 process.load('L1Trigger.L1TGEM.me0TriggerConvertedPseudoDigis_cfi')
0042 process.me0TriggerConvertedPseudoDigis.info = 3
0043 
0044 
0045 # ======
0046 process.output = cms.OutputModule("PoolOutputModule",
0047     fileName = cms.untracked.string("ME0L1Digi.root"),
0048     outputCommands = cms.untracked.vstring("keep *",
0049         "drop *_DaqSource_*_*")
0050 )
0051 
0052 
0053 # Scheduler path
0054 # ==============
0055 process.p = cms.Path(process.me0TriggerConvertedPseudoDigis)
0056 process.out = cms.EndPath(process.output)