CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Calorimetry_cff.py
Go to the documentation of this file.
2 
3 #Global fast calorimetry parameters
6 FamosCalorimetryBlock = cms.PSet(
7  Calorimetry = cms.PSet(
8  HSParameterBlock,
9  HCALResponseBlock,
10  ECAL = cms.PSet(
11  # If set to true the simulation in ECAL would be done 1X0 by 1X0
12  # this is slow but more adapted to detailed studies.
13  # Otherwise roughty 5 steps are used.
14  bFixedLength = cms.bool(False),
15 
16  # For the core 10% of the spots for
17  CoreIntervals = cms.vdouble(100.0, 0.1),
18  # change the radius of the tail of the shower
19  RTFactor = cms.double(1.0),
20  # change the radius of the core of the shower
21  RCFactor = cms.double(1.0),
22  # For the tail 10% of r<1RM. 100% otherwise
23  TailIntervals = cms.vdouble(1.0, 0.1, 100.0, 1.0),
24  FrontLeakageProbability = cms.double(1.0),
25  GridSize = cms.int32(7),
26  # change globally the Moliere radius
27 
28 
29  ### changed after tuning - Feb - July - Shilpi Jain
30  #RadiusFactor = cms.double(1.096),
31  RadiusFactorEB = cms.double(1.096),
32  RadiusFactorEE = cms.double(1.25),
33  ### changed after tuning - Feb - July - Shilpi Jain
34 
35  RadiusPreshowerCorrections = cms.vdouble(0.137, 10.3), # default value for maxshower depth dependence-->works fine
36  MipsinGeV = cms.vdouble(0.0001421,0.0000812), # increase in mipsinGeV by 75% only in layer1
37  #SpotFraction < 0 <=> deactivated. In the case, CoreIntervals and
38  #TailIntervals are used
39  SpotFraction = cms.double(-1.0),
40  GapLossProbability = cms.double(0.9),
41  SimulatePreshower = cms.bool(True)
42  ),
43  CalorimeterProperties = cms.PSet(
44  # triplet for each p value: p, k_e(p), k_h(p) ...
45  RespCorrP = cms.vdouble(1.0, 1.0, 1.0, 1000.0, 1.0, 1.0),
46  PreshowerLayer2_thickness = cms.double(0.38), # layer2 thickness back to original
47  ECALEndcap_LightCollection = cms.double(0.023),
48  PreshowerLayer1_thickness = cms.double(1.65), # increase in thickness of layer 1 by 3%
49  PreshowerLayer1_mipsPerGeV = cms.double(17.85), # 50% decrease in mipsperGeV
50  PreshowerLayer2_mipsPerGeV = cms.double(59.5),
51  ECALBarrel_LightCollection = cms.double(0.03),
52  HCAL_Sampling = cms.double(0.0035),
53  # Watch out ! The following two values are defined wrt the electron shower simulation
54  # There are not directly related to the detector properties
55  HCAL_PiOverE = cms.double(0.2),
56  # HCAL_PiOverE = cms.double(0.4)
57 
58  BarrelCalorimeterProperties = cms.PSet(
59 
60  #====== Geometrical material properties ========
61 
62  # Light Collection efficiency
63  lightColl = cms.double(0.03),
64  # Light Collection uniformity
65  lightCollUnif = cms.double(0.003),
66  # Photostatistics (photons/GeV) in the homegeneous material
67  photoStatistics = cms.double(50.E3),
68  # Thickness of the detector in cm
69  thickness = cms.double(23.0),
70 
71  #====== Global parameters of the material ========
72 
73  # Interaction length in cm
74  interactionLength = cms.double(18.5),
75  Aeff = cms.double(170.87),
76  Zeff = cms.double(68.36),
77  rho = cms.double(8.280),
78  # Radiation length in g/cm^2
79  radLenIngcm2 = cms.double(7.37),
80 
81  # ===== Those parameters might be entered by hand
82  # or calculated out of the previous ones
83 
84  # Radiation length in cm. If value set to -1, FastSim uses internally the
85  # formula radLenIngcm2/rho
86  radLenIncm = cms.double(0.89),
87  # Critical energy in GeV. If value set to -1, FastSim uses internally the
88  # formula (2.66E-3*(x0*Z/A)^1.1): 8.74E-3 for ECAL EndCap
89  criticalEnergy = cms.double(8.74E-3),
90  # Moliere Radius in cm.If value set to -1, FastSim uses internally the
91  # formula : Es/criticalEnergy*X0 with Es=sqrt(4*Pi/alphaEM)*me*c^2=0.0212 GeV
92  # This value is known to be 2.190 cm for ECAL Endcap, but the formula gives 2.159 cm
93  moliereRadius = cms.double(2.190),
94 
95  #====== Parameters for sampling ECAL ========
96 
97  # Sampling Fraction: Fs = X0eff/(da+dp) where X0eff is the average X0
98  # of the active and passive media and da/dp their thicknesses
99  Fs = cms.double(0.0),
100 
101  # e/mip for the calorimeter. May be estimated by 1./(1+0.007*(Zp-Za))
102  ehat = cms.double(0.0),
103 
104  # a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
105  # it is used to generate Nspots in radial profiles.
106  resE = cms.double(1.),
107 
108  # Is a homogenious detector?
109  bHom = cms.bool(True),
110 
111  # Activate the LogDebug
112  debug = cms.bool(False)
113 
114  ),
115 
116  EndcapCalorimeterProperties = cms.PSet(
117 
118  #====== Geometrical material properties ========
119 
120  # Light Collection efficiency
121  lightColl = cms.double(0.023),
122  # Light Collection uniformity
123  lightCollUnif = cms.double(0.003),
124  # Photostatistics (photons/GeV) in the homegeneous material
125  photoStatistics = cms.double(50.E3),
126  # Thickness of the detector in cm
127  thickness = cms.double(22.0),
128 
129  #====== Global parameters of the material ========
130 
131  # Interaction length in cm
132  interactionLength = cms.double(18.5),
133  Aeff = cms.double(170.87),
134  Zeff = cms.double(68.36),
135  rho = cms.double(8.280),
136  # Radiation length in g/cm^2
137  radLenIngcm2 = cms.double(7.37),
138 
139  # ===== Those parameters might be entered by hand
140  # or calculated out of the previous ones
141 
142  # Radiation length in cm. If value set to -1, FastSim uses internally the
143  # formula radLenIngcm2/rho
144  radLenIncm = cms.double(0.89),
145  # Critical energy in GeV. If value set to -1, FastSim uses internally the
146  # formula (2.66E-3*(x0*Z/A)^1.1): 8.74E-3 for ECAL EndCap
147  criticalEnergy = cms.double(8.74E-3),
148  # Moliere Radius in cm.If value set to -1, FastSim uses internally the
149  # formula : Es/criticalEnergy*X0 with Es=sqrt(4*Pi/alphaEM)*me*c^2=0.0212 GeV
150  # This value is known to be 2.190 cm for ECAL Endcap, but the formula gives 2.159 cm
151  moliereRadius = cms.double(2.190),
152 
153 
154  #====== Parameters for sampling ECAL ========
155 
156  # Sampling Fraction: Fs = X0eff/(da+dp) where X0eff is the average X0
157  # of the active and passive media and da/dp their thicknesses
158  Fs = cms.double(0.0),
159 
160  # e/mip for the calorimeter. May be estimated by 1./(1+0.007*(Zp-Za))
161  ehat = cms.double(0.0),
162 
163  # a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
164  # it is used to generate Nspots in radial profiles.
165  resE = cms.double(1.),
166 
167  # Is a homogenious detector?
168  bHom = cms.bool(True),
169 
170  # Activate the LogDebug
171  debug = cms.bool(False)
172 
173  )
174 
175  ),
176  UnfoldedMode = cms.untracked.bool(False),
177  Debug = cms.untracked.bool(False),
178  useDQM = cms.untracked.bool(False),
179 # EvtsToDebug = cms.untracked.vuint32(487),
180  HCAL = cms.PSet(
181  SimMethod = cms.int32(0), ## 0 - use HDShower, 1 - use HDRShower, 2 - GFLASH
182  GridSize = cms.int32(7),
183  #-- 0 - simple response, 1 - parametrized response + showering, 2 - tabulated response + showering
184  SimOption = cms.int32(2)
185  )
186  ),
187  GFlash = cms.PSet(
188  GflashExportToFastSim = cms.bool(True),
189  GflashHadronPhysics = cms.string('QGSP_BERT'),
190  GflashEMShowerModel = cms.bool(False),
191  GflashHadronShowerModel = cms.bool(True),
192  GflashHcalOuter = cms.bool(False),
193  GflashHistogram = cms.bool(False),
194  GflashHistogramName = cms.string('gflash_histogram.root'),
195  Verbosity = cms.untracked.int32(0),
196  bField = cms.double(3.8),
197  watcherOn = cms.bool(False),
198  tuning_pList = cms.vdouble()
199  )
200 )
201