CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/FastSimulation/EventProducer/python/FamosSimHits_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Here so that python translator can see the names
00004 # Now beta function vertex smearing 
00005 #from FastSimulation.Event.Early10TeVCollisionVertexGenerator_cfi import *
00006 from FastSimulation.Event.Realistic7TeV2011CollisionVertexGenerator_cfi import *
00007 from FastSimulation.Event.ParticleFilter_cfi import *
00008 from FastSimulation.MaterialEffects.MaterialEffects_cfi import *
00009 from FastSimulation.TrajectoryManager.ActivateDecays_cfi import *
00010 from FastSimulation.TrajectoryManager.TrackerSimHits_cfi import *
00011 from FastSimulation.Calorimetry.Calorimetry_cff import *
00012 famosSimHits = cms.EDProducer("FamosProducer",
00013     # FastCalorimetry
00014     FamosCalorimetryBlock,
00015     # Conditions to save Tracker SimHits 
00016     TrackerSimHitsBlock,
00017     # Material effects to be simulated in the tracker material and associated cuts
00018     MaterialEffectsBlock,
00019     # Material effects for muons in ECAL
00020     MaterialEffectsForMuonsInECALBlock,
00021     # Material effects for muons in HCAL
00022     MaterialEffectsForMuonsInHCALBlock,
00023     # (De)activate decays of unstable particles (K0S, etc...)
00024     ActivateDecaysBlock,
00025     # Kinematic cuts for the particle filter in the SimEvent
00026     ParticleFilterBlock,
00027     # The HepMCProduct source
00028     SourceLabel = cms.InputTag("generator"),
00029     # The genParticle source (in case there is no HepMCProduct)
00030     GenParticleLabel = cms.InputTag("genParticles"),
00031     # If false, no SimTrack collection for Muons is stored
00032     SimulateMuons = cms.bool(True),
00033     # The beam spot source
00034     BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
00035     # Run Number
00036     RunNumber = cms.untracked.int32(1001),
00037     Verbosity = cms.untracked.int32(0),
00038     # If false, no misalignment can be applied in the tracker
00039     ApplyAlignment = cms.bool(False),
00040     # If false, no SimHits are simulated in the tracker
00041     # (but the tracker material is still here)
00042     SimulateTracking = cms.bool(True),
00043     # If false, no PCaloHits are produced
00044     SimulateCalorimetry = cms.bool(True),
00045     # If the following is false, no B field map is used, 
00046     # and B is set to 4 T altogether
00047     UseMagneticField = cms.bool(True),
00048     # The primary vertex smearing 
00049     VertexGenerator = cms.PSet(
00050         myVertexGenerator
00051     )
00052 )
00053 
00054