CMS 3D CMS Logo

SingleGammaE10_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 # Famos sequences (With HLT)
00009 process.load("FastSimulation.Configuration.CommonInputsFake_cff")
00010 
00011 process.load("FastSimulation.Configuration.FamosSequences_cff")
00012 
00013 # L1 Emulator and HLT Setup
00014 process.load("FastSimulation.HighLevelTrigger.common.HLTSetup_cff")
00015 
00016 process.load("PhysicsTools.HepMCCandAlgos.genEventWeight_cfi")
00017 
00018 process.load("PhysicsTools.HepMCCandAlgos.genEventScale_cfi")
00019 
00020 # HLT paths
00021 process.load("HLTrigger.Configuration.main.HLTpaths_cff")
00022 
00023 # To write out events 
00024 process.load("FastSimulation.Configuration.EventContent_cff")
00025 
00026 # Keep the logging output to a nice level #
00027 process.load("FWCore.MessageService.MessageLogger_cfi")
00028 
00029 process.configurationMetadata = cms.untracked.PSet(
00030     version = cms.untracked.string('$Revision: 1.2 $'),
00031     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/FastSimulation/Validation/python/SingleGammaE10_cfg.py,v $'),
00032     annotation = cms.untracked.string('RelVal FastSim single particle gun photons, E=10 GeV')
00033 )
00034 process.ReleaseValidation = cms.untracked.PSet(
00035     eventsPerJob = cms.untracked.uint32(1000),
00036     totalNumberOfEvents = cms.untracked.uint32(25000),
00037     primaryDatasetName = cms.untracked.string('RelValFastSimSingleGammaE10')
00038 )
00039 process.maxEvents = cms.untracked.PSet(
00040     input = cms.untracked.int32(10)
00041 )
00042 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
00043     # This is to initialize the random engines of Famos
00044     moduleSeeds = cms.PSet(
00045         l1ParamMuons = cms.untracked.uint32(54525),
00046         caloRecHits = cms.untracked.uint32(654321),
00047         MuonSimHits = cms.untracked.uint32(97531),
00048         muonCSCDigis = cms.untracked.uint32(525432),
00049         muonDTDigis = cms.untracked.uint32(67673876),
00050         famosSimHits = cms.untracked.uint32(13579),
00051         paramMuons = cms.untracked.uint32(54525),
00052         famosPileUp = cms.untracked.uint32(918273),
00053         VtxSmeared = cms.untracked.uint32(123456789),
00054         muonRPCDigis = cms.untracked.uint32(524964),
00055         siTrackerGaussianSmearingRecHits = cms.untracked.uint32(24680)
00056     ),
00057     # This is to initialize the random engine of the source
00058     sourceSeed = cms.untracked.uint32(123456789)
00059 )
00060 
00061 process.source = cms.Source("FlatRandomEGunSource",
00062     PGunParameters = cms.untracked.PSet(
00063         PartID = cms.untracked.vint32(22),
00064         MaxEta = cms.untracked.double(2.5),
00065         MaxPhi = cms.untracked.double(3.14159265359),
00066         MinEta = cms.untracked.double(-2.5),
00067         MinE = cms.untracked.double(9.999),
00068         MinPhi = cms.untracked.double(-3.14159265359), ## in radians
00069 
00070         MaxE = cms.untracked.double(10.001)
00071     ),
00072     Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
00073 
00074     psethack = cms.string('single gamma E=10'),
00075     firstRun = cms.untracked.uint32(1)
00076 )
00077 
00078 process.Timing = cms.Service("Timing")
00079 
00080 process.o1 = cms.OutputModule("PoolOutputModule",
00081     process.FEVTSIMEventContent,
00082     dataset = cms.untracked.PSet(
00083         dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
00084     ),
00085     fileName = cms.untracked.string('FEVTWithHLT.root')
00086 )
00087 
00088 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
00089 process.hltEnd = cms.Sequence(process.dummyModule)
00090 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
00091 process.outpath = cms.EndPath(process.o1)
00092 process.famosPileUp.UseTRandomEngine = True
00093 process.famosSimHits.UseTRandomEngine = True
00094 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
00095 process.caloRecHits.UseTRandomEngine = True
00096 process.paramMuons.UseTRandomEngine = True
00097 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
00098 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
00099 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00100 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
00101 process.famosSimHits.SimulateCalorimetry = True
00102 process.famosSimHits.SimulateTracking = True
00103 process.messageLogger.destinations = ['detailedInfo.txt']
00104 

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