Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:33

0001 #ifndef CALIBCALORIMETRY_CASTORCALIB_CASTORTIMESLEW_H
0002 #define CALIBCALORIMETRY_CASTORCALIB_CASTORTIMESLEW_H 1
0003 
0004 /** \class CastorTimeSlew
0005   * 
0006   * copy from HCAL (author: J. Mans)
0007   *
0008   * Provides pulse delay as a function of amplitude for three choices
0009   * of QIE bias setting.  The "Medium" setting is used in HB and HE,
0010   * while the "Slow" (and lower noise) setting is used in HO.  All
0011   * data taken from bench measurements of the QIE and plotted in
0012   * Physics TDR Vol 1.
0013   *
0014   * Not to be used for HF at this time (unlikely to have much effect, however)
0015   *
0016   */
0017 class CastorTimeSlew {
0018 public:
0019   enum BiasSetting { Slow = 0, Medium = 1, Fast = 2 };
0020 
0021   /** \brief Returns the amount (ns) by which a pulse of the given
0022    number of fC will be delayed by the timeslew effect, for the
0023    specified bias setting. */
0024   static double delay(double fC, BiasSetting bias = Medium);
0025 };
0026 
0027 #endif