Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DQM
SiStripMonitorCluster
python
MixingModule_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# from Configuration/Applications/data/DIGI-RECO.cfg
4
mix = cms.EDFilter(
"MixingModule"
,
5
# secsource input = EmbeddedRootSource
6
# {
7
#
8
# starting 050, you can skip secsource block at all if you don't
9
# wnat to model mixing/pileup at all;
10
# however, an at least "empty mixing" need to be present if you
11
# want to perform Ecal/Hcal/CSC/DT digitization - those explicitely
12
# require presence of CrossingFrame in the edm::Event
13
#
14
# alternatively, you can set averageNumber=0 if you don't want
15
# to model the pileup
16
#
17
# to the secsource/EmbeddedRootSource, you can give just 1 file or more;
18
# this files will make a "concatinated buffer", which will go circular
19
# until the loop of primary events is done - thus, it'll never run out
20
#
21
# WARNING: you can only give miltiple files, if they're generated with
22
# identical sets of tracked parameters;
23
# for example, you canNOT give a file made with a single muon
24
# gun and a file made with a single pion gun, because PartID
25
# is a *tracked* parameter in the gun's PSet;
26
# however, you can merge together files made with other generators,
27
# because all parameters of it would be
28
# *untracked*
29
#
30
# untracked vstring fileNames =
31
# {'file:/afs/cern.ch/cms/geant4rep/genntpl/muon_simhit_for_pileup.060pre1.root' }
32
# untracked vstring fileNames =
33
# {'file:simevent.root' }
34
# string type = "poisson"
35
# double averageNumber = 3 # setting this param. to 0 means "No pile-up",
36
# that is, digitize current crossing only
37
# int32 minBunch = -3
38
# int32 maxBunch = 5
39
# int32 seed = 1234567
40
# }
41
bunchspace = cms.int32(25),
42
maxBunch = cms.int32(3),
43
minBunch = cms.int32(-5),
## in terms of 25 ns
44
45
Label = cms.string(
''
)
46
)
47
48
Generated for CMSSW Reference Manual by
1.8.5