CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiCosmics_cff.py
Go to the documentation of this file.
2 
3 #
4 # Full-scale Digitization of the simulated hits
5 # in all CMS subdets : Tracker, ECAL, HCAl, Muon's;
6 # MixingModule (at least in zero-pileup mode) needs
7 # to be included to make Digi's operational, since
8 # it's required for ECAL/HCAL & Muon's
9 # Defined in a separate fragment
10 #
11 # Tracker Digis (Pixel + SiStrips)
12 # returns sequence "trDigi"
13 #
15 
16 # Calorimetry Digis (Ecal + Hcal) - * unsuppressed *
17 # returns sequence "calDigi"
19 # Muon Digis (CSC + DT + RPC)
20 # returns sequence "muonDigi"
21 #
23 #
24 # include TrackingParticle Producer
25 # NOTA BENE: it MUST be run here at the moment, since it depends
26 # of the availability of the CrossingFrame in the Event
27 #
29 
30 #from SimGeneral.MixingModule.mixNoPU_cfi import *
31 
32 #Special parameterization for cosmics
33 #simSiPixelDigis.TofLowerCut = cms.double(18.5)
34 #simSiPixelDigis.TofUpperCut = cms.double(43.5)
35 #mix.digitizers.pixel.TofLowerCut = cms.double(18.5)
36 #mix.digitizers.pixel.TofUpperCut = cms.double(43.5)
37 
38 #simSiStripDigis.CosmicDelayShift = cms.untracked.double(31)
39 #mix.digitizers.strip.CosmicDelayShift = cms.untracked.double(31)
40 
41 #simEcalUnsuppressedDigis.cosmicsPhase = cms.bool(True)
42 #simEcalUnsuppressedDigis.cosmicsShift = cms.double(1.)
43 #mix.digitizers.ecal.cosmicsPhase = cms.bool(True)
44 #mix.digitizers.ecal.cosmicsShift = cms.double(1.)
45 
46 simEcalDigis.ebDccAdcToGeV = cms.double(0.00875)
47 simEcalDigis.srpBarrelLowInterestChannelZS = cms.double(0.0153125)
48 
49 simHcalDigis.HBlevel = cms.int32(-10000)
50 simHcalDigis.HElevel = cms.int32(-10000)
51 simHcalDigis.HOlevel = cms.int32(-10000)
52 simHcalDigis.HFlevel = cms.int32(-10000)
53 
54 doAllDigi = cms.Sequence(calDigi+muonDigi)
55 pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*doAllDigi)
56 
57