Changeset 1235 for trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h
- Timestamp:
- 03/07/02 15:28:30 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h
r1219 r1235 12 12 { 13 13 private: 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 14 24 ofstream *fOut; 15 25 … … 17 27 TObjArray fContainer; 18 28 TObjArray fMembers; 29 TObjArray fScale; 19 30 20 31 TString fNameFile; … … 34 45 ~MWriteAsciiFile(); 35 46 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); 38 49 39 50 ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file
Note:
See TracChangeset
for help on using the changeset viewer.