CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/SimCalorimetry/HcalSimProducers/python/hcalUnsuppressedDigis_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from SimCalorimetry.HcalSimProducers.hcalSimParameters_cfi import *
00003 from CondCore.DBCommon.CondDBSetup_cfi import *
00004 
00005 # make a block so other modules, such as the data mixing module, can
00006 # also run simulation
00007 
00008 hcalSimBlock = cms.PSet(    
00009     hcalSimParameters,
00010     # whether cells with MC signal get noise added
00011     doNoise = cms.bool(True),
00012     # whether cells with no MC signal get an empty signal created
00013     # These empty signals can get noise via the doNoise flag
00014     doEmpty = cms.bool(True),
00015     doHPDNoise = cms.bool(False),
00016     doIonFeedback = cms.bool(True),
00017     doThermalNoise = cms.bool(True),
00018     HBTuningParameter = cms.double(0.875),
00019     HETuningParameter = cms.double(0.9),
00020     HFTuningParameter = cms.double(1.025),
00021     HOTuningParameter = cms.double(1),
00022     useOldHB = cms.bool(True),
00023     useOldHE = cms.bool(True),
00024     useOldHF = cms.bool(True),
00025     useOldHO = cms.bool(True),
00026     #HPDNoiseLibrary = cms.PSet(
00027     #   FileName = cms.FileInPath("SimCalorimetry/HcalSimAlgos/data/hpdNoiseLibrary.root"),
00028     #   HPDName = cms.untracked.string("HPD")
00029     #),
00030     doTimeSlew = cms.bool(True),
00031     doHFWindow = cms.bool(False),
00032     hitsProducer = cms.string('g4SimHits'),
00033     injectTestHits = cms.bool(False)
00034 )
00035 
00036 #es_cholesky = cms.ESSource("PoolDBESSource",
00037 #    CondDBSetup,
00038 #    timetype = cms.string('runnumber'),
00039 #    toGet = cms.VPSet(
00040 #        cms.PSet(
00041 #            record = cms.string("HcalCholeskyMatricesRcd"),
00042 #            tag = cms.string("TestCholesky")
00043 #        )),
00044 #    connect = cms.string('sqlite_file:CondFormats/HcalObjects/data/cholesky_sql.db'),
00045 #    appendToDataLabel = cms.string('reference'),
00046 #    authenticationMethod = cms.untracked.uint32(0),
00047 #)
00048 
00049 
00050 #es_cholesky = cms.ESSource('HcalTextCalibrations',
00051 #    input = cms.VPSet(
00052 #        cms.PSet(
00053 #            object = cms.string('CholeskyMatrices'),
00054 #            file = cms.FileInPath("CondFormats/HcalObjects/data/CholeskyMatrices.txt")
00055 #        ),
00056 #    ),
00057 #    appendToDataLabel = cms.string('reference')
00058 #)
00059 
00060 simHcalUnsuppressedDigis = cms.EDProducer("HcalDigiProducer",
00061     hcalSimBlock
00062 )
00063 
00064 
00065