Changeset 1573 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 10/31/02 15:37:45 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHFlux.cc
r1422 r1573 62 62 // 63 63 MHFlux::MHFlux(const TH2D &h2d, const Bool_t Draw, 64 const char *varname, const char *unit) 65 : fHOrig(), fHUnfold(), fHFlux() 64 // const char *varname, const char *unit) 65 const TString varname, const TString unit) 66 : fHOrig(), fHUnfold(), fHFlux(), fVarname(), fUnit() 66 67 { 67 if (varname == NULL || unit == NULL) 68 // if (varname == NULL || unit == NULL) 69 if (varname == "" || unit == "") 68 70 { 69 71 *fLog << "MHFlux : varname or unit not defined" << endl; -
trunk/MagicSoft/Mars/mhist/MHFlux.h
r1415 r1573 26 26 { 27 27 private: 28 const char *fVarname; 29 const char *fUnit; 28 //const char *fVarname; 29 //const char *fUnit; 30 31 TString fVarname; 32 TString fUnit; 30 33 31 34 TH2D fHOrig; // original distribution of E-est … … 36 39 public: 37 40 MHFlux(const TH2D &h2d, const Bool_t Draw, 38 const char *varname=NULL, const char *unit=NULL); 41 // const char *varname=NULL, const char *unit=NULL); 42 const TString varname, const TString unit); 39 43 40 44 Bool_t Fill(const MParContainer *par);
Note:
See TracChangeset
for help on using the changeset viewer.