Ignore:
Timestamp:
03/07/02 15:28:30 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h

    r1219 r1235  
    1212{
    1313private:
     14    class MScale : public TNamed
     15    {
     16    private:
     17        Double_t fScale;
     18    public:
     19        MScale(const char *name, const char *title, Double_t scale)
     20            : TNamed(name, title), fScale(scale) {}
     21        Double_t GetScale() const { return fScale; }
     22    };
     23
    1424    ofstream *fOut;
    1525
     
    1727    TObjArray fContainer;
    1828    TObjArray fMembers;
     29    TObjArray fScale;
    1930
    2031    TString fNameFile;
     
    3445    ~MWriteAsciiFile();
    3546
    36     void AddContainer(const char *cname, const char *member="");
    37     void AddContainer(MParContainer *cont, const char *member="");
     47    void AddContainer(const char *cname, const char *member="", Double_t scale=1);
     48    void AddContainer(MParContainer *cont, const char *member="", Double_t scale=1);
    3849
    3950    ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file
Note: See TracChangeset for help on using the changeset viewer.