CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileUpProducer_cff.py
Go to the documentation of this file.
2 
3 # Copied here so python will auto-translate the names
4 # Now beta function vertex smearing
5 #from FastSimulation.Event.Early10TeVCollisionVertexGenerator_cfi import *
6 #from FastSimulation.Event.Realistic7TeV2011CollisionVertexGenerator_cfi import *
7 #from FastSimulation.Event.Realistic8TeVCollisionVertexGenerator_cfi import *
9 
10 # 14 TeV pile-up files
11 #from FastSimulation.PileUpProducer.PileUpSimulator14TeV_cfi import *
12 # 10 TeV pile-up files
13 #from FastSimulation.PileUpProducer.PileUpSimulator10TeV_cfi import *
14 # 7 TeV pile-up files
15 #from FastSimulation.PileUpProducer.PileUpSimulator7TeV_cfi import *
16 # 8 TeV pile-up files
17 #from FastSimulation.PileUpProducer.PileUpSimulator8TeV_cfi import *
18 # Choose according to the beamspot (recommended)
19 if(fastsimPrimaryVertex=='Realistic7TeV2011'):
21 else: # by default, the currently recommended one
23 ###
24 # Gaussian or flat or no primary vertex smearing
25 # include "FastSimulation/Event/data/GaussianVertexGenerator.cfi"
26 # include "FastSimulation/Event/data/FlatVertexGenerator.cfi"
27 # include "FastSimulation/Event/data/NoVertexGenerator.cfi"
28 famosPileUp = cms.EDProducer("PileUpProducer",
29  # The conditions for pile-up event generation
30  PileUpSimulatorBlock,
31  VertexGenerator = cms.PSet(
32  myVertexGenerator
33  )
34 )
35 
36 
if(conf.exists("allCellsPositionCalc"))