Changeset 2357 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 09/24/03 13:29:00 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCT1Supercuts.cc
r2310 r2357 61 61 // 62 62 fName = name ? name : "MHCT1Supercuts"; 63 fTitle = title ? title : "Container for supercuts";63 fTitle = title ? title : "Container for histograms for the supercuts"; 64 64 65 65 -
trunk/MagicSoft/Mars/mhist/MHFindSignificance.cc
r2318 r2357 353 353 fHistOrig = fhist; 354 354 355 fHist = (TH1*)fHistOrig->Clone("|alpha| plot"); 355 fHist = (TH1*)fHistOrig->Clone(); 356 fHist->SetName(fhist->GetName()); 356 357 if ( !fHist ) 357 358 { … … 362 363 363 364 fHist->Sumw2(); 364 fHist->SetNameTitle("Alpha", "alpha plot");365 //fHist->SetNameTitle("Alpha", "alpha plot"); 365 366 fHist->SetXTitle("|alpha| [\\circ]"); 366 367 fHist->SetYTitle("Counts"); 368 fHist->UseCurrentStyle(); 367 369 368 370 fAlphamin = alphamin; … … 502 504 fHistOrig = fhist; 503 505 504 fHist = (TH1*)fHistOrig->Clone("|alpha| plot"); 506 fHist = (TH1*)fHistOrig->Clone(); 507 fHist->SetName(fhist->GetName()); 505 508 fHist->Sumw2(); 506 fHist->SetNameTitle("alpha", "alpha plot");509 //fHist->SetNameTitle("alpha", "alpha plot"); 507 510 fHist->SetXTitle("|alpha| [\\circ]"); 508 511 fHist->SetYTitle("Counts"); 509 512 fHist->UseCurrentStyle(); 510 513 511 514 fAlphamin = alphamin; … … 754 757 755 758 nrebin += 1; 756 //if (fHist)757 758 759 TString histname = fHist->GetName(); 760 delete fHist; 761 fHist = NULL; 759 762 760 763 *fLog << "MHFindSignificance::FitPolynomial; rebin the |alpha| plot, grouping " … … 766 769 fHist = new TH1F; 767 770 fHist->Sumw2(); 768 fHist->SetNameTitle( "Rebinned", "Rebinned alpha plot");769 771 fHist->SetNameTitle(histname, histname); 772 fHist->UseCurrentStyle(); 770 773 771 774 // do rebinning such that x0 remains a lower bin edge … … 911 914 } 912 915 913 *fLog << "FitPolynomial : before CallMinuit()" << endl;916 //*fLog << "FitPolynomial : before CallMinuit()" << endl; 914 917 915 918 MMinuitInterface inter; … … 918 921 kFALSE); 919 922 920 *fLog << "FitPolynomial : after CallMinuit()" << endl;923 //*fLog << "FitPolynomial : after CallMinuit()" << endl; 921 924 922 925 if (rc != 0) … … 1909 1912 // get errors 1910 1913 1914 /* 1911 1915 Double_t eplus; 1912 1916 Double_t eminus; … … 1943 1947 } 1944 1948 } 1949 */ 1945 1950 1946 1951 //---------------------------------------- 1952 /* 1947 1953 *fLog << "Covariance matrix :" << endl; 1948 1954 for (Int_t j=0; j<=fDegree; j++) … … 1966 1972 *fLog << endl; 1967 1973 } 1974 */ 1968 1975 1969 1976 *fLog << "---------------------------" << endl; -
trunk/MagicSoft/Mars/mhist/MHMatrix.h
r2328 r2357 30 30 static const TString gsDefTitle; //! Default Title 31 31 32 Int_t fNumRow; // !Number of dimensions of histogram32 Int_t fNumRow; // Number of dimensions of histogram 33 33 Int_t fRow; //! Present row 34 34 TMatrix fM; // Matrix to be filled
Note:
See TracChangeset
for help on using the changeset viewer.