Ignore:
Timestamp:
09/09/04 15:43:47 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MParameters.cc

    r4887 r4895  
    7777}
    7878
     79void MParameterD::Print(Option_t *o) const
     80{
     81    *fLog << all << GetDescriptor() << ":  Val=" << fVal << endl;
     82}
     83
     84void MParameterDerr::Print(Option_t *o) const
     85{
     86    *fLog << all << GetDescriptor() << ":  Val=" << fVal << "  Err=" << fErr << endl;
     87}
     88
     89void MParameterI::Print(Option_t *o) const
     90{
     91    *fLog << all << GetDescriptor() << ":  Val=" << fVal << endl;
     92}
  • trunk/MagicSoft/Mars/manalysis/MParameters.h

    r4887 r4895  
    1717    Double_t GetVal() const { return fVal; }
    1818
     19    void Print(Option_t *o="") const;
     20
    1921    ClassDef(MParameterD, 1) // Container to hold a generalized parameters (double)
    2022};
     
    3335    Double_t GetErr() const { return fErr; }
    3436
     37    void Print(Option_t *o="") const;
     38
    3539    ClassDef(MParameterDerr, 1) // Container to hold a generalized parameters (double) and its Error
    3640};
     
    4650    void SetVal(Int_t v) { fVal = v; }
    4751    Int_t GetVal() const { return fVal; }
     52
     53    void Print(Option_t *o="") const;
    4854
    4955    ClassDef(MParameterI, 1) // Container to hold a generalized parameters (integer)
Note: See TracChangeset for help on using the changeset viewer.