Changeset 2775 for trunk


Ignore:
Timestamp:
01/13/04 08:55:53 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2774 r2775  
    4040 2004/01/12: Abelardo Moralejo
    4141
    42   * mimage/MStereoPar.cc
    43     - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ...
    44       instead of         fSourceY = scale2*hillas1.GetMeanY() + ...
    45       Bug had no effect unless scale1 != scale2 (-> telescopes of
    46       different size).
     42   * mimage/MStereoPar.cc
     43     - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ...
     44       instead of         fSourceY = scale2*hillas1.GetMeanY() + ...
     45       Bug had no effect unless scale1 != scale2 (-> telescopes of
     46       different size).
    4747
    4848
     
    5050 2004/01/12: Markus Gaug
    5151
    52   * manalysis/MExtractSignal.[h,cc]
    53     - take out some uncommented code
    54     - replace logainshift by two independent variables:
    55       logainfirst, logainlast
    56     - because in most data, maximum occurs in slice 4, shift default
    57       from slices 4-9 to slices 3-8.
    58 
    59   * manalysis/MExtractedSignalPix.[h,cc]
    60     - took out some uncommented code
    61     - new initializers: instead of -1. now 99999.9
     52   * manalysis/MExtractSignal.[h,cc]
     53     - take out some uncommented code
     54     - replace logainshift by two independent variables:
     55       logainfirst, logainlast
     56     - because in most data, maximum occurs in slice 4, shift default
     57       from slices 4-9 to slices 3-8.
     58
     59   * manalysis/MExtractedSignalPix.[h,cc]
     60     - took out some uncommented code
     61     - new initializers: instead of -1. now 99999.9
    6262
    6363
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc

    r2772 r2775  
    169169// --------------------------------------------------------------------------
    170170//
     171// Return the run type as string ("Data", "Pedestal", ...), for example
     172// to print it as readable text.
     173//
     174const char *MRawRunHeader::GetRunTypeStr() const
     175{
     176    switch (fRunType)
     177    {
     178    case kRTData:
     179        return "Data";
     180    case kRTPedestal:
     181        return "Pedestal";
     182    case kRTCalibration:
     183        return "Calibration";
     184    case kRTMonteCarlo:
     185        return "Monte Carlo";
     186    default:
     187        return "<unknown>";
     188    }
     189}
     190
     191// --------------------------------------------------------------------------
     192//
    171193// print run header information on *fLog
    172194//
     
    184206    *fLog << "Version:      " << dec << "Format=" << fFormatVersion << "  ";
    185207    *fLog << "Software=" << fSoftVersion << endl;
    186     *fLog << "RunNumber:    " << fRunNumber << " (Type=";
    187     switch (fRunType)
    188     {
    189     case kRTData:
    190         *fLog << "Data";
    191         break;
    192     case kRTPedestal:
    193         *fLog << "Pedestal";
    194         break;
    195     case kRTCalibration:
    196         *fLog << "Calibration";
    197         break;
    198     case kRTMonteCarlo:
    199         *fLog << "Monte Carlo Data";
    200         break;
    201     default:
    202         *fLog << "<unknown>";
    203         break;
    204     }
    205     *fLog << ")" << endl;
     208    *fLog << "RunNumber:    " << fRunNumber << " (Type=" << GetRunTypeStr() << ")" << endl;
    206209    *fLog << "ProjectName: '" << fProjectName << "'" << endl;
    207210    *fLog << "Source:      '" << fSourceName << "' " << "  ";
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r2653 r2775  
    7878    UShort_t GetSoftVersion() const       { return fSoftVersion; }
    7979    UShort_t GetRunType() const           { return fRunType; }
     80    const char *GetRunTypeStr() const;
    8081    UInt_t   GetRunNumber() const         { return fRunNumber; }
    8182    const Char_t  *GetProjectName() const { return fProjectName; }
Note: See TracChangeset for help on using the changeset viewer.