Ignore:
Timestamp:
10/31/02 15:37:45 (22 years ago)
Author:
wittek
Message:
change type of fVarname and fUnit from *char to TString
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHFlux.cc

    r1422 r1573  
    6262//
    6363MHFlux::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()
    6667{
    67     if (varname == NULL  ||  unit == NULL)
     68  //    if (varname == NULL  ||  unit == NULL)
     69  if (varname == ""  ||  unit == "")
    6870    {
    6971      *fLog << "MHFlux : varname or unit not defined" << endl;
Note: See TracChangeset for help on using the changeset viewer.