CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/FastSimulation/Configuration/python/CommonInputs_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
00004 
00005 # Primary vertex smearing.
00006 from IOMC.EventVertexGenerators.VtxSmearedGauss_cfi import *
00007 fastsimPrimaryVertex = 'Realistic8TeV2012' # this is the single place in FastSim where the beamspot scenario is chosen; this choice is propagated to famosSimHits and famosPileUp; in the future, more modularity will be possible when the famosPileUp module will be deprecated
00008 if(fastsimPrimaryVertex=='Realistic8TeV'):
00009     from FastSimulation.Event.Realistic8TeVCollisionVertexGenerator_cfi import *
00010 elif(fastsimPrimaryVertex=='Realistic8TeV2012'):
00011     from FastSimulation.Event.Realistic8TeV2012CollisionVertexGenerator_cfi import *
00012 elif(fastsimPrimaryVertex=='Realistic7TeV2011'):
00013     from FastSimulation.Event.Realistic7TeV2011CollisionVertexGenerator_cfi import *
00014 else: # by default, the currently recommended one
00015     from FastSimulation.Event.Realistic8TeV2012CollisionVertexGenerator_cfi import *
00016 
00017 # The Geometries
00018 #from FastSimulation.Configuration.Geometries_cff import *
00019 
00020 #The Magnetic Field ESProducer's
00021 from FastSimulation.ParticlePropagator.MagneticFieldMapESProducer_cfi import *
00022 
00023 # The muon tracker trajectory, to be fit without rechit refit
00024 from RecoMuon.GlobalTrackingTools.GlobalTrajectoryBuilderCommon_cff import GlobalTrajectoryBuilderCommon
00025 GlobalTrajectoryBuilderCommon.TrackerRecHitBuilder = 'WithoutRefit'
00026 GlobalTrajectoryBuilderCommon.TrackTransformer.TrackerRecHitBuilder = 'WithoutRefit'
00027 
00028 # ECAL severity
00029 from RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi import *
00030 
00031 # CaloMode is defined here
00032 # 0: custom local reco bypassing digis, ECAL and HCAL; default before 61x
00033 # 1: as 0, but full digi + std local reco in ECAL <---- DEFAULT
00034 # 2: as 0, but full digi + std local reco in HCAL
00035 # 3: full digi + std local reco in ECAL and HCAL; planned to become default soon
00036 
00037 CaloMode = 3
00038 
00039 # This flag is to switch between GEN-level and SIM/RECO-level pileup mixing
00040 # 1: GEN-level <---- DEFAULT
00041 # 2: SIM/RECO-level; to be used only if CaloMode==3
00042 
00043 MixingMode = 1