CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
CastorTimeSlew Class Reference

#include <CastorTimeSlew.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

copy from HCAL (author: J. Mans)

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)

Definition at line 17 of file CastorTimeSlew.h.

Member Enumeration Documentation

◆ BiasSetting

Enumerator
Slow 
Medium 
Fast 

Definition at line 19 of file CastorTimeSlew.h.

19 { Slow = 0, Medium = 1, Fast = 2 };

Member Function Documentation

◆ delay()

double CastorTimeSlew::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 9 of file CastorTimeSlew.cc.

9  {
10  double rawDelay = tzero[bias] + slope[bias] * log(fC);
11  return (rawDelay < 0) ? (0) : ((rawDelay > tmax[bias]) ? (tmax[bias]) : (rawDelay));
12 }

References dqm-mbProfile::log, slope, tmax, and tzero.

Referenced by RecoFCcorFactorAlgo< S >::calcpair(), CastorHitCorrection::delay(), and CastorSimpleRecAlgoImpl::reco().

tmax
static const double tmax[3]
Definition: CastorTimeSlew.cc:7
tzero
static const double tzero[3]
Definition: CastorTimeSlew.cc:5
CastorTimeSlew::Medium
Definition: CastorTimeSlew.h:19
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
CastorTimeSlew::Fast
Definition: CastorTimeSlew.h:19
slope
static const double slope[3]
Definition: CastorTimeSlew.cc:6
CastorTimeSlew::Slow
Definition: CastorTimeSlew.h:19