/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimMuon/GEMDigitizer/python/muonME0Digis_cfi.py
45 строк
2 KB
Yechan Kang
fix bug in muonME0digis_cfi
16 июл 2019, 12:53
16 июл 2019, 12:53
e9633c0
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms me0DigiCommonParameters = cms.PSet( signalPropagationSpeed = cms.double(0.66), timeResolution = cms.double(5), timeJitter = cms.double(1.0), averageShapingTime = cms.double(50.0), averageEfficiency = cms.double(0.98), averageNoiseRate = cms.double(0.001), #intrinsic noise bxwidth = cms.int32(25), minBunch = cms.int32(-5), ## in terms of 25 ns maxBunch = cms.int32(3), mixLabel = cms.string('mix'), # added by A.Sharma inputCollection = cms.string('g4SimHitsMuonME0Hits'), digiModelString = cms.string('Simple'), digitizeOnlyMuons = cms.bool(False), doBkgNoise = cms.bool(False), #False == No background simulation doNoiseCLS = cms.bool(True), fixedRollRadius = cms.bool(True), #Uses fixed radius in the center of the roll simulateIntrinsicNoise = cms.bool(False), simulateElectronBkg = cms.bool(True), #False=simulate only neutral Bkg instLumi = cms.double(7.5), # in units of 1E34 cm^-2 s^-1. Internally the background is parametrized from FLUKA+GEANT results at 5x10^34 (PU140). We are adding a 1.5 factor for PU200 rateFact = cms.double(1.0), # We are adding also a safety factor of 2 to take into account the new beam pipe effect (not yet known). Hits can be thrown away later at re-digi step. Parameters are kept in sync with the ones used in the GEM digitizer referenceInstLumi = cms.double(5.), #reference inst. luminosity 5x10^34 cm-2s-1 #The following parameters are needed to model the background contribution. #The parameters have been obtained after the fit of the predicted by FLUKA. #By default the backgroundmodeling with these parameters should be disabled with #the 9_2_X release setting doBkgNoise=False ME0ElecBkgParam0 = cms.double(0.00171409), ME0ElecBkgParam1 = cms.double(4900.56), ME0ElecBkgParam2 = cms.double(710909), ME0ElecBkgParam3 = cms.double(-4327.25), ME0NeuBkgParam0 = cms.double(0.00386257), ME0NeuBkgParam1 = cms.double(6344.65), ME0NeuBkgParam2 = cms.double(16627700), ME0NeuBkgParam3 = cms.double(-102098) ) from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2 premix_stage2.toModify(me0DigiCommonParameters, mixLabel = "mixData") # Module to create simulated ME0 digis. simMuonME0Digis = cms.EDProducer("ME0DigiProducer", me0DigiCommonParameters )