Changeset 7517 for trunk/MagicSoft
- Timestamp:
- 02/17/06 10:15:31 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7516 r7517 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/02/17 Thomas Bretz 21 22 * showplot.cc: 23 - fixed path inflation in case of ganymed 24 25 * mjobs/MDataSet.cc: 26 - return kFALSE if requested source wasn't found in catalog 27 28 * mjobs/MJCut.cc: 29 - reformatted output of source to fit in one line 30 31 * mpointing/MPointingPos.[h,cc]: 32 - output source name (title) in Print() if set 33 34 35 20 36 2006/02/16 Daniela Dorner 21 37 -
trunk/MagicSoft/Mars/NEWS
r7500 r7517 3 3 *** Version <cvs> 4 4 5 - showplot: path inflation for ganymed files was broken 6 7 - ganymed: now stops in requested source isn't found in catalog file 5 8 6 9 -
trunk/MagicSoft/Mars/mjobs/MDataSet.cc
r7462 r7517 421 421 line.ReadLine(fin); 422 422 if (!fin) 423 break; 423 { 424 gLog << err << "ERROR - Source '" << fNameSource << "' not found in " << catalog << "." << endl; 425 return kFALSE; 426 } 424 427 425 428 n++; -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7432 r7517 338 338 // "MHillas" to "Events" 339 339 // "MHillasSrc" to "Events" 340 // " MHadronness"to "Events" yes340 // "Hadronness" to "Events" yes 341 341 // "MEnergyEst" to "Events" yes 342 342 // "DataType" to "Events" … … 365 365 write->AddContainer("MMcEvt", "Events", kFALSE); 366 366 write->AddContainer("DataType", "Events"); 367 // write->AddContainer("MMuonSearchPar", "Events", kFALSE); 368 // write->AddContainer("MMuonCalibPar", "Events", kFALSE); 367 369 } 368 370 … … 465 467 return kFALSE; 466 468 plist.AddToList(&source); 467 *fLog << all << "Using Source Position: ";469 *fLog << all; 468 470 source.Print("RaDec"); 469 471 } -
trunk/MagicSoft/Mars/mpointing/MPointingPos.cc
r7389 r7517 54 54 using namespace std; 55 55 56 const TString MPointingPos::gsDefName = "MPointingPos"; 57 const TString MPointingPos::gsDefTitle = "Container storing the (corrected) telescope pointing position"; 58 56 59 // -------------------------------------------------------------------------- 57 60 // … … 89 92 opt = "radeczdaz"; 90 93 91 *fLog << GetDescriptor() << ": 94 *fLog << GetDescriptor() << ":"; 92 95 93 96 if (opt.Contains("ra", TString::kIgnoreCase)) … … 101 104 if (opt.Contains("az", TString::kIgnoreCase)) 102 105 *fLog << " Az=" << MAstro::GetStringDeg(fAz); 106 107 if (fTitle!=gsDefTitle) 108 *fLog << " <" << fTitle << ">"; 109 103 110 *fLog << endl; 104 111 } -
trunk/MagicSoft/Mars/mpointing/MPointingPos.h
r7389 r7517 18 18 { 19 19 private: 20 static const TString gsDefName; 21 static const TString gsDefTitle; 22 20 23 Double_t fZd; // [deg] Zenith distance (ZA) 21 24 Double_t fAz; // [deg] Azimuth … … 28 31 MPointingPos(const char *name=0, const char *title=0) : fZd(0), fAz(0), fRa(0), fHa(0), fDec(0) 29 32 { 30 fName = name ? name : "MPointingPos";31 fTitle = title ? title : "Container storing the (corrected) telescope pointing position";33 fName = name ? (TString)name : gsDefName; 34 fTitle = title ? (TString)title : gsDefTitle; 32 35 } 33 36 MPointingPos(const MPointingPos &p) : MParContainer(p), -
trunk/MagicSoft/Mars/showplot.cc
r7444 r7517 159 159 // 160 160 TString kInput = arg.GetArgumentStr(0); 161 kInput.ToLower(); 161 162 162 163 // … … 177 178 break; 178 179 } 179 file += Form("/%04d/%08d/", num/10000, num); 180 file += kInput==(TString)"ganymed" ? Form("/%05d", num/100000) : Form("/%04d", num/10000); 181 file += Form("/%08d/", num); 180 182 file += kInput; 181 183 file += Form("%08d.root", num);
Note:
See TracChangeset
for help on using the changeset viewer.