CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/FastSimulation/Configuration/python/RandomServiceInitialization_cff.py

Go to the documentation of this file.
00001 # This FastSim-specific configuration is not needed anymore; this will be soon deprecated, please replace it with:
00002 # process.load("IOMC.RandomEngine.IOMC_cff")
00003 
00004 
00005 # Set random seeds. 
00006 
00007 import FWCore.ParameterSet.Config as cms
00008 
00009 RandomNumberGeneratorService = cms.Service(
00010 
00011     "RandomNumberGeneratorService",
00012 
00013     # To save the status of the last event (useful for crashes)
00014     # Just give a name to the file you want the status to be saved
00015     # otherwise just put saveFileName = ""
00016     saveFileName = cms.untracked.string(''),
00017 
00018     # To restore the status of the last event, just un-comment the
00019     # following line (and comment the saveFileName line!)
00020     # restoreFileName = cms.string('RandomEngineState.log'),
00021 
00022     # To reproduce events using the RandomEngineStateProducer (source
00023     # excluded), comment the sourceSeed definition, and un-comment 
00024     # the restoreStateLabel
00025     # restoreStateLabel = cms.string('RandomEngineStateProducer'),
00026 
00027     # This is to initialize the random engine of the source
00028     generator = cms.PSet(
00029         initialSeed = cms.untracked.uint32(123456789),
00030         engineName = cms.untracked.string('HepJamesRandom')
00031     ),
00032 
00033     # This is to initialize the random engines used for  Famos
00034     VtxSmeared = cms.PSet(
00035         initialSeed = cms.untracked.uint32(123456789),
00036         engineName = cms.untracked.string('TRandom3')
00037     ),
00038 
00039 
00040     famosPileUp = cms.PSet(
00041         initialSeed = cms.untracked.uint32(918273),
00042         engineName = cms.untracked.string('TRandom3')
00043     ),
00044 
00045     mix = cms.PSet(
00046         initialSeed = cms.untracked.uint32(918273), # intentionally the same as famosPileUp
00047         engineName = cms.untracked.string('TRandom3')
00048     ),
00049 
00050     mixGenPU = cms.PSet(
00051         initialSeed = cms.untracked.uint32(918273), # intentionally the same as famosPileUp
00052         engineName = cms.untracked.string('TRandom3')
00053     ),
00054     
00055 
00056     famosSimHits = cms.PSet(
00057         initialSeed = cms.untracked.uint32(13579),
00058         engineName = cms.untracked.string('TRandom3')
00059     ),
00060 
00061     siTrackerGaussianSmearingRecHits = cms.PSet(
00062         initialSeed = cms.untracked.uint32(24680),
00063         engineName = cms.untracked.string('TRandom3')
00064     ),
00065 
00066     ecalRecHit = cms.PSet(
00067         initialSeed = cms.untracked.uint32(654321),
00068         engineName = cms.untracked.string('TRandom3')
00069     ),
00070 
00071     ecalPreshowerRecHit = cms.PSet(
00072         initialSeed = cms.untracked.uint32(6541321),
00073         engineName = cms.untracked.string('TRandom3')
00074     ),
00075 
00076     hbhereco = cms.PSet(
00077     initialSeed = cms.untracked.uint32(541321),
00078     engineName = cms.untracked.string('TRandom3')
00079     ),
00080 
00081     horeco = cms.PSet(
00082     initialSeed = cms.untracked.uint32(541321),
00083     engineName = cms.untracked.string('TRandom3')
00084     ),
00085 
00086     hfreco = cms.PSet(
00087     initialSeed = cms.untracked.uint32(541321),
00088     engineName = cms.untracked.string('TRandom3')
00089     ),
00090     
00091     paramMuons = cms.PSet(
00092         initialSeed = cms.untracked.uint32(54525),
00093         engineName = cms.untracked.string('TRandom3')
00094     ),
00095 
00096     l1ParamMuons = cms.PSet(
00097         initialSeed = cms.untracked.uint32(6453209),
00098         engineName = cms.untracked.string('TRandom3')
00099     ),
00100 
00101     MuonSimHits = cms.PSet(
00102         initialSeed = cms.untracked.uint32(987346),
00103         engineName = cms.untracked.string('TRandom3')
00104     ),
00105 
00106     simMuonRPCDigis = cms.PSet(
00107         initialSeed = cms.untracked.uint32(524964),
00108         engineName = cms.untracked.string('TRandom3')
00109     ),
00110 
00111     simMuonCSCDigis = cms.PSet(
00112         initialSeed = cms.untracked.uint32(525432),
00113         engineName = cms.untracked.string('TRandom3')
00114     ),
00115 
00116     simMuonDTDigis = cms.PSet(
00117         initialSeed = cms.untracked.uint32(67673876),
00118         engineName = cms.untracked.string('TRandom3')
00119     )
00120 
00121 )
00122 
00123 RandomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")