Changeset 4808 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/30/04 16:25:20 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4807 r4808  
    2323   * mcalib/MCalibrationChargeCalc.cc
    2424   * mcalib/MHCalibrationTestTimeCam.cc
     25   * mcalib/MHCalibrationTestCam.cc
    2526     - exchanged all arrays by TArray's
    2627
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationTestTimeCam.cc

    r3982 r4808  
    297297  const Int_t nsectors = fGeom->GetNumSectors();
    298298
    299   Float_t sumareahi  [nareas];
    300   Float_t sumsectorhi[nsectors];
    301   Int_t   numareahi  [nareas];
    302   Int_t   numsectorhi[nsectors];
    303 
    304   memset(sumareahi,   0, nareas * sizeof(Float_t));
    305   memset(sumsectorhi, 0, nsectors*sizeof(Float_t));
    306   memset(numareahi,   0, nareas * sizeof(Int_t));
    307   memset(numsectorhi, 0, nsectors*sizeof(Int_t));
    308  
     299  TArrayF sumareahi  (nareas);
     300  TArrayF sumsectorhi(nsectors);
     301  TArrayI numareahi  (nareas);
     302  TArrayI numsectorhi(nsectors);
     303
    309304  for (Int_t i=0; i<npixels; i++)
    310305    {
Note: See TracChangeset for help on using the changeset viewer.