common/leftImage.jpg" alt="CMS 3D" align="left" border="0"/> common/rightImage.jpg" alt="CMS Logo" align="right" border="0"/>

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/FastSimulation/Validation/python/WT_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: /local/reps/CMSSW/CMSSW/FastSimulation/Validation/python/Attic/WT_cfg.py,v $'),
00034     annotation = cms.untracked.string('RelVal FastSim W to tau nu')
00035 )
00036 process.ReleaseValidation = cms.untracked.PSet(
00037     eventsPerJob = cms.untracked.uint32(1000),
00038     totalNumberOfEvents = cms.untracked.uint32(25000),
00039     primaryDatasetName = cms.untracked.string('RelValFastSimWT')
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     pythiaPylistVerbosity = cms.untracked.int32(0),
00065     filterEfficiency = cms.untracked.double(1.0),
00066     pythiaHepMCVerbosity = cms.untracked.bool(False),
00067     crossSection = cms.untracked.double(17120.0),
00068     maxEventsToPrint = cms.untracked.int32(0),
00069     PythiaParameters = cms.PSet(
00070         process.pythiaUESettingsBlock,
00071         processParameters = cms.vstring('MSEL = 0 !User defined processes', 
00072             'MSUB(2) = 1 !W production', 
00073             'MDME(190,1) = 0 !W decay into dbar u', 
00074             'MDME(191,1) = 0 !W decay into dbar c', 
00075             'MDME(192,1) = 0 !W decay into dbar t', 
00076             'MDME(194,1) = 0 !W decay into sbar u', 
00077             'MDME(195,1) = 0 !W decay into sbar c', 
00078             'MDME(196,1) = 0 !W decay into sbar t', 
00079             'MDME(198,1) = 0 !W decay into bbar u', 
00080             'MDME(199,1) = 0 !W decay into bbar c', 
00081             'MDME(200,1) = 0 !W decay into bbar t', 
00082             'MDME(205,1) = 0 !W decay into bbar tp', 
00083             'MDME(206,1) = 0 !W decay into e+ nu_e', 
00084             'MDME(207,1) = 0 !W decay into mu+ nu_mu', 
00085             'MDME(208,1) = 1 !W decay into tau+ nu_tau'),
00086         # This is a vector of ParameterSet names to be read, in this order
00087         parameterSets = cms.vstring('pythiaUESettings', 
00088             'processParameters')
00089     )
00090 )
00091 
00092 process.Timing = cms.Service("Timing")
00093 
00094 process.o1 = cms.OutputModule("PoolOutputModule",
00095     process.FEVTSIMEventContent,
00096     dataset = cms.untracked.PSet(
00097         dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
00098     ),
00099     fileName = cms.untracked.string('FEVTWithHLT.root')
00100 )
00101 
00102 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
00103 process.hltEnd = cms.Sequence(process.dummyModule)
00104 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
00105 process.outpath = cms.EndPath(process.o1)
00106 process.famosPileUp.UseTRandomEngine = True
00107 process.famosSimHits.UseTRandomEngine = True
00108 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
00109 process.caloRecHits.UseTRandomEngine = True
00110 process.paramMuons.UseTRandomEngine = True
00111 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
00112 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
00113 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00114 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
00115 process.famosSimHits.SimulateCalorimetry = True
00116 process.famosSimHits.SimulateTracking = True
00117 process.MessageLogger.destinations = ['detailedInfo.txt']
00118