CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTimeSlew.h
Go to the documentation of this file.
1 #ifndef CALIBCALORIMETRY_HCALALGOS_HCALTIMESLEW_H
2 #define CALIBCALORIMETRY_HCALALGOS_HCALTIMESLEW_H 1
3 
4 #include <iostream>
5 
18 class HcalTimeSlew {
19  public:
20  enum ParaSource { TestStand=0, Data=1, MC=2, InputPars=3 };
21  enum BiasSetting { Slow=0, Medium=1, Fast=2 };
22  static constexpr double tspar[2] = {9.27638, -2.05585};
23 
27  static double delay(double fC, BiasSetting bias=Medium);
28  static double delay(double fC, ParaSource source=TestStand, BiasSetting bias=Medium, double par0=tspar[0], double par1=tspar[1]);
29 };
30 
31 #endif
static constexpr double tspar[2]
Definition: HcalTimeSlew.h:22
#define constexpr
tuple par0
Definition: fitWZ.py:51
static std::string const source
Definition: EdmProvDump.cc:42
static double delay(double fC, BiasSetting bias=Medium)
Returns the amount (ns) by which a pulse of the given number of fC will be delayed by the timeslew ef...
Definition: HcalTimeSlew.cc:11