CMS 3D CMS Logo

HGCFEElectronics.cc
Go to the documentation of this file.
4 
5 #include "vdt/vdtMath.h"
6 
7 using namespace hgc_digi;
8 
9 //
10 template <class DFr>
12  : fwVersion_{ps.getParameter<uint32_t>("fwVersion")},
13  adcPulse_{},
14  pulseAvgT_{},
15  tdcForToAOnset_fC_{},
16  adcSaturation_fC_{-1.0},
17  adcLSB_fC_{},
18  tdcLSB_fC_{},
19  tdcSaturation_fC_{-1.0},
20  adcThreshold_fC_{},
21  tdcOnset_fC_{},
22  toaLSB_ns_{},
23  tdcResolutionInNs_{1e-9}, // set time resolution very small by default
24  targetMIPvalue_ADC_{},
25  jitterNoise2_ns_{},
26  jitterConstant2_ns_{},
27  noise_fC_{},
28  toaMode_(WEIGHTEDBYE) {
29  edm::LogVerbatim("HGCFE") << "[HGCFEElectronics] running with version " << fwVersion_ << std::endl;
30  if (ps.exists("adcPulse")) {
31  auto temp = ps.getParameter<std::vector<double> >("adcPulse");
32  for (unsigned i = 0; i < temp.size(); ++i) {
33  adcPulse_[i] = (float)temp[i];
34  }
35  // normalize adc pulse
36  for (unsigned i = 0; i < adcPulse_.size(); ++i) {
37  adcPulse_[i] = adcPulse_[i] / adcPulse_[2];
38  }
39  temp = ps.getParameter<std::vector<double> >("pulseAvgT");
40  for (unsigned i = 0; i < temp.size(); ++i) {
41  pulseAvgT_[i] = (float)temp[i];
42  }
43  }
44  if (ps.exists("adcNbits")) {
45  uint32_t adcNbits = ps.getParameter<uint32_t>("adcNbits");
46  adcSaturation_fC_ = ps.getParameter<double>("adcSaturation_fC");
47  adcLSB_fC_ = adcSaturation_fC_ / pow(2., adcNbits);
48  edm::LogVerbatim("HGCFE") << "[HGCFEElectronics] " << adcNbits << " bit ADC defined"
49  << " with LSB=" << adcLSB_fC_ << " saturation to occur @ " << adcSaturation_fC_
50  << std::endl;
51  }
52 
53  if (ps.exists("tdcNbits")) {
54  uint32_t tdcNbits = ps.getParameter<uint32_t>("tdcNbits");
55  tdcSaturation_fC_ = ps.getParameter<double>("tdcSaturation_fC");
56  tdcLSB_fC_ = tdcSaturation_fC_ / pow(2., tdcNbits);
57  // lower tdcSaturation_fC_ by one part in a million
58  // to ensure largest charge converted in bits is 0xfff and not 0x000
59  tdcSaturation_fC_ *= (1. - 1e-6);
60  edm::LogVerbatim("HGCFE") << "[HGCFEElectronics] " << tdcNbits << " bit TDC defined with LSB=" << tdcLSB_fC_
61  << " saturation to occur @ " << tdcSaturation_fC_
62  << " (NB lowered by 1 part in a million)" << std::endl;
63  }
64  if (ps.exists("targetMIPvalue_ADC"))
65  targetMIPvalue_ADC_ = ps.getParameter<uint32_t>("targetMIPvalue_ADC");
66  if (ps.exists("adcThreshold_fC"))
67  adcThreshold_fC_ = ps.getParameter<double>("adcThreshold_fC");
68  if (ps.exists("tdcOnset_fC"))
69  tdcOnset_fC_ = ps.getParameter<double>("tdcOnset_fC");
70  if (ps.exists("tdcForToAOnset_fC")) {
71  auto temp = ps.getParameter<std::vector<double> >("tdcForToAOnset_fC");
72  if (temp.size() == tdcForToAOnset_fC_.size()) {
73  std::copy_n(temp.begin(), temp.size(), tdcForToAOnset_fC_.begin());
74  } else {
75  throw cms::Exception("BadConfiguration") << " HGCFEElectronics wrong size for ToA thresholds ";
76  }
77  }
78  if (ps.exists("toaLSB_ns"))
79  toaLSB_ns_ = ps.getParameter<double>("toaLSB_ns");
80  if (ps.exists("tdcChargeDrainParameterisation")) {
81  for (auto val : ps.getParameter<std::vector<double> >("tdcChargeDrainParameterisation")) {
82  tdcChargeDrainParameterisation_.push_back((float)val);
83  }
84  }
85  if (ps.exists("tdcResolutionInPs"))
86  tdcResolutionInNs_ = ps.getParameter<double>("tdcResolutionInPs") * 1e-3; // convert to ns
87  if (ps.exists("toaMode"))
88  toaMode_ = ps.getParameter<uint32_t>("toaMode");
89 
90  if (ps.exists("jitterNoise_ns")) {
91  auto temp = ps.getParameter<std::vector<double> >("jitterNoise_ns");
92  if (temp.size() == jitterNoise2_ns_.size()) {
93  std::copy_n(temp.begin(), temp.size(), jitterNoise2_ns_.begin());
94  } else {
95  throw cms::Exception("BadConfiguration") << " HGCFEElectronics wrong size for ToA jitterNoise ";
96  }
97  }
98  if (ps.exists("jitterConstant_ns")) {
99  auto temp = ps.getParameter<std::vector<double> >("jitterConstant_ns");
100  if (temp.size() == jitterConstant2_ns_.size()) {
101  std::copy_n(temp.begin(), temp.size(), jitterConstant2_ns_.begin());
102  } else {
103  throw cms::Exception("BadConfiguration") << " HGCFEElectronics wrong size for ToA jitterConstant ";
104  }
105  }
106 }
107 
108 //
109 template <class DFr>
111  DFr& dataFrame, HGCSimHitData& chargeColl, uint32_t thrADC, float lsbADC, uint32_t gainIdx, float maxADC) {
112  bool debug(false);
113 
114 #ifdef EDM_ML_DEBUG
115  for (int it = 0; it < (int)(chargeColl.size()); it++)
116  debug |= (chargeColl[it] > adcThreshold_fC_);
117 #endif
118 
119  if (debug)
120  edm::LogVerbatim("HGCFE") << "[runTrivialShaper]" << std::endl;
121 
122  if (lsbADC < 0)
123  lsbADC = adcLSB_fC_;
124  if (maxADC < 0)
125  // lower adcSaturation_fC_ by one part in a million
126  // to ensure largest charge converted in bits is 0xfff==4095, not 0x1000
127  // no effect on charges loewer than; no impact on cpu time, only done once
128  maxADC = adcSaturation_fC_ * (1 - 1e-6);
129  for (int it = 0; it < (int)(chargeColl.size()); it++) {
130  //brute force saturation, maybe could to better with an exponential like saturation
131  const uint32_t adc = std::floor(std::min(chargeColl[it], maxADC) / lsbADC);
132  HGCSample newSample;
133  newSample.set(adc > thrADC, false, gainIdx, 0, adc);
134  dataFrame.setSample(it, newSample);
135 
136  if (debug)
137  edm::LogVerbatim("HGCFE") << adc << " (" << chargeColl[it] << "/" << adcLSB_fC_ << ") ";
138  }
139 
140  if (debug) {
141  std::ostringstream msg;
142  dataFrame.print(msg);
143  edm::LogVerbatim("HGCFE") << msg.str() << std::endl;
144  }
145 }
146 
147 //
148 template <class DFr>
150  DFr& dataFrame, HGCSimHitData& chargeColl, uint32_t thrADC, float lsbADC, uint32_t gainIdx, float maxADC) {
151  //convolute with pulse shape to compute new ADCs
152  newCharge.fill(0.f);
153  bool debug(false);
154  for (int it = 0; it < (int)(chargeColl.size()); it++) {
155  const float charge(chargeColl[it]);
156  if (charge == 0.f)
157  continue;
158 
159 #ifdef EDM_ML_DEBUG
160  debug |= (charge > adcThreshold_fC_);
161 #endif
162 
163  if (debug)
164  edm::LogVerbatim("HGCFE") << "\t Redistributing SARS ADC" << charge << " @ " << it;
165 
166  for (int ipulse = -2; ipulse < (int)(adcPulse_.size()) - 2; ipulse++) {
167  if (it + ipulse < 0)
168  continue;
169  if (it + ipulse >= (int)(dataFrame.size()))
170  continue;
171  const float chargeLeak = charge * adcPulse_[(ipulse + 2)];
172  newCharge[it + ipulse] += chargeLeak;
173 
174  if (debug)
175  edm::LogVerbatim("HGCFE") << " | " << it + ipulse << " " << chargeLeak;
176  }
177 
178  if (debug)
179  edm::LogVerbatim("HGCFE") << std::endl;
180  }
181 
182  for (int it = 0; it < (int)(newCharge.size()); it++) {
183  //brute force saturation, maybe could to better with an exponential like saturation
184  const uint32_t adc = std::floor(std::min(newCharge[it], maxADC) / lsbADC);
185  HGCSample newSample;
186  newSample.set(adc > thrADC, false, gainIdx, 0, adc);
187  dataFrame.setSample(it, newSample);
188 
189  if (debug)
190  edm::LogVerbatim("HGCFE") << adc << " (" << std::min(newCharge[it], maxADC) << "/" << lsbADC << " ) ";
191  }
192 
193  if (debug) {
194  std::ostringstream msg;
195  dataFrame.print(msg);
196  edm::LogVerbatim("HGCFE") << msg.str() << std::endl;
197  }
198 }
199 
200 //
201 template <class DFr>
203  HGCSimHitData& chargeColl,
204  HGCSimHitData& toaColl,
205  CLHEP::HepRandomEngine* engine,
206  uint32_t thrADC,
207  float lsbADC,
208  uint32_t gainIdx,
209  float maxADC,
210  int thickness) {
211  busyFlags.fill(false);
212  totFlags.fill(false);
213  toaFlags.fill(false);
214  newCharge.fill(0.f);
215  toaFromToT.fill(0.f);
216 
217 #ifdef EDM_ML_DEBUG
218  constexpr bool debug_state(true);
219 #else
220  constexpr bool debug_state(false);
221 #endif
222 
223  bool debug = debug_state;
224  float timeToA = 0.f;
225 
226  //first look at time
227  //for pileup look only at intime signals
228  //ToA is in central BX if fired -- std::floor(BX/25.)+9;
229  int fireBX = 9;
230  //noise fluctuation on charge is added after ToA computation
231  //do not recheck the ToA firing threshold tdcForToAOnset_fC_[thickness-1] not to bias the efficiency
232  //to be done properly with realistic ToA shaper and jitter for the moment accounted in the smearing
233  if (toaColl[fireBX] != 0.f) {
234  timeToA = toaColl[fireBX];
235  float jitter = getTimeJitter(chargeColl[fireBX], thickness);
236  if (jitter != 0)
237  timeToA = CLHEP::RandGaussQ::shoot(engine, timeToA, jitter);
238  else if (tdcResolutionInNs_ != 0)
239  timeToA = CLHEP::RandGaussQ::shoot(engine, timeToA, tdcResolutionInNs_);
240  if (timeToA >= 0.f && timeToA <= 25.f)
241  toaFlags[fireBX] = true;
242  }
243 
244  //now look at charge
245  //first identify bunches which will trigger ToT
246  //if(debug_state) edm::LogVerbatim("HGCFE") << "[runShaperWithToT]" << std::endl;
247  for (int it = 0; it < (int)(chargeColl.size()); ++it) {
248  debug = debug_state;
249  //if already flagged as busy it can't be re-used to trigger the ToT
250  if (busyFlags[it])
251  continue;
252 
253  //if below TDC onset will be handled by SARS ADC later
254  float charge = chargeColl[it];
255  if (charge < tdcOnset_fC_) {
256  debug = false;
257  continue;
258  }
259 
260  //raise TDC mode for charge computation
261  //ToA anyway fired independently will be sorted out with realistic ToA dedicated shaper
262  float toa = timeToA;
263  totFlags[it] = true;
264 
265  if (debug)
266  edm::LogVerbatim("HGCFE") << "\t q=" << charge << " fC with <toa>=" << toa << " ns, triggers ToT @ " << it
267  << std::endl;
268 
269  //compute total charge to be integrated and integration time
270  //needs a loop as ToT will last as long as there is charge to dissipate
271  int busyBxs(0);
272  float totalCharge(charge), finalToA(toa), integTime(0);
273  while (true) {
274  //compute integration time in ns and # bunches
275  //float newIntegTime(0);
276  int poffset = 0;
277  float charge_offset = 0.f;
278  const float charge_kfC(totalCharge * 1e-3);
279  if (charge_kfC < tdcChargeDrainParameterisation_[3]) {
280  //newIntegTime=tdcChargeDrainParameterisation_[0]*pow(charge_kfC,2)+tdcChargeDrainParameterisation_[1]*charge_kfC+tdcChargeDrainParameterisation_[2];
281  } else if (charge_kfC < tdcChargeDrainParameterisation_[7]) {
282  poffset = 4;
283  charge_offset = tdcChargeDrainParameterisation_[3];
284  //newIntegTime=tdcChargeDrainParameterisation_[4]*pow(charge_kfC-tdcChargeDrainParameterisation_[3],2)+tdcChargeDrainParameterisation_[5]*(charge_kfC-tdcChargeDrainParameterisation_[3])+tdcChargeDrainParameterisation_[6];
285  } else {
286  poffset = 8;
287  charge_offset = tdcChargeDrainParameterisation_[7];
288  //newIntegTime=tdcChargeDrainParameterisation_[8]*pow(charge_kfC-tdcChargeDrainParameterisation_[7],2)+tdcChargeDrainParameterisation_[9]*(charge_kfC-tdcChargeDrainParameterisation_[7])+tdcChargeDrainParameterisation_[10];
289  }
290  const float charge_mod = charge_kfC - charge_offset;
291  const float newIntegTime =
292  ((tdcChargeDrainParameterisation_[poffset] * charge_mod + tdcChargeDrainParameterisation_[poffset + 1]) *
293  charge_mod +
294  tdcChargeDrainParameterisation_[poffset + 2]);
295 
296  const int newBusyBxs = std::floor(newIntegTime / 25.f) + 1;
297 
298  //if no update is needed regarding the number of bunches,
299  //then the ToT integration time has converged
300  integTime = newIntegTime;
301  if (newBusyBxs == busyBxs)
302  break;
303 
304  //update charge integrated during ToT
305  if (debug) {
306  if (busyBxs == 0)
307  edm::LogVerbatim("HGCFE") << "\t Intial busy estimate=" << integTime << " ns = " << newBusyBxs << " bxs"
308  << std::endl;
309  else
310  edm::LogVerbatim("HGCFE") << "\t ...integrated charge overflows initial busy estimate, interating again"
311  << std::endl;
312  }
313 
314  //update number of busy bunches
315  busyBxs = newBusyBxs;
316 
317  //reset charge to be integrated
318  totalCharge = charge;
319  if (toaMode_ == WEIGHTEDBYE)
320  finalToA = toa * charge;
321 
322  //add leakage from previous bunches in SARS ADC mode
323  for (int jt = 0; jt < it; ++jt) {
324  const unsigned int deltaT = (it - jt);
325  if ((deltaT + 2) >= adcPulse_.size() || chargeColl[jt] == 0.f || totFlags[jt] || busyFlags[jt])
326  continue;
327 
328  const float leakCharge = chargeColl[jt] * adcPulse_[deltaT + 2];
329  totalCharge += leakCharge;
330  if (toaMode_ == WEIGHTEDBYE)
331  finalToA += leakCharge * pulseAvgT_[deltaT + 2];
332 
333  if (debug)
334  edm::LogVerbatim("HGCFE") << "\t\t leaking " << chargeColl[jt] << " fC @ deltaT=-" << deltaT << " -> +"
335  << leakCharge << " with avgT=" << pulseAvgT_[deltaT + 2] << std::endl;
336  }
337 
338  //add contamination from posterior bunches
339  for (int jt = it + 1; jt < it + busyBxs && jt < dataFrame.size(); ++jt) {
340  //this charge will be integrated in TDC mode
341  //disable for SARS ADC
342  busyFlags[jt] = true;
343 
344  const float extraCharge = chargeColl[jt];
345  if (extraCharge == 0.f)
346  continue;
347  if (debug)
348  edm::LogVerbatim("HGCFE") << "\t\t adding " << extraCharge << " fC @ deltaT=+" << (jt - it) << std::endl;
349 
350  totalCharge += extraCharge;
351  if (toaMode_ == WEIGHTEDBYE)
352  finalToA += extraCharge * toaColl[jt];
353  }
354 
355  //finalize ToA contamination
356  if (toaMode_ == WEIGHTEDBYE)
357  finalToA /= totalCharge;
358  }
359  newCharge[it] = (totalCharge - tdcOnset_fC_);
360 
361  if (debug)
362  edm::LogVerbatim("HGCFE") << "\t Final busy estimate=" << integTime << " ns = " << busyBxs << " bxs" << std::endl
363  << "\t Total integrated=" << totalCharge << " fC <toa>=" << toaFromToT[it]
364  << " (raw=" << finalToA << ") ns " << std::endl;
365 
366  //last fC (tdcOnset) are dissipated trough pulse
367  if (it + busyBxs < (int)(newCharge.size())) {
368  const float deltaT2nextBx((busyBxs * 25 - integTime));
369  const float tdcOnsetLeakage(tdcOnset_fC_ * vdt::fast_expf(-deltaT2nextBx / tdcChargeDrainParameterisation_[11]));
370  if (debug)
371  edm::LogVerbatim("HGCFE") << "\t Leaking remainder of TDC onset " << tdcOnset_fC_ << " fC, to be dissipated in "
372  << deltaT2nextBx << " DeltaT/tau=" << deltaT2nextBx << " / "
373  << tdcChargeDrainParameterisation_[11] << " ns, adds " << tdcOnsetLeakage << " fC @ "
374  << it + busyBxs << " bx (first free bx)" << std::endl;
375  newCharge[it + busyBxs] += tdcOnsetLeakage;
376  }
377  }
378 
379  //including the leakage from bunches in SARS ADC when not declared busy or in ToT
380  auto runChargeSharing = [&]() {
381  int ipulse = 0;
382  for (int it = 0; it < (int)(chargeColl.size()); ++it) {
383  //if busy, charge has been already integrated
384  //if(debug) edm::LogVerbatim("HGCFE") << "\t SARS ADC pulse activated @ " << it << " : ";
385  if (!totFlags[it] & !busyFlags[it]) {
386  const int start = std::max(0, 2 - it);
387  const int stop = std::min((int)adcPulse_.size(), (int)newCharge.size() - it + 2);
388  for (ipulse = start; ipulse < stop; ++ipulse) {
389  const int itoffset = it + ipulse - 2;
390  //notice that if the channel is already busy,
391  //it has already been affected by the leakage of the SARS ADC
392  //if(totFlags[itoffset] || busyFlags[itoffset]) continue;
393  if (!totFlags[itoffset] & !busyFlags[itoffset]) {
394  newCharge[itoffset] += chargeColl[it] * adcPulse_[ipulse];
395  }
396  //if(debug) edm::LogVerbatim("HGCFE") << " | " << itoffset << " " << chargeColl[it]*adcPulse_[ipulse] << "( " << chargeColl[it] << "->";
397  //if(debug) edm::LogVerbatim("HGCFE") << newCharge[itoffset] << ") ";
398  }
399  }
400 
401  if (debug)
402  edm::LogVerbatim("HGCFE") << std::endl;
403  }
404  };
405  runChargeSharing();
406 
407  //For the future need to understand how to deal with toa for out of time signals
408  //and for that should keep track of the BX firing the ToA somewhere (also to restore the use of finalToA)
409  /*
410  float finalToA(0.);
411  for(int it=0; it<(int)(newCharge.size()); it++){
412  if(toaFlags[it]){
413  finalToA = toaFromToT[it];
414  //to avoid +=25 for small negative time taken as 0
415  while(finalToA < -1.e-5) finalToA+=25.f;
416  while(finalToA > 25.f) finalToA-=25.f;
417  toaFromToT[it] = finalToA;
418  }
419  }
420  */
421  //timeToA is already in 0-25ns range by construction
422 
423  //set new ADCs and ToA
424  if (debug)
425  edm::LogVerbatim("HGCFE") << "\t final result : ";
426  if (lsbADC < 0)
427  lsbADC = adcLSB_fC_;
428  if (maxADC < 0)
429  maxADC = adcSaturation_fC_;
430  for (int it = 0; it < (int)(newCharge.size()); it++) {
431  if (debug)
432  edm::LogVerbatim("HGCFE") << chargeColl[it] << " -> " << newCharge[it] << " ";
433 
434  HGCSample newSample;
435  if (totFlags[it] || busyFlags[it]) {
436  if (totFlags[it]) {
437  //brute force saturation, maybe could to better with an exponential like saturation
438  const float saturatedCharge(std::min(newCharge[it], tdcSaturation_fC_));
439  //working version for in-time PU and signal
440  newSample.set(
441  true, true, gainIdx, (uint16_t)(timeToA / toaLSB_ns_), (uint16_t)(std::floor(saturatedCharge / tdcLSB_fC_)));
442  if (toaFlags[it])
443  newSample.setToAValid(true);
444  } else {
445  newSample.set(false, true, gainIdx, 0, 0);
446  }
447  } else {
448  //brute force saturation, maybe could to better with an exponential like saturation
449  const uint16_t adc = std::floor(std::min(newCharge[it], maxADC) / lsbADC);
450  //working version for in-time PU and signal
451  newSample.set(adc > thrADC, false, gainIdx, (uint16_t)(timeToA / toaLSB_ns_), adc);
452  if (toaFlags[it])
453  newSample.setToAValid(true);
454  }
455  dataFrame.setSample(it, newSample);
456  }
457 
458  if (debug) {
459  std::ostringstream msg;
460  dataFrame.print(msg);
461  edm::LogVerbatim("HGCFE") << msg.str() << std::endl;
462  }
463 }
464 
465 // cause the compiler to generate the appropriate code
467 template class HGCFEElectronics<HGCEEDataFrame>;
468 template class HGCFEElectronics<HGCBHDataFrame>;
469 template class HGCFEElectronics<HGCalDataFrame>;
ecalMGPA::adc
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
Definition: EcalMGPASample.h:11
HGCFEElectronics::HGCFEElectronics
HGCFEElectronics(const edm::ParameterSet &ps)
CTOR.
Definition: HGCFEElectronics.cc:11
mps_fire.i
i
Definition: mps_fire.py:355
start
Definition: start.py:1
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
min
T min(T a, T b)
Definition: MathUtil.h:58
HGCSample::set
void set(bool thr, bool mode, uint16_t gain, uint16_t toa, uint16_t data)
Definition: HGCSample.h:49
mps_check.msg
tuple msg
Definition: mps_check.py:285
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
hgc_digi
Definition: HGCDigitizerTypes.h:10
HGCSample::setToAValid
void setToAValid(bool toaFired)
Definition: HGCSample.h:47
debug
#define debug
Definition: HDRShower.cc:19
myMath::fast_expf
float fast_expf(float x)
Definition: EcalUncalibRecHitRatioMethodAlgo.h:27
Calorimetry_cff.thickness
thickness
Definition: Calorimetry_cff.py:114
HGCFEElectronics::runTrivialShaper
void runTrivialShaper(DFr &dataFrame, hgc::HGCSimHitData &chargeColl, uint32_t thrADC, float lsbADC, uint32_t gainIdx, float maxADC)
converts charge to digis without pulse shape
Definition: HGCFEElectronics.cc:110
hgc_digi::HGCSimHitData
std::array< HGCSimData_t, nSamples > HGCSimHitData
Definition: HGCDigitizerTypes.h:17
HGCSample
wrapper for a data word
Definition: HGCSample.h:13
HGCFEElectronics
models the behavior of the front-end electronics
Definition: HGCFEElectronics.h:20
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HGCFEElectronics::runSimpleShaper
void runSimpleShaper(DFr &dataFrame, hgc::HGCSimHitData &chargeColl, uint32_t thrADC, float lsbADC, uint32_t gainIdx, float maxADC)
applies a shape to each time sample and propagates the tails to the subsequent time samples
Definition: HGCFEElectronics.cc:149
HLTEgPhaseIITestSequence_cff.adcNbits
adcNbits
Definition: HLTEgPhaseIITestSequence_cff.py:945
createfilelist.int
int
Definition: createfilelist.py:10
HGCDigiCollections.h
edm::LogVerbatim
Definition: MessageLogger.h:297
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HGCFEElectronics::runShaperWithToT
void runShaperWithToT(DFr &dataFrame, hgc::HGCSimHitData &chargeColl, hgc::HGCSimHitData &toa, CLHEP::HepRandomEngine *engine, uint32_t thrADC, float lsbADC, uint32_t gainIdx, float maxADC, int thickness)
implements pulse shape and switch to time over threshold including deadtime
Definition: HGCFEElectronics.cc:202
heppy_batch.val
val
Definition: heppy_batch.py:351
transform.h
Exception
Definition: hltDiff.cc:246
HGCFEElectronics.h
HLTEgPhaseIITestSequence_cff.tdcNbits
tdcNbits
Definition: HLTEgPhaseIITestSequence_cff.py:949
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37