CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
digi_MixPreMix_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # configuration to model pileup for initial physics phase
7 #from SimGeneral.MixingModule.ecalDigitizer_cfi import *
8 #from SimGeneral.MixingModule.hcalDigitizer_cfi import *
12 
13 theDigitizersMixPreMix = cms.PSet(
14  pixel = cms.PSet(
15  pixelDigitizer
16  ),
17  strip = cms.PSet(
18  stripDigitizer
19  ),
20  castor = cms.PSet(
21  castorDigitizer
22  ),
23  puVtx = cms.PSet(
24  pileupVtxDigitizer
25  )
26 )
27 
28 theDigitizersMixPreMixValid = cms.PSet(
29  pixel = cms.PSet(
30  pixelDigitizer
31  ),
32  strip = cms.PSet(
33  stripDigitizer
34  ),
35  castor = cms.PSet(
36  castorDigitizer
37  ),
38  puVtx = cms.PSet(
39  pileupVtxDigitizer
40  ),
41  mergedtruth = cms.PSet(
42  trackingParticles
43  )
44 )
45 
46 
47 #theDigitizersNoNoise.pixel.AddNoise = cms.bool(True)
48 #theDigitizersNoNoise.pixel.addNoisyPixels = cms.bool(False)
49 theDigitizersMixPreMix.strip.Noise = cms.bool(False) # will be added in DataMixer
50 theDigitizersMixPreMixValid.strip.Noise = cms.bool(False) # will be added in DataMixer
51 theDigitizersMixPreMix.strip.PreMixingMode = cms.bool(True) #Special mode to save all hit strips
52 theDigitizersMixPreMixValid.strip.PreMixingMode = cms.bool(True) #Special mode to save all hit strips
53 theDigitizersMixPreMix.strip.FedAlgorithm = cms.int32(5) # special ZS mode: accept adc>0
54 theDigitizersMixPreMixValid.strip.FedAlgorithm = cms.int32(5) # special ZS mode: accept adc>0
55 theDigitizersMixPreMix.pixel.AddPixelInefficiency = cms.bool(False) # will be added in DataMixer
56 theDigitizersMixPreMixValid.pixel.AddPixelInefficiency = cms.bool(False) # will be added in DataMixer