Changeset 4257 for trunk/MagicSoft


Ignore:
Timestamp:
06/01/04 19:05:25 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4128 r4257  
    9292    :  fBadPixels(NULL), fCam(NULL), fGeom(NULL), fRunHeader(NULL)
    9393{
    94     fName  = name  ? name  : "MHCalibrationCam";
    95     fTitle = title ? title : "Class to fill the calibration histograms ";
    9694
    9795    fHiGainArray = new TObjArray;
     
    126124MHCalibrationCam::~MHCalibrationCam()
    127125{
     126
    128127  delete fHiGainArray;
    129128  delete fLoGainArray;
     
    269268  return fRunNumbers;
    270269}
    271 
    272270
    273271// --------------------------------------------------------------------------
     
    315313    }
    316314  */
    317 
     315 
    318316  for (int i=0; i<navhi; i++)
    319317    {
    320       delete (*cam->fAverageHiGainAreas)[i];
     318      //      delete (*cam->fAverageHiGainAreas)[i];
    321319      (*cam->fAverageHiGainAreas)[i] = (*fAverageHiGainAreas)[i]->Clone();
    322320    }
    323321  for (int i=0; i<navlo; i++)
    324322    {
    325       delete (*cam->fAverageLoGainAreas)[i];
     323      //      delete (*cam->fAverageLoGainAreas)[i];
    326324      (*cam->fAverageLoGainAreas)[i] = (*fAverageLoGainAreas)[i]->Clone();
    327325    }
    328326  for (int i=0; i<nsehi; i++)
    329327    {
    330       delete (*cam->fAverageHiGainSectors)[i];
     328      //      delete (*cam->fAverageHiGainSectors)[i];
    331329      (*cam->fAverageHiGainSectors)[i] = (*fAverageHiGainSectors)[i]->Clone();
    332330    }
    333331  for (int i=0; i<nselo; i++)
    334332    {
    335       delete (*cam->fAverageLoGainSectors)[i];
     333      //      delete (*cam->fAverageLoGainSectors)[i];
    336334      (*cam->fAverageLoGainSectors)[i] = (*fAverageLoGainSectors)[i]->Clone();
    337335    }
     
    749747    {
    750748 
    751       MCalibrationPix &pix    = (*fCam).GetAverageArea(j);
     749      MCalibrationPix &pix    = fCam->GetAverageArea(j);
    752750
    753751      const Float_t numsqr    = TMath::Sqrt((Float_t)fAverageAreaNum[j]);
     
    951949                         fAverageAreaRelSigma[i], fAverageAreaRelSigmaVar[i]);
    952950    }
     951
    953952}
    954953
Note: See TracChangeset for help on using the changeset viewer.