CMS 3D CMS Logo

DigiCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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 # PPS Digis
25 # returns sequence "ctppsDigi"
27 
28 # include TrackingParticle Producer
29 # NOTA BENE: it MUST be run here at the moment, since it depends
30 # of the availability of the CrossingFrame in the Event
31 #
33 
34 #from SimGeneral.MixingModule.mixNoPU_cfi import *
35 
36 #Special parameterization for cosmics
37 #simSiPixelDigis.TofLowerCut = cms.double(18.5)
38 #simSiPixelDigis.TofUpperCut = cms.double(43.5)
39 #mix.digitizers.pixel.TofLowerCut = cms.double(18.5) moved to digitizersCosmics_cfi.py in the mixingmodule
40 #mix.digitizers.pixel.TofUpperCut = cms.double(43.5) moved to digitizersCosmics_cfi.py in the mixingmodule
41 
42 #simSiStripDigis.CosmicDelayShift = cms.untracked.double(31)
43 #mix.digitizers.strip.CosmicDelayShift = cms.untracked.double(31) moved to digitizersCosmics_cfi.py in the mixingmodule
44 
45 #simEcalUnsuppressedDigis.cosmicsPhase = cms.bool(True)
46 #simEcalUnsuppressedDigis.cosmicsShift = cms.double(1.)
47 #mix.digitizers.ecal.cosmicsPhase = cms.bool(True) moved to digitizersCosmics_cfi.py in the mixingmodule
48 #mix.digitizers.ecal.cosmicsShift = cms.double(1.) moved to digitizersCosmics_cfi.py in the mixingmodule
49 
50 simEcalDigis.ebDccAdcToGeV = cms.double(0.00875)
51 simEcalDigis.srpBarrelLowInterestChannelZS = cms.double(0.0153125)
52 
53 simHcalDigis.HBlevel = cms.int32(-10000)
54 simHcalDigis.HElevel = cms.int32(-10000)
55 simHcalDigis.HOlevel = cms.int32(-10000)
56 simHcalDigis.HFlevel = cms.int32(-10000)
57 
58 doAllDigiTask = cms.Task(calDigiTask, muonDigiTask ,ctppsDigiTask)
59 pdigiTask = cms.Task(cms.TaskPlaceholder("randomEngineStateProducer"), cms.TaskPlaceholder("mix"), doAllDigiTask)
60 
61 doAllDigi = cms.Sequence(doAllDigiTask)
62 pdigi = cms.Sequence(pdigiTask)
63 pdigi_valid = cms.Sequence(pdigiTask)
64 
SimGeneral_cff
SimMuon_cff
SimPPS_cff
SimCalorimetry_cff
SimTracker_cff