Changeset 8340


Ignore:
Timestamp:
03/01/07 18:06:51 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8338 r8340  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2007/03/01 Thomas Bretz
     22
     23   * mmain/MEventDisplay.cc:
     24     - didn't show callisto output anymore because of missing fundametal
     25       pedestal
     26
     27   * mbadpixels/MBadPixelsTreat.cc:
     28     - added more informative output
     29
     30   * mhcalib/MHCalibrationCam.[h,cc], mhcalib/MHCalibrationChargeCam.cc,
     31     mhcalib/MHCalibrationChargePix.h, mhcalib/MHCalibrationRelTimeCam.cc,
     32     mhcalib/MHCalibrationChargeCam.h, mhcalib/MHCalibrationChargePINDiode.h,
     33     mhcalib/MHCalibrationPulseTimeCam.cc, mhcalib/MHCalibrationTestCam.cc,
     34     mhcalib/MHCalibrationTestTimeCam.cc, mhcalib/MHGausEvents.h,
     35     mhcalib/MHCalibrationChargeBlindCam.cc, mhcalib/MHPedestalCam.cc,
     36     - replaced SetNbins/First/Last by SetBinning
     37
     38   * mhcalib/MHCalibrationChargeCam.cc:
     39     - improved output in case arrival time is out of range
     40
     41   * mhcalib/MHCalibrationPulseTimeCam.cc:
     42     - the values can only have discrete valuesno need to set a bin-width
     43       different from 1
     44     - set binning automatically by using the number of samples
     45     - fixed ReadEnv
     46
     47
     48
    2149 2007/02/28 Thomas Bretz
    2250
  • trunk/MagicSoft/Mars/NEWS

    r8330 r8340  
    33 *** <cvs>
    44
     5   - callisto: Improved binning for the pulse position check histogram
    56
    67
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc

    r8339 r8340  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.26 2007-03-01 17:59:12 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.27 2007-03-01 18:05:42 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    151151const Byte_t  MHCalibrationPulseTimeCam::fgLowerSignalLimit  = 100;
    152152const Int_t   MHCalibrationPulseTimeCam::fgNumPixelsRequired = 2;
    153 const Int_t   MHCalibrationPulseTimeCam::fgHiGainNbins =  40;
     153const Int_t   MHCalibrationPulseTimeCam::fgHiGainNbins =  20;
    154154const Axis_t  MHCalibrationPulseTimeCam::fgHiGainFirst =  -0.5;
    155155const Axis_t  MHCalibrationPulseTimeCam::fgHiGainLast  =  19.5;
     
    307307void MHCalibrationPulseTimeCam::InitHiGainArrays(const Int_t npixels, const Int_t nareas, const Int_t nsectors)
    308308{
     309
     310  const Int_t samples = fRunHeader->GetNumSamples();
     311  SetBinning(samples, -0.5, samples-0.5);
    309312 
    310313  if (fHiGainArray->GetSize()==0)
     
    703706{
    704707
    705   Bool_t rc = kFALSE;
    706 
    707   if (MHCalibrationCam::ReadEnv(env,prefix,print))
    708     rc = kTRUE;
     708  Int_t rc = MHCalibrationCam::ReadEnv(env,prefix,print);
     709  if (rc=kERROR)
     710    return kERROR;
    709711   
    710712  if (IsEnvDefined(env, prefix, "SaturationLimit", print))
Note: See TracChangeset for help on using the changeset viewer.