Changeset 4142


Ignore:
Timestamp:
05/24/04 14:20:18 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4134 r4142  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2004/05/24: Markus Gaug
     22
     23   * mcalib/MCalibrationCam.cc
     24     - initialize AverageAreas and AverageSectors with the number of
     25       aidx and sector as SetPixId()
     26
     27   * mcalib/MCalibrationChargeCam.cc
     28     - small modification in the Print()
     29
    2030
    2131 2004/05/22: Markus Gaug
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc

    r3936 r4142  
    191191  fAverageAreas->ExpandCreate(i);
    192192  fAverageBadAreas->ExpandCreate(i);
     193
     194  for (UInt_t j=0; j<i; j++)
     195    GetAverageArea(j).SetPixId(j);
    193196 
    194197  fNumUnsuitable.Set(i);
     
    206209  fAverageSectors->ExpandCreate(i);
    207210  fAverageBadSectors->ExpandCreate(i);
     211
     212  for (UInt_t j=0; j<i; j++)
     213    GetAverageSector(j).SetPixId(j);
     214
    208215}
    209216
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc

    r4109 r4142  
    237237  *fLog << endl;
    238238
     239  *fLog << all << endl;
     240  *fLog << all << "Averaged Areas:" << endl;
     241  *fLog << all << endl;
     242
    239243  TIter Next5(fAverageAreas);
    240244  while ((pix=(MCalibrationChargePix*)Next5()))
    241245  {
    242246    *fLog << all << "Average Area:"
     247          << Form("%s%3i","Area Idx: ",pix->GetPixId())
    243248          << "   Ped.  Rms: "            << pix->GetPedRms()        << " +- " << pix->GetPedRmsErr()
    244249          << "   Mean signal: "          << pix->GetMean()    << " +- " << pix->GetMeanErr()
     
    249254  }
    250255
     256  *fLog << all << endl;
     257  *fLog << all << "Averaged Sectors:" << endl;
     258  *fLog << all << endl;
     259
    251260  TIter Next6(fAverageSectors);
    252261  while ((pix=(MCalibrationChargePix*)Next6()))
    253262  {
    254263    *fLog << all << "Average Sector:"
     264          << Form("%s%3i","Sector: ",pix->GetPixId())
    255265          << "   Ped.  Rms: "            << pix->GetPedRms()        << " +- " << pix->GetPedRmsErr()
    256266          << "   Mean signal: "          << pix->GetMean()    << " +- " << pix->GetMeanErr()
Note: See TracChangeset for help on using the changeset viewer.