Changeset 9490 for trunk/MagicSoft
- Timestamp:
- 08/13/09 18:57:30 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9489 r9490 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2009/08/13 Thomas Bretz 22 23 * mbase/Margs.cc: 24 - fixed a problem returning 0 instead of "" for TString 25 26 * mbase/MLut.h, mbase/MStatusArray.h: 27 - added new overloads for Print to make it compile with newer root 28 versions without warning 29 30 * msimreflector/MReflector.cc: 31 - replaced ForEach to make it compile with newer root versions 32 33 * mtrigger/MTriggerPatternDecode.cc: 34 - removed some accidental debug output 35 36 20 37 21 38 2009/08/13 Daniela Dorner -
trunk/MagicSoft/Mars/mbase/MArgs.cc
r9482 r9490 182 182 if (s->BeginsWith(name)) 183 183 return s->Data()+s->Index(name)+name.Length(); 184 return 0;184 return ""; 185 185 } 186 186 … … 230 230 return str; 231 231 } 232 return 0;232 return ""; 233 233 } 234 234 -
trunk/MagicSoft/Mars/mbase/MLut.h
r9462 r9490 56 56 // TObject 57 57 void Print(const Option_t *o="") const; 58 void Print(const Option_t *o, const Option_t *o2) const { Print(o); } 58 void Print(const Option_t *o, Option_t *) const { Print(o); } 59 void Print(const Option_t *o, Int_t) const { Print(o); } 60 void Print(const Option_t *o, const char*, Int_t) const { Print(o); } 61 void Print(const Option_t *o, TPRegexp&, Int_t) const { Print(o); } 59 62 60 63 ClassDef(MLut, 1) // A simple and fast easy-to-use look-up-table -
trunk/MagicSoft/Mars/mbase/MStatusArray.h
r9026 r9490 39 39 40 40 void Print(Option_t *o="") const; 41 void Print(const Option_t *o, Option_t *) const { Print(o); } 41 void Print(const Option_t *o, Option_t *) const { Print(o); } 42 void Print(const Option_t *o, Int_t) const { Print(o); } 43 void Print(const Option_t *o, const char*, Int_t) const { Print(o); } 44 void Print(const Option_t *o, TPRegexp&, Int_t) const { Print(o); } 42 45 43 46 TObject *FindObject(const char *object, const char *base) const; -
trunk/MagicSoft/Mars/msimreflector/MReflector.cc
r9371 r9490 69 69 void MReflector::SetSigmaPSF(Double_t psf) 70 70 { 71 fMirrors. ForEach(MMirror, SetSigmaPSF)(psf);71 fMirrors.R__FOR_EACH(MMirror, SetSigmaPSF)(psf); 72 72 } 73 73 -
trunk/MagicSoft/Mars/mtrigger/MTriggerPatternDecode.cc
r9480 r9490 133 133 fPattern->fUnprescaled = (pattern>>8) & 0xff; 134 134 135 cout << (int)((pattern>>6)&1) << " " << fPattern->fPrescaled << endl;136 137 fPattern->Print();138 139 135 // This is a workaround for the new scheme in which L1TPU (the signal 140 136 // comming directly from the L1 is connected, but the L1 (routed … … 150 146 } 151 147 152 fPattern->Print();153 154 148 return kTRUE; 155 149 }
Note:
See TracChangeset
for help on using the changeset viewer.