Ignore:
Timestamp:
09/27/05 14:38:40 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

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

    r7191 r7366  
    277277
    278278  PrintUncalibrated(MBadPixelsPix::kDeviatingTimeResolution,   
    279                     Form("%s%2.1f%s","Time resol. less than ",fRelTimeResolutionLimit," FADC sl. from Mean:     "));
     279                    Form("%s%2.1f%s","Time resol. less than ", fRelTimeResolutionLimit, " FADC sl. from Mean:"));
    280280  PrintUncalibrated(MBadPixelsPix::kRelTimeOscillating,   
    281                     "Pixels with changing Rel. Times over time:             ");
     281                    "Pixels with changing Rel. Times over time:");
    282282  PrintUncalibrated(MBadPixelsPix::kRelTimeNotFitted,     
    283                     "Pixels with unsuccesful Gauss fit to the times:        ");
     283                    "Pixels with unsuccesful Gauss fit to the times:");
    284284
    285285  if (asciilog)
     
    494494    if (fGeom->InheritsFrom("MGeomCamMagic"))
    495495    {
    496         *fLog << " Uncalibrated Pixels:            Inner: "
    497             << Form("%3i",unsuit[0]) << " Outer: " << Form("%3i",unsuit[1]) << endl;
    498         *fLog << " Unreliable Pixels:              Inner: "
    499             << Form("%3i",unrel[0])  << " Outer: " << Form("%3i",unrel[1])  << endl;
     496        PrintUncalibrated("Uncalibrated Pixels:", unsuit[0], unsuit[1]);
     497        PrintUncalibrated("Unreliable Pixels:",   unrel[0],  unrel[1]);
    500498    }
    501499}
     
    522520    }
    523521
    524     *fLog << " " << text << "Inner: " << Form("%3i",countinner);
    525     *fLog << " Outer: " << Form("%3i", countouter) << endl;
     522    PrintUncalibrated(text, countinner, countouter);
     523}
     524
     525void MCalibrationRelTimeCalc::PrintUncalibrated(const char *text, Int_t in, Int_t out) const
     526{
     527    *fLog << " " << setfill(' ') << setw(56) << setiosflags(ios::left) << text;
     528    *fLog << " Inner: " << Form("%3i", in);
     529    *fLog << " Outer: " << Form("%3i", out);
     530    *fLog << resetiosflags(ios::left) << endl;
     531
    526532}
    527533
  • trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.h

    r7188 r7366  
    6565  void   FinalizeUnsuitablePixels ();
    6666
    67   void   PrintUncalibrated( MBadPixelsPix::UncalibratedType_t typ, const char *text) const;
     67  void   PrintUncalibrated(const char *text, Int_t in, Int_t out) const;
     68  void   PrintUncalibrated(MBadPixelsPix::UncalibratedType_t typ, const char *text) const;
    6869
    6970  // Query checks
Note: See TracChangeset for help on using the changeset viewer.