CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions
HcalTimeSlew Class Reference

#include <HcalTimeSlew.h>

Public Types

enum  BiasSetting { Slow =0, Medium =1, Fast =2 }
 

Static Public Member Functions

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 effect, for the specified bias setting. More...
 

Detailed Description

Provides pulse delay as a function of amplitude for three choices of QIE bias setting. The "Medium" setting is used in HB and HE, while the "Slow" (and lower noise) setting is used in HO. All data taken from bench measurements of the QIE and plotted in Physics TDR Vol 1.

Not to be used for HF at this time (unlikely to have much effect, however)

Author
J. Mans - Minnesota

Definition at line 17 of file HcalTimeSlew.h.

Member Enumeration Documentation

Enumerator
Slow 
Medium 
Fast 

Definition at line 19 of file HcalTimeSlew.h.

Member Function Documentation

double HcalTimeSlew::delay ( double  fC,
BiasSetting  bias = Medium 
)
static

Returns the amount (ns) by which a pulse of the given number of fC will be delayed by the timeslew effect, for the specified bias setting.

Definition at line 8 of file HcalTimeSlew.cc.

References log, slope, tmax, and tzero.

Referenced by HcalPulseContainmentAlgo::calcpair(), HcalTimeSlewSim::delay(), HcalHitCorrection::delay(), and HcalSimpleRecAlgoImpl::reco().

8  {
9  double rawDelay=tzero[bias]+slope[bias]*log(fC);
10  return (rawDelay<0)?(0):((rawDelay>tmax[bias])?(tmax[bias]):(rawDelay));
11 }
static std::vector< std::string > checklist log
static const double slope[3]
Definition: HcalTimeSlew.cc:5
static const double tzero[3]
Definition: HcalTimeSlew.cc:4
static const double tmax[3]
Definition: HcalTimeSlew.cc:6