Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 process = cms.Process("PRODMIX")
0005 process.load("SimGeneral.DataMixingModule.mixOne_data_on_data_cfi")
0006 
0007 process.load("Configuration.EventContent.EventContent_cff")
0008 
0009 #process.load("Configuration.StandardSequences.FakeConditions_cff")
0010 
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0013 process.GlobalTag.globaltag = "CRUZET4_V4P::All"
0014 process.prefer("GlobalTag")
0015 
0016 # Magnetic field: force mag field to be 0 tesla
0017 process.load("Configuration.StandardSequences.MagneticField_0T_cff")
0018 
0019 #Geometry
0020 process.load("Configuration.StandardSequences.GeometryPilot2_cff")
0021 
0022 # Real data raw to digi
0023 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0024 
0025 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0026 
0027 process.MessageLogger = cms.Service("MessageLogger",
0028      destinations = cms.untracked.vstring('cout'),
0029      cout = cms.untracked.PSet( threshold = cms.untracked.string("DEBUG") ),
0030      debugModules = cms.untracked.vstring('DataMixingModule')
0031 )
0032 
0033 
0034 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0035     moduleSeeds = cms.PSet(
0036         mix = cms.untracked.uint32(12345)
0037     )
0038 )
0039 
0040 process.Tracer = cms.Service("Tracer",
0041     indention = cms.untracked.string('$$')
0042 )
0043 
0044 process.source = cms.Source("PoolSource",
0045     #fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_8/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V7_v1/0003/0A0241FB-9182-DD11-98E1-001617E30D40.root')
0046         fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/m/mikeh/cms/promptreco.root')
0047 )
0048 
0049 process.maxEvents = cms.untracked.PSet(
0050     input = cms.untracked.int32(3)
0051 )
0052 process.FEVT = cms.OutputModule("PoolOutputModule",
0053     outputCommands = cms.untracked.vstring('keep *'),
0054     fileName = cms.untracked.string('file:MixTest.root')
0055 )
0056 
0057 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0058 
0059 process.p = cms.Path(process.mix+process.dump)
0060 process.outpath = cms.EndPath(process.FEVT)
0061 process.schedule = cms.Schedule(process.p,process.outpath)
0062 
0063 
0064