test
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[3] = {12.2999, -2.19142, 0};
23 
27  static double delay(double fC, BiasSetting bias=Medium);
28  static double delay(double fC, ParaSource source=InputPars, BiasSetting bias=Medium, double par0=tspar[0], double par1=tspar[1], double par2=tspar[2], bool isHPD=true);
29 };
30 
31 #endif
#define constexpr
static constexpr double tspar[3]
Definition: HcalTimeSlew.h:22
tuple par0
Definition: fitWZ.py:51
static std::string const source
Definition: EdmProvDump.cc:43
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:15