Changeset 3908


Ignore:
Timestamp:
04/30/04 14:50:27 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3907 r3908  
    2020 2004/04/30: Markus Gaug
    2121 
     22   * mcalib/MHCalibrationRelTimePix.[h,cc]
     23     - take out commented part of code related to re-normalization
     24
    2225   * mcalib/MHCalibrationCam.[h,cc]
    2326     - retrieve the used run numbers in order to store them in teh
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.cc

    r3840 r3908  
    3131//  pixel number 1 (hardware index: 2). Times are taken from MArrivalTimePix
    3232//
    33 //  Results are re-normalized to a value per time (ns) with the formulae:
    34 //
    35 // - Mean Rel. Time         = Mean Rel. Time        * fFADCSliceWidth
    36 // - Mean Rel. Time Error   = Mean Rel. Time Error  * fFADCSliceWidth
    37 // - Sigma Rel. Time        = Sigma Rel. Time       * fFADCSliceWidth
    38 // - Sigma Rel. Time Error  = Sigma Rel. Time Error * fFADCSliceWidth
    39 //
    4033//////////////////////////////////////////////////////////////////////////////
    4134#include "MHCalibrationRelTimePix.h"
     
    9588}
    9689
    97 // --------------------------------------------------------------------------
    98 //
    99 // If mean and sigma have not yet been set, returns.
    100 //
    101 // HAS BEEN COMMENTED IN ORDER TO ALLOW FURTHER CALIBRATION OF OFFSETS IN DATA
    102 // RETURNS ALWAYS WITHOUT RENORMALIZING!!
    103 // Results are re-normalized to a value per time (ns) with the formulae:
    104 //
    105 // - Mean Rel. Time         = Mean Rel. Time        * fFADCSliceWidth
    106 // - Mean Rel. Time Error   = Mean Rel. Time Error  * fFADCSliceWidth
    107 // - Sigma Rel. Time        = Sigma Rel. Time       * fFADCSliceWidth
    108 // - Sigma Rel. Time Error  = Sigma Rel. Time Error * fFADCSliceWidth
    109 //
    110 void MHCalibrationRelTimePix::Renorm()
    111 {
    112 
    113   /*
    114   if (fMean == fMeanErr == fSigma == fSigmaErr == 0.)
    115     return;
    116 
    117   fMean    *= fFADCSliceWidth;
    118   fMeanErr *= fFADCSliceWidth;
    119   fSigma   *= fFADCSliceWidth;
    120   fSigmaErr*= fFADCSliceWidth;
    121   */
    122 }
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.h

    r3840 r3908  
    1616  static const Float_t fgFADCSliceWidth;    //! Default for fFADCSliceWidth (now set to: 3.333)
    1717 
    18   Float_t fFADCSliceWidth;                  //  Time FADC Slice Width in ns.
     18  Float_t fFADCSliceWidth;                 //  Time FADC Slice Width in ns.
    1919 
    2020public:
     
    3030 
    3131  void Reset();
    32   void Renorm();
    3332 
    3433  ClassDef(MHCalibrationRelTimePix, 1)     // Histogram class for Relative Time Pixel Calibration
Note: See TracChangeset for help on using the changeset viewer.