Changeset 9490 for trunk


Ignore:
Timestamp:
08/13/09 18:57:30 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9489 r9490  
    1818
    1919                                                 -*-*- 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
    2037
    2138 2009/08/13 Daniela Dorner
  • trunk/MagicSoft/Mars/mbase/MArgs.cc

    r9482 r9490  
    182182        if (s->BeginsWith(name))
    183183            return s->Data()+s->Index(name)+name.Length();
    184     return 0;
     184    return "";
    185185}
    186186
     
    230230            return str;
    231231        }
    232     return 0;
     232    return "";
    233233}
    234234
  • trunk/MagicSoft/Mars/mbase/MLut.h

    r9462 r9490  
    5656    // TObject
    5757    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); }
    5962
    6063    ClassDef(MLut, 1) // A simple and fast easy-to-use look-up-table
  • trunk/MagicSoft/Mars/mbase/MStatusArray.h

    r9026 r9490  
    3939
    4040    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); }
    4245
    4346    TObject *FindObject(const char *object, const char *base) const;
  • trunk/MagicSoft/Mars/msimreflector/MReflector.cc

    r9371 r9490  
    6969void MReflector::SetSigmaPSF(Double_t psf)
    7070{
    71     fMirrors.ForEach(MMirror, SetSigmaPSF)(psf);
     71    fMirrors.R__FOR_EACH(MMirror, SetSigmaPSF)(psf);
    7272}
    7373
  • trunk/MagicSoft/Mars/mtrigger/MTriggerPatternDecode.cc

    r9480 r9490  
    133133    fPattern->fUnprescaled = (pattern>>8) & 0xff;
    134134
    135     cout << (int)((pattern>>6)&1) << " " << fPattern->fPrescaled << endl;
    136 
    137     fPattern->Print();
    138 
    139135    // This is a workaround for the new scheme in which L1TPU (the signal
    140136    // comming directly from the L1 is connected, but the L1 (routed
     
    150146    }
    151147
    152     fPattern->Print();
    153 
    154148    return kTRUE;
    155149}
Note: See TracChangeset for help on using the changeset viewer.