CMS 3D CMS Logo

MinBias_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # Work-around because of a bug in HLT 
00004 # Reconstruction sequence
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 process = cms.Process("HLT")
00008 process.load("Configuration.Generator.PythiaUESettings_cfi")
00009 
00010 # Famos sequences (With HLT)
00011 process.load("FastSimulation.Configuration.CommonInputsFake_cff")
00012 
00013 process.load("FastSimulation.Configuration.FamosSequences_cff")
00014 
00015 # L1 Emulator and HLT Setup
00016 process.load("FastSimulation.HighLevelTrigger.common.HLTSetup_cff")
00017 
00018 process.load("PhysicsTools.HepMCCandAlgos.genEventWeight_cfi")
00019 
00020 process.load("PhysicsTools.HepMCCandAlgos.genEventScale_cfi")
00021 
00022 # HLT paths
00023 process.load("HLTrigger.Configuration.main.HLTpaths_cff")
00024 
00025 # To write out events 
00026 process.load("FastSimulation.Configuration.EventContent_cff")
00027 
00028 # Keep the logging output to a nice level #
00029 process.load("FWCore.MessageService.MessageLogger_cfi")
00030 
00031 process.configurationMetadata = cms.untracked.PSet(
00032     version = cms.untracked.string('$Revision: 1.2 $'),
00033     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/FastSimulation/Validation/python/MinBias_cfg.py,v $'),
00034     annotation = cms.untracked.string('RelVal FastSim MinBias')
00035 )
00036 process.ReleaseValidation = cms.untracked.PSet(
00037     eventsPerJob = cms.untracked.uint32(1000),
00038     totalNumberOfEvents = cms.untracked.uint32(25000),
00039     primaryDatasetName = cms.untracked.string('RelValFastSimMinBias')
00040 )
00041 process.maxEvents = cms.untracked.PSet(
00042     input = cms.untracked.int32(10)
00043 )
00044 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
00045     # This is to initialize the random engines of Famos
00046     moduleSeeds = cms.PSet(
00047         l1ParamMuons = cms.untracked.uint32(54525),
00048         caloRecHits = cms.untracked.uint32(654321),
00049         MuonSimHits = cms.untracked.uint32(97531),
00050         muonCSCDigis = cms.untracked.uint32(525432),
00051         muonDTDigis = cms.untracked.uint32(67673876),
00052         famosSimHits = cms.untracked.uint32(13579),
00053         paramMuons = cms.untracked.uint32(54525),
00054         famosPileUp = cms.untracked.uint32(918273),
00055         VtxSmeared = cms.untracked.uint32(123456789),
00056         muonRPCDigis = cms.untracked.uint32(524964),
00057         siTrackerGaussianSmearingRecHits = cms.untracked.uint32(24680)
00058     ),
00059     # This is to initialize the random engine of the source
00060     sourceSeed = cms.untracked.uint32(123456789)
00061 )
00062 
00063 process.source = cms.Source("PythiaSource",
00064     pythiaHepMCVerbosity = cms.untracked.bool(False),
00065     maxEventsToPrint = cms.untracked.int32(0),
00066     pythiaPylistVerbosity = cms.untracked.int32(0),
00067     filterEfficiency = cms.untracked.double(1.0),
00068     PythiaParameters = cms.PSet(
00069         process.pythiaUESettingsBlock,
00070         processParameters = cms.vstring('MSEL=0 ! User defined processes', 
00071             'MSUB(11)=1 ! Min bias process', 
00072             'MSUB(12)=1 ! Min bias process', 
00073             'MSUB(13)=1 ! Min bias process', 
00074             'MSUB(28)=1 ! Min bias process', 
00075             'MSUB(53)=1 ! Min bias process', 
00076             'MSUB(68)=1 ! Min bias process', 
00077             'MSUB(92)=1 ! Min bias process, single diffractive', 
00078             'MSUB(93)=1 ! Min bias process, single diffractive', 
00079             'MSUB(94)=1 ! Min bias process, double diffractive', 
00080             'MSUB(95)=1 ! Min bias process'),
00081         # This is a vector of ParameterSet names to be read, in this order
00082         parameterSets = cms.vstring('pythiaUESettings', 
00083             'processParameters')
00084     )
00085 )
00086 
00087 process.Timing = cms.Service("Timing")
00088 
00089 process.o1 = cms.OutputModule("PoolOutputModule",
00090     process.FEVTSIMEventContent,
00091     dataset = cms.untracked.PSet(
00092         dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
00093     ),
00094     fileName = cms.untracked.string('FEVTWithHLT.root')
00095 )
00096 
00097 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
00098 process.hltEnd = cms.Sequence(process.dummyModule)
00099 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
00100 process.outpath = cms.EndPath(process.o1)
00101 process.famosPileUp.UseTRandomEngine = True
00102 process.famosSimHits.UseTRandomEngine = True
00103 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
00104 process.caloRecHits.UseTRandomEngine = True
00105 process.paramMuons.UseTRandomEngine = True
00106 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
00107 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
00108 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00109 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
00110 process.famosSimHits.SimulateCalorimetry = True
00111 process.famosSimHits.SimulateTracking = True
00112 process.messageLogger.destinations = ['detailedInfo.txt']
00113 

Generated on Tue Jun 9 17:35:18 2009 for CMSSW by  doxygen 1.5.4