Ignore:
Timestamp:
11/25/05 14:47:57 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
2 edited

Legend:

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

    r7288 r7430  
    102102#include "MHCalibrationCam.h"
    103103
    104 #include "MLog.h"
    105 #include "MLogManip.h"
    106 
    107 #include "MParList.h"
    108 
    109 #include "MHCalibrationPix.h"
    110 
    111 #include "MCalibrationIntensityCam.h"
    112 #include "MCalibrationChargeCam.h"
    113 #include "MCalibrationChargePix.h"
    114 
    115 #include "MGeomCam.h"
    116 #include "MGeomPix.h"
    117 
    118 #include "MBadPixelsIntensityCam.h"
    119 #include "MBadPixelsCam.h"
    120 #include "MBadPixelsPix.h"
    121 
    122 #include "MRawEvtData.h"
    123 #include "MRawRunHeader.h"
    124 #include "MRawEvtPixelIter.h"
    125 
    126 #include "MExtractedSignalCam.h"
    127 #include "MExtractedSignalPix.h"
    128 
    129 #include "MArrayI.h"
    130 #include "MArrayD.h"
    131 
    132104#include <TOrdCollection.h>
    133105#include <TPad.h>
     
    140112#include <TGraph.h>
    141113#include <TEnv.h>
     114
     115#include "MLog.h"
     116#include "MLogManip.h"
     117
     118#include "MParList.h"
     119
     120#include "MHCalibrationPix.h"
     121
     122#include "MCalibrationIntensityCam.h"
     123#include "MCalibrationChargeCam.h"
     124#include "MCalibrationChargePix.h"
     125
     126#include "MGeomCam.h"
     127#include "MGeomPix.h"
     128
     129#include "MBadPixelsIntensityCam.h"
     130#include "MBadPixelsCam.h"
     131#include "MBadPixelsPix.h"
     132
     133#include "MRawEvtData.h"
     134#include "MRawRunHeader.h"
     135#include "MRawEvtPixelIter.h"
     136
     137#include "MExtractedSignalCam.h"
     138#include "MExtractedSignalPix.h"
     139
     140#include "MArrayI.h"
     141#include "MArrayD.h"
    142142
    143143ClassImp(MHCalibrationPulseTimeCam);
     
    512512  *fLog << endl;
    513513
    514   MCalibrationCam *calcam  = fIntensCam ? fIntensCam->GetCam() : fCam;
     514  MCalibrationCam &calcam  = *(fIntensCam ? fIntensCam->GetCam() : fCam);
    515515  //
    516516  // Perform the fitting for the High Gain (done in MHCalibrationCam)
     
    524524        continue;
    525525     
    526       MCalibrationPix &pix    = (*calcam)[i];
     526      MCalibrationPix &pix    = calcam[i];
    527527      CalcHists(hist,pix);
    528528    }
     
    534534    {
    535535     
    536       MHCalibrationPix &hist = GetAverageHiGainArea(j);     
    537       MCalibrationPix  &pix  = calcam->GetAverageArea(j);
     536      MHCalibrationPix &hist = GetAverageHiGainArea(j);
     537      MCalibrationPix  &pix  = calcam.GetAverageArea(j);
    538538      CalcHists(hist,pix);
    539539  }
     
    541541  for (Int_t j=0; j<fAverageHiGainSectors->GetSize(); j++)
    542542    {
    543       MHCalibrationPix &hist = GetAverageHiGainSector(j);     
    544       MCalibrationPix  &pix  = calcam->GetAverageSector(j);
     543      MHCalibrationPix &hist = GetAverageHiGainSector(j);
     544      MCalibrationPix  &pix  = calcam.GetAverageSector(j);
    545545      CalcHists(hist,pix);
    546546    }
     
    549549}
    550550
    551 void MHCalibrationPulseTimeCam::CalcHists(MHCalibrationPix &hist, MCalibrationPix &pix)
     551void MHCalibrationPulseTimeCam::CalcHists(MHCalibrationPix &hist, MCalibrationPix &pix) const
    552552{
    553553
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.h

    r6729 r7430  
    6161  void   DrawDataCheckPixel(MHCalibrationPix &pix, const Float_t refline);
    6262  void   DisplayRefLines   ( const TH1F *hist,           const Float_t refline) const;
    63   void   CalcHists         (MHCalibrationPix &hist, MCalibrationPix &pix);
     63  void   CalcHists         (MHCalibrationPix &hist, MCalibrationPix &pix) const;
    6464
    6565  Int_t ReadEnv        ( const TEnv &env, TString prefix, Bool_t print);
Note: See TracChangeset for help on using the changeset viewer.