Changeset 8343 for trunk


Ignore:
Timestamp:
03/01/07 21:20:41 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc

    r8342 r8343  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.28 2007-03-01 18:21:08 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.29 2007-03-01 21:16:55 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    310310  const Int_t samples = fRunHeader->GetNumSamples();
    311311  SetBinning(samples, -0.5, samples-0.5);
    312  
     312
    313313  if (fHiGainArray->GetSize()==0)
    314314  {
     
    443443        continue;
    444444
    445       const Float_t time = (Float_t)maxpos;
    446 
    447       (*this)[i].FillHist(time);
     445      (*this)[i].FillHist(maxpos);
    448446       
    449447      const Int_t aidx   = (*fGeom)[i].GetAidx();
    450448      const Int_t sector = (*fGeom)[i].GetSector();
    451449
    452       fSumhiarea[aidx]      += time;
    453       fSumhisector[sector]  += time;
    454      
     450      fSumhiarea[aidx]      += maxpos;
     451      fSumhisector[sector]  += maxpos;
     452
    455453      fAverageAreaNum[aidx]++;
    456454      fAverageSectorNum[sector]++;
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc

    r8296 r8343  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MPedCalcFromLoGain.cc,v 1.35 2007-02-03 20:03:35 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MPedCalcFromLoGain.cc,v 1.36 2007-03-01 21:20:41 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    357357Int_t MPedCalcFromLoGain::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
    358358{
    359     Bool_t rc=kFALSE;
     359    Int_t rc=MExtractPedestal::ReadEnv(env, prefix, print);
     360    if (rc==kERROR)
     361        return kERROR;
    360362
    361363    // find resource for pedestal update
Note: See TracChangeset for help on using the changeset viewer.