Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Configuration
StandardSequences
python
Simulation_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# REMINDER : det.simulation need a startup seed;
4
# in your cfg, do NOT forget to give seeds via RandomNumberGeneratorService !!!
5
# Include Configuration/StandardSequences/data/SimulationRandomNumberGeneratorSeeds.cff
6
#
7
# Vertex smearing is exectuted in the pgen sequence
8
# Geant4-based detector simulation
9
# (necessary geometry and mag.field records included)
10
#
11
# It retuns label "g4SimHits" that one places in the path
12
#
13
# Advise : OscarProducer has a config. parameter to control
14
# which HepMCProduct (gen.info) to pickup as event input,
15
# the original or the one with the vertex smearing applied;
16
# the parameter's name is HepMCProductLabel, it belongs to
17
# the PSet Generator, and the default = "generatorSmeared"
18
#
19
from
Configuration.StandardSequences.Sim_cff
import
*
20
#
21
# if you want to skip vertex smearing, you need to reset it:
22
# replace g4SimHits.Generator.HepMCProductLabel = "source"
23
#
24
# several other useful parameters are listed in the WorkBook:
25
# https://twiki.cern.ch/twiki/bin/view/CMS/WorkBookSimDigi
26
#
27
# include TrackingParticle Producer
28
# NOTA BENE: it MUST be run here at the moment, since it depends
29
# of the availability of the CrossingFrame in the Event
30
#
31
# Digitization (electronics response modeling)
32
# (all necessary geometry and other records included in the cff's)
33
#
34
# returns sequence "doAllDigi"
35
#
36
from
Configuration.StandardSequences.Digi_cff
import
*
37
from
SimGeneral.HepPDTESSource.pythiapdt_cfi
import
*
38
simulationTask = cms.Task(psimTask)
39
simulation = cms.Sequence(pdigi, simulationTask)
40
41
pythiapdt_cfi
Digi_cff
Sim_cff
Generated for CMSSW Reference Manual by
1.8.14