Changeset 2556 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 11/22/03 15:31:18 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParList.cc
r2552 r2556 493 493 { 494 494 case 1: 495 *fLog << "gROOT->GetClass( \"" << cname << "\"returned NULL." << endl;495 *fLog << "gROOT->GetClass() returned NULL." << endl; 496 496 return NULL; 497 497 case 2: -
trunk/MagicSoft/Mars/mbase/MTask.cc
r2529 r2556 144 144 TString s = str; 145 145 146 while ( 1)146 while (!s.IsNull()) 147 147 { 148 148 Int_t fst = s.First(','); 149 149 150 150 if (fst<0) 151 return;152 153 AddToBranchList( TString(s(0, fst)));151 fst = s.Length(); 152 153 AddToBranchList((const char*)TString(s(0, fst))); 154 154 155 155 s.Remove(0, fst+1); -
trunk/MagicSoft/Mars/mbase/MTime.cc
r2461 r2556 51 51 void MTime::Print(Option_t *) const 52 52 { 53 *fLog << GetDescriptor() << ": " << dec ;54 *fLog << set fill('0') << setw(2) << (int)fHour << ":";55 *fLog << set fill('0') << setw(2) << (int)fMin << ":";56 *fLog << set fill('0') << setw(2) << (int)fSec << ".";57 *fLog << set fill('0') << setw(9) << fNanoSec << endl;53 *fLog << GetDescriptor() << ": " << dec << setfill('0'); 54 *fLog << setw(2) << (int)fHour << ":"; 55 *fLog << setw(2) << (int)fMin << ":"; 56 *fLog << setw(2) << (int)fSec << "."; 57 *fLog << setw(9) << fNanoSec << endl; 58 58 } -
trunk/MagicSoft/Mars/mbase/MTime.h
r2529 r2556 96 96 } 97 97 98 MTime *GetTime()99 {100 return this;101 }102 103 98 UInt_t GetDuration() 104 99 { … … 108 103 operator double() const //[s] 109 104 { 110 return fNanoSec/1e9+(fHour* 24*60*60+fMin*60+fSec);105 return fNanoSec/1e9+(fHour*60*60+fMin*60+fSec); 111 106 } 112 107 double operator()() const //[s]
Note:
See TracChangeset
for help on using the changeset viewer.