Ignore:
Timestamp:
01/28/05 11:18:44 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MMath.cc

    r5956 r6078  
    137137// --------------------------------------------------------------------------
    138138//
    139 // This function truncates the precision to roughly 0.5% of a Float_t by
     139// This function reduces the precision to roughly 0.5% of a Float_t by
    140140// changing its bit-pattern (Be carefull, in rare cases this function must
    141141// be adapted to different machines!). This is usefull to enforce better
    142142// compression by eg. gzip.
    143143//
    144 void MMath::TruncatePrecision(Float_t &val)
     144void MMath::ReducePrecision(Float_t &val)
    145145{
    146146    UInt_t &f = (UInt_t&)val;
  • trunk/MagicSoft/Mars/mbase/MMath.h

    r5956 r6078  
    1818    Double_t SignificanceLiMaSigned(Double_t s, Double_t b, Double_t alpha=1);
    1919
    20     void TruncatePrecision(Float_t &val);
     20    void ReducePrecision(Float_t &val);
    2121
    2222    TVector3 GetParab(const TVector3 &x, const TVector3 &y);
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r5911 r6078  
    216216    }
    217217
     218    if (!cont->InheritsFrom(MParContainer::Class()))
     219    {
     220        *fLog << dbginf << "Error: Cantainer MUST derive from MParContainer!" << endl;
     221        return kFALSE;
     222    }
     223
    218224    *fLog << inf << "Adding " << name << " to " << GetName() << "... " << flush;
    219225
Note: See TracChangeset for help on using the changeset viewer.