Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import VtxSmearedCommon
0004 
0005 # default definition of common parameters
0006 
0007 common_beam_direction_parameters = cms.PSet(
0008     BeamPosition = cms.double(0.),
0009     MinEta = cms.double(0.),
0010     MaxEta = cms.double(1.5),
0011     MinPhi = cms.double(-3.14159265358979323846),
0012     MaxPhi = cms.double(3.14159265358979323846)
0013 )
0014 
0015 #
0016 # this module takes input in the units of *cm* and *radian*!!!
0017 #
0018 
0019 VtxSmeared = cms.EDProducer("BeamProfileVtxGenerator",
0020     common_beam_direction_parameters,
0021     VtxSmearedCommon,
0022     BeamMeanX       = cms.double(0.0),
0023     BeamMeanY       = cms.double(0.0),
0024     BeamSigmaX      = cms.double(0.0001),
0025     BeamSigmaY      = cms.double(0.0001),
0026     Psi             = cms.double(999.9),
0027     GaussianProfile = cms.bool(True),
0028     BinX       = cms.int32(50),
0029     BinY       = cms.int32(50),
0030     File       = cms.string('beam.profile'),
0031     UseFile    = cms.bool(False),
0032     TimeOffset = cms.double(0.)                      
0033 )
0034 
0035 
0036