CMS 3D CMS Logo

CastorTimeSlew Class Reference

copy from HCAL (author: J. More...

#include <CalibCalorimetry/CastorCalib/interface/CastorTimeSlew.h>

List of all members.

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.


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 18 of file CastorTimeSlew.h.


Member Enumeration Documentation

enum CastorTimeSlew::BiasSetting

Enumerator:
Slow 
Medium 
Fast 

Definition at line 20 of file CastorTimeSlew.h.

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


Member Function Documentation

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.

References funct::log(), slope, tmax, and tzero.

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

00009                                                         {
00010   double rawDelay=tzero[bias]+slope[bias]*log(fC);
00011   return (rawDelay<0)?(0):((rawDelay>tmax[bias])?(tmax[bias]):(rawDelay));                         
00012 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:16:15 2009 for CMSSW by  doxygen 1.5.4