- Timestamp:
- 01/13/04 08:55:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2774 r2775 40 40 2004/01/12: Abelardo Moralejo 41 41 42 * mimage/MStereoPar.cc43 - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ...44 instead of fSourceY = scale2*hillas1.GetMeanY() + ...45 Bug had no effect unless scale1 != scale2 (-> telescopes of46 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). 47 47 48 48 … … 50 50 2004/01/12: Markus Gaug 51 51 52 * manalysis/MExtractSignal.[h,cc]53 - take out some uncommented code54 - replace logainshift by two independent variables:55 logainfirst, logainlast56 - because in most data, maximum occurs in slice 4, shift default57 from slices 4-9 to slices 3-8.58 59 * manalysis/MExtractedSignalPix.[h,cc]60 - took out some uncommented code61 - new initializers: instead of -1. now 99999.952 * 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 62 62 63 63 -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r2772 r2775 169 169 // -------------------------------------------------------------------------- 170 170 // 171 // Return the run type as string ("Data", "Pedestal", ...), for example 172 // to print it as readable text. 173 // 174 const 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 // 171 193 // print run header information on *fLog 172 194 // … … 184 206 *fLog << "Version: " << dec << "Format=" << fFormatVersion << " "; 185 207 *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; 206 209 *fLog << "ProjectName: '" << fProjectName << "'" << endl; 207 210 *fLog << "Source: '" << fSourceName << "' " << " "; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r2653 r2775 78 78 UShort_t GetSoftVersion() const { return fSoftVersion; } 79 79 UShort_t GetRunType() const { return fRunType; } 80 const char *GetRunTypeStr() const; 80 81 UInt_t GetRunNumber() const { return fRunNumber; } 81 82 const Char_t *GetProjectName() const { return fProjectName; }
Note:
See TracChangeset
for help on using the changeset viewer.