Changeset 8767
- Timestamp:
- 11/27/07 14:32:02 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/ganymed.cc
r8741 r8767 30 30 gLog << " Ganymed - MARS V" << MARSVER << endl; 31 31 gLog << " MARS -- Gammas Are Now Your Most Exciting Discovery" << endl; 32 gLog << " Compiled with ROOT v" << ROOT_RELEASE << " on <" << __DATE__ << ">" << endl;32 gLog << " Compiled with ROOT v" << ROOT_RELEASE << " on <" << __DATE__ << ">" << endl; 33 33 gLog << "========================================================" << endl; 34 34 gLog << endl; … … 207 207 } 208 208 209 gSystem->ExpandPathName(kSequences); 210 209 211 if (gSystem->AccessPathName(kSequences, kFileExists)) 210 212 { -
trunk/MagicSoft/Mars/mbase/MLog.cc
r8744 r8767 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.5 7 2007-09-07 12:17:13tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.58 2007-11-27 14:32:00 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 292 292 case 1: sout << MLog::kRed; break; // err 293 293 case 2: sout << MLog::kYellow; break; // warn 294 case 3: 295 case 4: 296 case 5: sout << MLog::kGreen; break; // inf 294 case 3: // inf 295 case 4: // inf2 296 case 5: sout << MLog::kGreen; break; // inf3 297 297 default: sout << MLog::kBlue; break; // all others (dbg) 298 298 } -
trunk/MagicSoft/Mars/mbase/MLogHtml.cc
r8394 r8767 112 112 case 1: *fOut << "<font color='maroon'>"; break; // err 113 113 case 2: *fOut << "<font color='#FF6600'>"; break; // warn (olive?) 114 case 3: *fOut << "<font color='green'>"; break; // inf 114 case 3: // inf 115 case 4: // inf2 116 case 5: *fOut << "<font color='green'>"; break; // inf3 115 117 default: *fOut << "<font color='navy'>"; break; // all others (dbg) 116 118 } -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r8695 r8767 726 726 case kWeakSource: 727 727 return GetEventsBackground()<1 ? -GetEventsExcess() : -GetEventsExcess()/TMath::Sqrt(GetEventsBackground()); 728 case kWeakSourceLogExcess: 729 return GetEventsBackground()<1 ? -GetEventsExcess() : -GetEventsExcess()/TMath::Sqrt(GetEventsBackground())*TMath::Log10(GetEventsExcess()); 728 730 } 729 731 return 0; -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r7777 r8767 36 36 kExcess, 37 37 kGaussSigma, 38 kWeakSource 38 kWeakSource, 39 kWeakSourceLogExcess 39 40 }; 40 41 enum SignalFunc_t { -
trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.h
r8719 r8767 30 30 MJTrainDisp() : fTrainParameter(fgTrainParameter), fResultFunction("x"), fThetaCut(0.215), fNameOutput("Disp") { } 31 31 32 void SetTrainParameter(const char *txt) { fTrainParameter=txt; } 32 void SetTrainFunc(const char *par, const char *res="x") 33 { 34 fTrainParameter = par; 35 fResultFunction = res; 36 } 33 37 34 38 void SetThetaCut(Float_t cut=0.215) { fThetaCut=cut; } -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
r8765 r8767 221 221 // [2007-08-14 22:46:10] 222 222 // Comparing the trigger rate with yesterday night we do not see an 223 // improvement with the new focussing. 224 // 223 // improvement with the new focussing. 224 // 225 // [2007-10-27 email] 226 // [...] 227 // When removing the cover of the motor all 4 nuts which fix the gear of 228 // the motor to the structure fell out. The motor was completely loose. 229 // [...] 230 // We checked also the second azimuth motor and .. the same situation. 231 // [...] 232 // Peter Sawallisch opened and fixed all 3 motors of MAGIC-I. We checked 233 // all critical screws that came to our minds and fixed them as much as 234 // possible with loctite and counter nuts. No damage whatsoever has been 235 // found. 225 236 // 226 237 // -
trunk/MagicSoft/Mars/sponde.cc
r8741 r8767 160 160 // Setup sequence file and check for its existence 161 161 // 162 constTString kInfile = arg.GetArgumentStr(0);163 constTString kDataset = arg.GetArgumentStr(1);164 constTString kOutfile = arg.GetArgumentStr(2);162 TString kInfile = arg.GetArgumentStr(0); 163 TString kDataset = arg.GetArgumentStr(1); 164 TString kOutfile = arg.GetArgumentStr(2); 165 165 166 166 if (kOutfile.IsNull() && kBatch) … … 170 170 } 171 171 172 gSystem->ExpandPathName(kInfile); 173 gSystem->ExpandPathName(kDataset); 174 gSystem->ExpandPathName(kOutfile); 175 172 176 if (gSystem->AccessPathName(kInfile, kFileExists)) 173 177 { 174 gLog << err << "Sorry, sequencesfile '" << kInfile << "' doesn't exist." << endl;178 gLog << err << "Sorry, ganymed root-file '" << kInfile << "' doesn't exist." << endl; 175 179 return 2; 176 180 } … … 246 250 return 2; 247 251 } 248 if (kDebugEnv>0 )252 if (kDebugEnv>0 || gLog.GetDebugLevel()>=2) 249 253 env.PrintUntouched(); 250 254
Note:
See TracChangeset
for help on using the changeset viewer.