Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #                                                    
0004 # Full-scale Digitization of the simulated hits      
0005 # in all CMS subdets : Tracker, ECAL, HCAl, Muon's;  
0006 # MixingModule (at least in zero-pileup mode) needs  
0007 # to be included to make Digi's operational, since   
0008 # it's required for ECAL/HCAL & Muon's                
0009 # Defined in a separate fragment
0010 #                                                    
0011 # Tracker Digis (Pixel + SiStrips)
0012 # returns sequence "trDigi"
0013 #
0014 from SimTracker.Configuration.SimTracker_cff import *
0015 
0016 # Calorimetry Digis (Ecal + Hcal) - * unsuppressed *
0017 # returns sequence "calDigi"
0018 from SimCalorimetry.Configuration.SimCalorimetry_cff import *
0019 # Muon Digis (CSC + DT + RPC)
0020 # returns sequence "muonDigi"
0021 #
0022 from SimMuon.Configuration.SimMuon_cff import *
0023 #
0024 # PPS Digis
0025 # returns sequence "ctppsDigi"
0026 from SimPPS.Configuration.SimPPS_cff import *
0027 
0028 # include TrackingParticle Producer
0029 # NOTA BENE: it MUST be run here at the moment, since it depends 
0030 # of the availability of the CrossingFrame in the Event
0031 #
0032 from SimGeneral.Configuration.SimGeneral_cff import *
0033 
0034 #from SimGeneral.MixingModule.mixNoPU_cfi import *
0035 
0036 #Special parameterization for cosmics
0037 #simSiPixelDigis.TofLowerCut = cms.double(18.5)
0038 #simSiPixelDigis.TofUpperCut = cms.double(43.5)
0039 #mix.digitizers.pixel.TofLowerCut = cms.double(18.5) moved to digitizersCosmics_cfi.py in the mixingmodule
0040 #mix.digitizers.pixel.TofUpperCut = cms.double(43.5) moved to digitizersCosmics_cfi.py in the mixingmodule
0041 
0042 #simSiStripDigis.CosmicDelayShift = cms.untracked.double(31)
0043 #mix.digitizers.strip.CosmicDelayShift = cms.untracked.double(31) moved to digitizersCosmics_cfi.py in the mixingmodule
0044 
0045 #simEcalUnsuppressedDigis.cosmicsPhase = cms.bool(True)
0046 #simEcalUnsuppressedDigis.cosmicsShift = cms.double(1.)
0047 #mix.digitizers.ecal.cosmicsPhase = cms.bool(True) moved to digitizersCosmics_cfi.py in the mixingmodule
0048 #mix.digitizers.ecal.cosmicsShift = cms.double(1.) moved to digitizersCosmics_cfi.py in the mixingmodule
0049 
0050 simEcalDigis.ebDccAdcToGeV = cms.double(0.00875)
0051 simEcalDigis.srpBarrelLowInterestChannelZS = cms.double(0.0153125)
0052 
0053 simHcalDigis.HBlevel = cms.int32(-10000)
0054 simHcalDigis.HElevel = cms.int32(-10000)
0055 simHcalDigis.HOlevel   = cms.int32(-10000)
0056 simHcalDigis.HFlevel   = cms.int32(-10000)
0057 
0058 doAllDigiTask = cms.Task(calDigiTask, muonDigiTask ,ctppsDigiTask)
0059 pdigiTask = cms.Task(cms.TaskPlaceholder("randomEngineStateProducer"), cms.TaskPlaceholder("mix"), doAllDigiTask)
0060 
0061 doAllDigi = cms.Sequence(doAllDigiTask)
0062 pdigi = cms.Sequence(pdigiTask)
0063 pdigi_valid = cms.Sequence(pdigiTask)
0064