Changeset 8340 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 03/01/07 18:06:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r8339 r8340 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.2 6 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 $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 151 151 const Byte_t MHCalibrationPulseTimeCam::fgLowerSignalLimit = 100; 152 152 const Int_t MHCalibrationPulseTimeCam::fgNumPixelsRequired = 2; 153 const Int_t MHCalibrationPulseTimeCam::fgHiGainNbins = 40;153 const Int_t MHCalibrationPulseTimeCam::fgHiGainNbins = 20; 154 154 const Axis_t MHCalibrationPulseTimeCam::fgHiGainFirst = -0.5; 155 155 const Axis_t MHCalibrationPulseTimeCam::fgHiGainLast = 19.5; … … 307 307 void MHCalibrationPulseTimeCam::InitHiGainArrays(const Int_t npixels, const Int_t nareas, const Int_t nsectors) 308 308 { 309 310 const Int_t samples = fRunHeader->GetNumSamples(); 311 SetBinning(samples, -0.5, samples-0.5); 309 312 310 313 if (fHiGainArray->GetSize()==0) … … 703 706 { 704 707 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; 709 711 710 712 if (IsEnvDefined(env, prefix, "SaturationLimit", print))
Note:
See TracChangeset
for help on using the changeset viewer.