CMS 3D CMS Logo

VtxSmearedBeamProfile_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # default definition of common parameters
6 
7 common_beam_direction_parameters = cms.PSet(
8  BeamPosition = cms.double(0.),
9  MinEta = cms.double(0.),
10  MaxEta = cms.double(1.5),
11  MinPhi = cms.double(-3.14159265358979323846),
12  MaxPhi = cms.double(3.14159265358979323846)
13 )
14 
15 #
16 # this module takes input in the units of *cm* and *radian*!!!
17 #
18 
19 VtxSmeared = cms.EDProducer("BeamProfileVtxGenerator",
20  common_beam_direction_parameters,
21  VtxSmearedCommon,
22  BeamMeanX = cms.double(0.0),
23  BeamMeanY = cms.double(0.0),
24  BeamSigmaX = cms.double(0.0001),
25  BeamSigmaY = cms.double(0.0001),
26  Psi = cms.double(999.9),
27  GaussianProfile = cms.bool(True),
28  BinX = cms.int32(50),
29  BinY = cms.int32(50),
30  File = cms.string('beam.profile'),
31  UseFile = cms.bool(False),
32  TimeOffset = cms.double(0.)
33 )
34 
35 
36 
set to 1 (or greater) for printouts