CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/IOMC/EventVertexGenerators/python/VtxSmearedBeamProfile_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import *
00004 
00005 # default definition of common parameters
00006 
00007 common_beam_direction_parameters = cms.PSet(
00008     BeamPosition = cms.double(0.),
00009     MinEta = cms.double(0.),
00010     MaxEta = cms.double(1.5),
00011     MinPhi = cms.double(-3.14159265358979323846),
00012     MaxPhi = cms.double(3.14159265358979323846)
00013 )
00014 
00015 #
00016 # this module takes input in the units of *cm* and *radian*!!!
00017 #
00018 
00019 VtxSmeared = cms.EDProducer("BeamProfileVtxGenerator",
00020     common_beam_direction_parameters,
00021     VtxSmearedCommon,
00022     BeamMeanX       = cms.double(0.0),
00023     BeamMeanY       = cms.double(0.0),
00024     BeamSigmaX      = cms.double(0.0001),
00025     BeamSigmaY      = cms.double(0.0001),
00026     Psi             = cms.double(999.9),
00027     GaussianProfile = cms.bool(True),
00028     BinX       = cms.int32(50),
00029     BinY       = cms.int32(50),
00030     File       = cms.string('beam.profile'),
00031     UseFile    = cms.bool(False),
00032     TimeOffset = cms.double(0.)                      
00033 )
00034 
00035 
00036