CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hcalUnsuppressedDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
4 from Geometry.HcalEventSetup.HcalRelabel_cfi import HcalReLabel
5 
6 # make a block so other modules, such as the data mixing module, can
7 # also run simulation
8 
9 hcalSimBlock = cms.PSet(
10  hcalSimParameters,
11  # whether cells with MC signal get noise added
12  doNoise = cms.bool(True),
13  HcalPreMixStage1 = cms.bool(False),
14  HcalPreMixStage2 = cms.bool(False),
15  # whether cells with no MC signal get an empty signal created
16  # These empty signals can get noise via the doNoise flag
17  doEmpty = cms.bool(True),
18  doHPDNoise = cms.bool(False),
19  doIonFeedback = cms.bool(True),
20  doThermalNoise = cms.bool(True),
21  # fudge factors for "Cholesky" noise simulation (obsolete)
22  HBTuningParameter = cms.double(0.875),
23  HETuningParameter = cms.double(0.9),
24  HFTuningParameter = cms.double(1.025),
25  HOTuningParameter = cms.double(1),
26  # use old way of noise simulation
27  useOldHB = cms.bool(True),
28  useOldHE = cms.bool(True),
29  useOldHF = cms.bool(True),
30  useOldHO = cms.bool(True),
31  HBHEUpgradeQIE = cms.bool(True),
32  HFUpgradeQIE = cms.bool(False),
33  #HPDNoiseLibrary = cms.PSet(
34  # FileName = cms.FileInPath("SimCalorimetry/HcalSimAlgos/data/hpdNoiseLibrary.root"),
35  # HPDName = cms.untracked.string("HPD")
36  #),
37  doTimeSlew = cms.bool(True),
38  doHFWindow = cms.bool(False),
39  hitsProducer = cms.string('g4SimHits'),
40  injectTestHits = cms.bool(False),
41  ChangeResponse = cms.bool(False),
42  CorrFactorFile = cms.FileInPath("SimCalorimetry/HcalSimProducers/data/calor_corr01.txt"),
43  HcalReLabel = HcalReLabel,
44  DelivLuminosity = cms.double(0),
45  HEDarkening = cms.bool(False),
46  HFDarkening = cms.bool(False),
47  minFCToDelay=cms.double(5.) # old TC model! set to 5 for the new one
48 )
49 
50 #es_cholesky = cms.ESSource("PoolDBESSource",
51 # CondDBSetup,
52 # timetype = cms.string('runnumber'),
53 # toGet = cms.VPSet(
54 # cms.PSet(
55 # record = cms.string("HcalCholeskyMatricesRcd"),
56 # tag = cms.string("TestCholesky")
57 # )),
58 # connect = cms.string('sqlite_file:CondFormats/HcalObjects/data/cholesky_sql.db'),
59 # appendToDataLabel = cms.string('reference'),
60 # authenticationMethod = cms.untracked.uint32(0),
61 #)
62 
63 
64 #es_cholesky = cms.ESSource('HcalTextCalibrations',
65 # input = cms.VPSet(
66 # cms.PSet(
67 # object = cms.string('CholeskyMatrices'),
68 # file = cms.FileInPath("CondFormats/HcalObjects/data/CholeskyMatrices.txt")
69 # ),
70 # ),
71 # appendToDataLabel = cms.string('reference')
72 #)