CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mixHitsAndTracksWithPU_cfi.py
Go to the documentation of this file.
2 
3 simEcalUnsuppressedDigis = cms.EDAlias( #remove?
4  mixSimCaloHits = cms.VPSet(
5  cms.PSet(type = cms.string('EBDigiCollection')),
6  cms.PSet(type = cms.string('EEDigiCollection')),
7  cms.PSet(type = cms.string('ESDigiCollection'))
8  )
9  )
10 
11 simEcalUnsuppressedDigis = cms.EDAlias(
12  mix = cms.VPSet(
13  cms.PSet(type = cms.string('EBDigiCollection')),
14  cms.PSet(type = cms.string('EEDigiCollection')),
15  cms.PSet(type = cms.string('ESDigiCollection'))
16  )
17  )
18 
19 simHcalUnsuppressedDigis = cms.EDAlias(#remove?
20  mixSimCaloHits = cms.VPSet(
21  cms.PSet(type = cms.string('HBHEDataFramesSorted')),
22  cms.PSet(type = cms.string('HFDataFramesSorted')),
23  cms.PSet(type = cms.string('HODataFramesSorted')),
24  cms.PSet(type = cms.string('HcalUpgradeDataFramesSorted')),
25  cms.PSet(type = cms.string('ZDCDataFramesSorted'))
26  )
27  )
28 
29 simHcalUnsuppressedDigis = cms.EDAlias(
30  mix = cms.VPSet(
31  cms.PSet(type = cms.string('HBHEDataFramesSorted')),
32  cms.PSet(type = cms.string('HFDataFramesSorted')),
33  cms.PSet(type = cms.string('HODataFramesSorted')),
34  cms.PSet(type = cms.string('HcalUpgradeDataFramesSorted')),
35  cms.PSet(type = cms.string('ZDCDataFramesSorted'))
36  )
37  )
38 
39 generalTracks = cms.EDAlias(
40  mix = cms.VPSet( cms.PSet(type=cms.string('recoTracks') ) )
41  )
42 
43 
46 ecal_digi_parameters =SimCalorimetry.EcalSimProducers.ecalDigiParameters_cff.ecal_digi_parameters.clone()
47 ecal_digi_parameters.hitsProducer = cms.string('famosSimHits')
48 
49 ecalDigitizer = cms.PSet(ecal_digi_parameters,####FastSim,
50  apd_sim_parameters,
51  ecal_electronics_sim,
52  ecal_cosmics_sim,
53  ecal_sim_parameter_map,
54  ecal_notCont_sim,
55  es_electronics_sim,
56  accumulatorType = cms.string("EcalDigiProducer"),
57  makeDigiSimLinks = cms.untracked.bool(False)
58  )
59 
61 hcalSimBlockFastSim = SimCalorimetry.HcalSimProducers.hcalUnsuppressedDigis_cfi.hcalSimBlock.clone()
62 hcalSimBlockFastSim.hitsProducer = cms.string('famosSimHits')
63 hcalDigitizer = cms.PSet(
64  hcalSimBlockFastSim,
65  accumulatorType = cms.string("HcalDigiProducer"),
66  makeDigiSimLinks = cms.untracked.bool(False))
67 
69 
71 
72 mix = cms.EDProducer("MixingModule",
73  digitizers = cms.PSet(ecal = cms.PSet(ecalDigitizer),
74  hcal = cms.PSet(hcalDigitizer),
75  tracker = cms.PSet(trackAccumulator)),
76  LabelPlayback = cms.string(''),
77  maxBunch = cms.int32(0),
78  minBunch = cms.int32(0), ## -4in terms of 25nsec
79 
80  bunchspace = cms.int32(250), ##ns
81  mixProdStep1 = cms.bool(False),
82  mixProdStep2 = cms.bool(False),
83 
84  #checktof = cms.bool(False),
85  playback = cms.untracked.bool(False),
86  useCurrentProcessOnly = cms.bool(False),
87 
88  input = cms.SecSource("PoolSource",
89  nbPileupEvents = cms.PSet(
90  averageNumber = cms.double(16.) ###fede prova tracce
91  ),
92  type = cms.string('poisson'),
93  sequential = cms.untracked.bool(False),
94  manage_OOT = cms.untracked.bool(False), ## manage out-of-time pileup
95  ## setting this to True means that the out-of-time pileup
96  ## will have a different distribution than in-time, given
97  ## by what is described on the next line:
98 ## OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
99  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
100  #intFixed_OOT = cms.untracked.int32(2),
101  fileNames = cms.untracked.vstring('root://eoscms//eos/cms/store/user/federica/FastSim/MinBias_620/MinBias_8TeV_cfi_GEN_SIM_RECO.root'),
102  #fileNames = cms.untracked.vstring('root://eoscms//eos/cms/store/user/federica/FastSim/MinBias_620/SingleNuE10_cfi_py_GEN_SIM_RECO.root'),
103  #fileNames = cms.untracked.vstring('root://eoscms//eos/cms/store/user/federica/FastSim/MinBias_620/SingleMuPt10_cfi_py_GEN_SIM_RECO_50evt.root'),
104  #fileNames = cms.untracked.vstring('root://eoscms//eos/cms/store/relval/CMSSW_7_0_0_pre1/RelValProdMinBias/AODSIM/PRE_ST62_V8-v1/00000/CCA02E69-520F-E311-96CA-003048678BB2.root'), # from FullSim
105  #### fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/g/giamman/public/mixing/MinBias_GENSIMRECO.root')
106  ),
107  mixObjects = cms.PSet(
108  mixSH = cms.PSet(
109  mixSimHits
110  ),
111  mixVertices = cms.PSet(
112  mixSimVertices
113  ),
114  mixCH = cms.PSet(
115  mixCaloHits
116  ),
117  mixMuonTracks = cms.PSet(
118  mixMuonSimTracks
119  ),
120  mixTracks = cms.PSet(
121  mixSimTracks
122  ),
123  mixHepMC = cms.PSet(
124  mixHepMCProducts
125  ),
126  mixRecoTracks = cms.PSet(
127  mixReconstructedTracks
128  )
129  )
130 )