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_patch12/src/FastSimulation/Validation/python/TTbar_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/TTbar_cfg.py,v $'),
00034     annotation = cms.untracked.string('RelVal FastSim ttbar')
00035 )
00036 process.ReleaseValidation = cms.untracked.PSet(
00037     eventsPerJob = cms.untracked.uint32(1000),
00038     totalNumberOfEvents = cms.untracked.uint32(25000),
00039     primaryDatasetName = cms.untracked.string('RelValFastSimTTbar')
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(81) = 1 ! qqbar to QQbar', 
00072             'MSUB(82) = 1 ! gg to QQbar', 
00073             'MSTP(7) = 6 ! flavour = top', 
00074             'PMAS(6,1) = 175. ! top quark mass'),
00075         # This is a vector of ParameterSet names to be read, in this order
00076         parameterSets = cms.vstring('pythiaUESettings', 
00077             'processParameters')
00078     )
00079 )
00080 
00081 process.Timing = cms.Service("Timing")
00082 
00083 process.o1 = cms.OutputModule("PoolOutputModule",
00084     process.FEVTSIMEventContent,
00085     dataset = cms.untracked.PSet(
00086         dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
00087     ),
00088     fileName = cms.untracked.string('FEVTWithHLT.root')
00089 )
00090 
00091 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
00092 process.hltEnd = cms.Sequence(process.dummyModule)
00093 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
00094 process.outpath = cms.EndPath(process.o1)
00095 process.famosPileUp.UseTRandomEngine = True
00096 process.famosSimHits.UseTRandomEngine = True
00097 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
00098 process.caloRecHits.UseTRandomEngine = True
00099 process.paramMuons.UseTRandomEngine = True
00100 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
00101 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
00102 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00103 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
00104 process.famosSimHits.SimulateCalorimetry = True
00105 process.famosSimHits.SimulateTracking = True
00106 process.MessageLogger.destinations = ['detailedInfo.txt']
00107