Ignore:
Timestamp:
04/06/04 13:58:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc

    r3645 r3667  
    196196}
    197197
     198void MCalibrationCam::Init(const MGeomCam &geom)
     199{
     200    InitSize          (geom.GetNumPixels() );
     201    InitAverageAreas  (geom.GetNumAreas()  );
     202    InitAverageSectors(geom.GetNumSectors());
     203}
     204
    198205// --------------------------------------------------------------------------
    199206//
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h

    r3646 r3667  
    1414class MBadPixelsPix;
    1515class MBadPixelsCam;
     16class MGeomCam;
     17
    1618class MCalibrationCam : public MParContainer, public MCamEvent
    1719{
     
    3133 
    3234  virtual void Clear(    Option_t *o="" );
     35  void Init(const MGeomCam &geom);
    3336  void InitSize( const UInt_t i );
    3437  void InitAverageAreas(  const UInt_t i );
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc

    r3650 r3667  
    639639{
    640640 
    641   for (Int_t j=0; j<fGeom->GetNumAreas(); j++)
     641  for (UInt_t j=0; j<fGeom->GetNumAreas(); j++)
    642642    {
    643643 
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc

    r3650 r3667  
    387387    }
    388388 
    389   const Int_t npixels  = fGeom->GetNumPixels();
    390   const Int_t nareas   = fGeom->GetNumAreas();
    391   const Int_t nsectors = fGeom->GetNumSectors();
    392   const Int_t lofirst  = signal->GetFirstUsedSliceLoGain();
     389  const UInt_t npixels  = fGeom->GetNumPixels();
     390  const UInt_t nareas   = fGeom->GetNumAreas();
     391  const UInt_t nsectors = fGeom->GetNumSectors();
     392  const UInt_t lofirst  = signal->GetFirstUsedSliceLoGain();
    393393
    394394  Float_t sumhiarea  [nareas],   sumloarea  [nareas],   timehiarea  [nareas],   timeloarea  [nareas];
     
    410410 
    411411
    412   for (Int_t i=0; i<npixels; i++)
     412  for (UInt_t i=0; i<npixels; i++)
    413413    {
    414414
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.cc

    r3653 r3667  
    297297    }
    298298 
    299   const Int_t npixels  = fGeom->GetNumPixels();
    300   const Int_t nareas   = fGeom->GetNumAreas();
    301   const Int_t nsectors = fGeom->GetNumSectors();
     299  const UInt_t npixels  = fGeom->GetNumPixels();
     300  const UInt_t nareas   = fGeom->GetNumAreas();
     301  const UInt_t nsectors = fGeom->GetNumSectors();
    302302
    303303  Float_t sumareahi  [nareas],   sumarealo  [nareas];
Note: See TracChangeset for help on using the changeset viewer.