CMS 3D CMS Logo

digitizersCosmics_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
11 
12 pixelDigitizer.TofLowerCut=cms.double(18.5)
13 pixelDigitizer.TofUpperCut=cms.double(43.5)
14 stripDigitizer.CosmicDelayShift = cms.untracked.double(31)
15 
16 ecalDigitizer.cosmicsPhase = cms.bool(True)
17 ecalDigitizer.cosmicsShift = cms.double(1.)
18 
19 theDigitizers = cms.PSet(
20  pixel = cms.PSet(
21  pixelDigitizer
22  ),
23  strip = cms.PSet(
24  stripDigitizer
25  ),
26  ecal = cms.PSet(
27  ecalDigitizer
28  ),
29  hcal = cms.PSet(
30  hcalDigitizer
31  ),
32  castor = cms.PSet(
33  castorDigitizer
34  )
35 )
36 
37 theDigitizersValid = cms.PSet(
38  pixel = cms.PSet(
39  pixelDigitizer
40  ),
41  strip = cms.PSet(
42  stripDigitizer
43  ),
44  ecal = cms.PSet(
45  ecalDigitizer
46  ),
47  hcal = cms.PSet(
48  hcalDigitizer
49  ),
50  castor = cms.PSet(
51  castorDigitizer
52  ),
53  mergedtruth = cms.PSet(
54  trackingParticles
55  )
56 )
57 
58 from Configuration.Eras.Modifier_run3_common_cff import run3_common
59 run3_common.toModify( theDigitizers, castor = None )
60 run3_common.toModify( theDigitizersValid, castor = None )
61 
62 
63