Ignore:
Timestamp:
09/24/03 13:29:00 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
3 edited

Legend:

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

    r2310 r2357  
    6161    //
    6262    fName  = name  ? name  : "MHCT1Supercuts";
    63     fTitle = title ? title : "Container for supercuts";
     63    fTitle = title ? title : "Container for histograms for the supercuts";
    6464
    6565
  • trunk/MagicSoft/Mars/mhist/MHFindSignificance.cc

    r2318 r2357  
    353353  fHistOrig = fhist;
    354354
    355   fHist = (TH1*)fHistOrig->Clone("|alpha| plot");
     355  fHist = (TH1*)fHistOrig->Clone();
     356  fHist->SetName(fhist->GetName());
    356357  if ( !fHist )
    357358  {
     
    362363 
    363364  fHist->Sumw2();
    364   fHist->SetNameTitle("Alpha", "alpha plot");
     365  //fHist->SetNameTitle("Alpha", "alpha plot");
    365366  fHist->SetXTitle("|alpha|  [\\circ]");
    366367  fHist->SetYTitle("Counts");
     368  fHist->UseCurrentStyle();
    367369
    368370  fAlphamin = alphamin;
     
    502504  fHistOrig = fhist;
    503505
    504   fHist = (TH1*)fHistOrig->Clone("|alpha| plot");
     506  fHist = (TH1*)fHistOrig->Clone();
     507  fHist->SetName(fhist->GetName());
    505508  fHist->Sumw2();
    506   fHist->SetNameTitle("alpha", "alpha plot");
     509  //fHist->SetNameTitle("alpha", "alpha plot");
    507510  fHist->SetXTitle("|alpha|  [\\circ]");
    508511  fHist->SetYTitle("Counts");
    509 
     512  fHist->UseCurrentStyle();
    510513
    511514  fAlphamin = alphamin;
     
    754757
    755758  nrebin += 1;
    756   //if (fHist)
    757     delete fHist;
    758     fHist = NULL;
     759  TString histname = fHist->GetName();
     760  delete fHist;
     761  fHist = NULL;
    759762
    760763  *fLog << "MHFindSignificance::FitPolynomial; rebin the |alpha| plot, grouping "
     
    766769  fHist = new TH1F;
    767770  fHist->Sumw2();
    768   fHist->SetNameTitle("Rebinned", "Rebinned alpha plot");
    769 
     771  fHist->SetNameTitle(histname, histname);
     772  fHist->UseCurrentStyle();
    770773
    771774  // do rebinning such that x0 remains a lower bin edge
     
    911914      }
    912915
    913       *fLog << "FitPolynomial : before CallMinuit()" << endl;
     916      //*fLog << "FitPolynomial : before CallMinuit()" << endl;
    914917
    915918      MMinuitInterface inter;
     
    918921                                         kFALSE);
    919922
    920       *fLog << "FitPolynomial : after CallMinuit()" << endl;
     923      //*fLog << "FitPolynomial : after CallMinuit()" << endl;
    921924
    922925      if (rc != 0)
     
    19091912  // get errors
    19101913
     1914  /*
    19111915  Double_t eplus;
    19121916  Double_t eminus;
     
    19431947    }
    19441948  } 
     1949  */
    19451950
    19461951  //----------------------------------------
     1952  /*
    19471953  *fLog << "Covariance matrix :" << endl;
    19481954  for (Int_t j=0; j<=fDegree; j++)
     
    19661972    *fLog << endl;
    19671973  }
     1974  */
    19681975
    19691976  *fLog << "---------------------------" << endl;
  • trunk/MagicSoft/Mars/mhist/MHMatrix.h

    r2328 r2357  
    3030    static const TString gsDefTitle; //! Default Title
    3131
    32     Int_t   fNumRow;    //! Number of dimensions of histogram
     32    Int_t   fNumRow;    // Number of dimensions of histogram
    3333    Int_t   fRow;       //! Present row
    3434    TMatrix fM;         // Matrix to be filled
Note: See TracChangeset for help on using the changeset viewer.