Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # from Configuration/Applications/data/DIGI-RECO.cfg 
0004 mix = cms.EDFilter("MixingModule",
0005     #      secsource input = EmbeddedRootSource
0006     #      {
0007     #
0008     # starting 050, you can skip secsource block at all if you don't
0009     # wnat to model mixing/pileup at all;
0010     # however, an at least "empty mixing" need to be present if you
0011     # want to perform Ecal/Hcal/CSC/DT digitization - those explicitely
0012     # require presence of CrossingFrame in the edm::Event
0013     #
0014     # alternatively, you can set averageNumber=0 if you don't want
0015     # to model the pileup
0016     #
0017     # to the secsource/EmbeddedRootSource, you can give just 1 file or more;
0018     # this files will make a "concatinated buffer", which will go circular
0019     # until the loop of primary events is done - thus, it'll never run out
0020     #
0021     # WARNING: you can only give miltiple files, if they're generated with
0022     #          identical sets of tracked parameters;
0023     #          for example, you canNOT give a file made with a single muon
0024     #          gun and a file made with a single pion gun, because PartID
0025     #          is a *tracked* parameter in the gun's PSet;
0026     #          however, you can merge together files made with other generators,
0027     #          because all parameters of it would be
0028     #          *untracked*
0029     #
0030     #         untracked vstring fileNames =
0031     #         {'file:/afs/cern.ch/cms/geant4rep/genntpl/muon_simhit_for_pileup.060pre1.root' }
0032     #         untracked vstring fileNames =
0033     #         {'file:simevent.root' }
0034     #         string type = "poisson"
0035     #         double averageNumber = 3      # setting this param. to 0 means "No pile-up",
0036     # that is, digitize current crossing only
0037     #         int32 minBunch = -3
0038     #         int32 maxBunch = 5
0039     #         int32 seed = 1234567
0040     #      }
0041     bunchspace = cms.int32(25),
0042     maxBunch = cms.int32(3),
0043     minBunch = cms.int32(-5), ## in terms of 25 ns
0044 
0045     Label = cms.string('')
0046 )
0047 
0048