CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MixingModule_cfi.py
Go to the documentation of this file.
2 
3 # from Configuration/Applications/data/DIGI-RECO.cfg
4 mix = cms.EDFilter("MixingModule",
5  # secsource input = PoolRASource
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/PoolRASource, 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  # for example, PythiaSource, 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