Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:25

0001 import FWCore.ParameterSet.Config as cms
0002 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import *
0003 
0004 mixSimHits = cms.PSet(
0005     input = cms.VInputTag(),
0006     type = cms.string('PSimHit'),
0007     crossingFrames = cms.untracked.vstring(),
0008     subdets = cms.vstring()
0009 )
0010 mixCaloHits = cms.PSet(
0011     input = cms.VInputTag(
0012         cms.InputTag("g4SimHits","HGCHitsEE"),
0013         cms.InputTag("g4SimHits","HGCHitsHEfront")
0014     ),
0015     type = cms.string('PCaloHit'),
0016     crossingFrames = cms.untracked.vstring(),
0017     subdets = cms.vstring(
0018         'HGCHitsEE',
0019         'HGCHitsHEfront'
0020     )
0021 )
0022 
0023 mixSimTracks = cms.PSet(
0024     makeCrossingFrame = cms.untracked.bool(False),
0025     input = cms.VInputTag(cms.InputTag("g4SimHits")),
0026     type = cms.string('SimTrack')
0027 )
0028 mixSimVertices = cms.PSet(
0029     makeCrossingFrame = cms.untracked.bool(False),
0030     input = cms.VInputTag(cms.InputTag("g4SimHits")),
0031     type = cms.string('SimVertex')
0032 )
0033 mixHepMCProducts = cms.PSet(
0034     makeCrossingFrame = cms.untracked.bool(False),
0035     input = cms.VInputTag(cms.InputTag("generatorSmeared"),cms.InputTag("generator")),
0036     type = cms.string('HepMCProduct')
0037 )
0038 
0039 theMixObjects = cms.PSet(
0040     mixCH = cms.PSet(
0041         mixCaloHits
0042     ),
0043     mixTracks = cms.PSet(
0044         mixSimTracks
0045     ),
0046     mixVertices = cms.PSet(
0047         mixSimVertices
0048     ),
0049     mixSH = cms.PSet(
0050         mixSimHits
0051     ),
0052     mixHepMC = cms.PSet(
0053         mixHepMCProducts
0054     )
0055 )
0056 
0057 theDigitizers = cms.PSet(
0058     hgcalEE = cms.PSet(
0059         hgceeDigitizer     
0060     )
0061 )
0062 
0063 mix = cms.EDProducer("MixingModule",
0064     digitizers = cms.PSet(theDigitizers),
0065     LabelPlayback = cms.string(''),
0066     maxBunch = cms.int32(3),
0067     minBunch = cms.int32(-5), ## in terms of 25 ns
0068 
0069     bunchspace = cms.int32(450),
0070     mixProdStep1 = cms.bool(False),
0071     mixProdStep2 = cms.bool(False),
0072 
0073     playback = cms.untracked.bool(False),
0074     useCurrentProcessOnly = cms.bool(False),
0075     mixObjects = cms.PSet(theMixObjects)
0076 )