CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mixFastSimObjects_cfi.py
Go to the documentation of this file.
2 
3 from FastSimulation.Configuration.CommonInputs_cff import * # temporary, just to select the MixingMode
4 
5 if (MixingMode=='DigiRecoMixing'):
6  mixReconstructedTracks = cms.PSet(
7  input = cms.VInputTag(cms.InputTag("generalTracks")),
8  type = cms.string('RecoTrack')
9  )
10 # mixSimHits = cms.PSet(
11 # input = cms.VInputTag(cms.InputTag("g4SimHits","MuonCSCHits"), cms.InputTag("g4SimHits","MuonDTHits"), cms.InputTag("g4SimHits","MuonRPCHits"), cms.InputTag("g4SimHits","TrackerHits")),
12 # type = cms.string('PSimHit'),
13 # subdets = cms.vstring('MuonCSCHits',
14 # 'MuonDTHits',
15 # 'MuonRPCHits',
16 # 'TrackerHits'),
17 # crossingFrames = cms.untracked.vstring('MuonCSCHits',
18 # 'MuonDTHits',
19 # 'MuonRPCHits')
20 # )
21 # mixCaloHits = cms.PSet(
22 # input = cms.VInputTag(cms.InputTag("g4SimHits","EcalHitsEB"), cms.InputTag("g4SimHits","EcalHitsEE"), cms.InputTag("g4SimHits","EcalHitsES"), cms.InputTag("g4SimHits","HcalHits")),
23 # type = cms.string('PCaloHit'),
24 # subdets = cms.vstring('EcalHitsEB',
25 # 'EcalHitsEE',
26 # 'EcalHitsES',
27 # 'HcalHits'),
28 # crossingFrames = cms.untracked.vstring()
29 # )
30 # mixSimTracks = cms.PSet(
31 # input = cms.VInputTag(cms.InputTag("g4SimHits")),
32 # makeCrossingFrame = cms.untracked.bool(False),
33 # type = cms.string('SimTrack')
34 # )
35 # mixMuonSimTracks = cms.PSet(
36 # input = cms.VInputTag(cms.InputTag("g4SimHits","MuonSimTracks")),
37 # makeCrossingFrame = cms.untracked.bool(False),
38 # type = cms.string('SimTrack')
39 # )
40 # mixSimVertices = cms.PSet(
41 # input = cms.VInputTag(cms.InputTag("g4SimHits")),
42 # makeCrossingFrame = cms.untracked.bool(False),
43 # type = cms.string('SimVertex')
44 # )
45 #else:
46 mixSimHits = cms.PSet(
47  input = cms.VInputTag(cms.InputTag("MuonSimHits","MuonCSCHits"), cms.InputTag("MuonSimHits","MuonDTHits"), cms.InputTag("MuonSimHits","MuonRPCHits"), cms.InputTag("famosSimHits","TrackerHits")),
48  type = cms.string('PSimHit'),
49  subdets = cms.vstring('MuonCSCHits',
50  'MuonDTHits',
51  'MuonRPCHits',
52  'TrackerHits'),
53  crossingFrames = cms.untracked.vstring('MuonCSCHits',
54  'MuonDTHits',
55  'MuonRPCHits',
56  'TrackerHits')
57  )
58 mixCaloHits = cms.PSet(
59  input = cms.VInputTag(cms.InputTag("famosSimHits","EcalHitsEB"), cms.InputTag("famosSimHits","EcalHitsEE"), cms.InputTag("famosSimHits","EcalHitsES"), cms.InputTag("famosSimHits","HcalHits")),
60  type = cms.string('PCaloHit'),
61  subdets = cms.vstring('EcalHitsEB',
62  'EcalHitsEE',
63  'EcalHitsES',
64  'HcalHits'),
65  crossingFrames = cms.untracked.vstring('EcalHitsEB',
66  'EcalHitsEE',
67  'EcalHitsES', # keep only ES and remove the others?
68  'HcalHits')
69  )
70 mixSimTracks = cms.PSet(
71  input = cms.VInputTag(cms.InputTag("famosSimHits")),
72  makeCrossingFrame = cms.untracked.bool(True),
73  type = cms.string('SimTrack')
74  )
75 mixMuonSimTracks = cms.PSet(
76  input = cms.VInputTag(cms.InputTag("famosSimHits","MuonSimTracks")),
77  makeCrossingFrame = cms.untracked.bool(True),
78  type = cms.string('SimTrack')
79  )
80 mixSimVertices = cms.PSet(
81  input = cms.VInputTag(cms.InputTag("famosSimHits")),
82  makeCrossingFrame = cms.untracked.bool(True),
83  type = cms.string('SimVertex')
84  )
85 
86 
87 mixHepMCProducts = cms.PSet(
88  makeCrossingFrame = cms.untracked.bool(True),
89  input = cms.VInputTag(cms.InputTag("generator")),
90  type = cms.string('HepMCProduct')
91 )
92