CMS 3D CMS Logo

DigiHGCalTB160_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 mixSimHits = cms.PSet(
5  input = cms.VInputTag(),
6  type = cms.string('PSimHit'),
7  crossingFrames = cms.untracked.vstring(),
8  subdets = cms.vstring()
9 )
10 mixCaloHits = cms.PSet(
11  input = cms.VInputTag(
12  cms.InputTag("g4SimHits","HGCHitsEE"),
13  cms.InputTag("g4SimHits","HGCHitsHEfront")
14  ),
15  type = cms.string('PCaloHit'),
16  crossingFrames = cms.untracked.vstring(),
17  subdets = cms.vstring(
18  'HGCHitsEE',
19  'HGCHitsHEfront'
20  )
21 )
22 
23 mixSimTracks = cms.PSet(
24  makeCrossingFrame = cms.untracked.bool(False),
25  input = cms.VInputTag(cms.InputTag("g4SimHits")),
26  type = cms.string('SimTrack')
27 )
28 mixSimVertices = cms.PSet(
29  makeCrossingFrame = cms.untracked.bool(False),
30  input = cms.VInputTag(cms.InputTag("g4SimHits")),
31  type = cms.string('SimVertex')
32 )
33 mixHepMCProducts = cms.PSet(
34  makeCrossingFrame = cms.untracked.bool(False),
35  input = cms.VInputTag(cms.InputTag("generatorSmeared"),cms.InputTag("generator")),
36  type = cms.string('HepMCProduct')
37 )
38 
39 theMixObjects = cms.PSet(
40  mixCH = cms.PSet(
41  mixCaloHits
42  ),
43  mixTracks = cms.PSet(
44  mixSimTracks
45  ),
46  mixVertices = cms.PSet(
47  mixSimVertices
48  ),
49  mixSH = cms.PSet(
50  mixSimHits
51  ),
52  mixHepMC = cms.PSet(
53  mixHepMCProducts
54  )
55 )
56 
57 theDigitizers = cms.PSet(
58  hgcalEE = cms.PSet(
59  hgceeDigitizer
60  )
61 )
62 
63 mix = cms.EDProducer("MixingModule",
64  digitizers = cms.PSet(theDigitizers),
65  LabelPlayback = cms.string(''),
66  maxBunch = cms.int32(3),
67  minBunch = cms.int32(-5), ## in terms of 25 ns
68 
69  bunchspace = cms.int32(450),
70  mixProdStep1 = cms.bool(False),
71  mixProdStep2 = cms.bool(False),
72 
73  playback = cms.untracked.bool(False),
74  useCurrentProcessOnly = cms.bool(False),
75  mixObjects = cms.PSet(theMixObjects)
76 )