Ignore:
Timestamp:
06/10/02 09:01:08 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MH.h

    r1334 r1353  
    2626
    2727    static TCanvas *MakeDefCanvas(TString name="", const char *title="",
    28                                   const UInt_t w=700, const UInt_t h=500);
     28                                  const UInt_t w=580, const UInt_t h=435);
    2929    static TCanvas *MakeDefCanvas(const TObject *obj,
    30                                   const UInt_t w=700, const UInt_t h=500);
     30                                  const UInt_t w=580, const UInt_t h=435);
    3131
    3232    static void SetBinning(TH1 *h, const MBinning *binsx);
  • trunk/MagicSoft/Mars/mhist/MHHadroness.cc

    r1346 r1353  
    197197Bool_t MHHadroness::Finalize()
    198198{
    199     *fLog << inf << "Finished filling hadroness histograms." << endl;
    200 
    201199    Int_t n = fGhness->GetNbinsX();
    202200
     
    268266    *fLog << "Hadroness histograms:" << endl;
    269267    *fLog << "---------------------" << endl;
     268    *fLog << "Acc Gammas at  1% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.01)*100) << "%" << endl;
     269    *fLog << "Acc Gammas at  2% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.02)*100) << "%" << endl;
     270    *fLog << "Acc Gammas at  5% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.05)*100) << "%" << endl;
    270271    *fLog << "Acc Gammas at 10% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.1)*100) << "%" << endl;
    271272    *fLog << "Acc Gammas at 20% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.2)*100) << "%" << endl;
     
    274275    *fLog << "Acc Gammas at 50% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.5)*100) << "%" << endl;
    275276    const Int_t h = fMinDist->GetMaximumBin();
    276     *fLog << "Minimum Distance to (0, 1): " << Form("%.2f", 1-fMinDist->GetMaximum()) << " at H=" << fMinDist->GetBinCenter(h) << endl;
    277     *fLog << " Acc Gammas = " << Form("%3.0f", fIntGhness->GetBinContent(h)*100) << "%, ";
     277    *fLog << "Minimum Distance to (0, 1): " << Form("%.2f", 1-fMinDist->GetMaximum()) << " @ H=" << fMinDist->GetBinCenter(h) << endl;
     278    *fLog << "  Acc Gammas = " << Form("%3.0f", fIntGhness->GetBinContent(h)*100) << "%, ";
    278279    *fLog << "Acc Hadrons = " << Form("%3.0f", fIntPhness->GetBinContent(h)*100) << "%" << endl;
    279     *fLog << "Maximum Q-Factor: " << GetQfac()->GetMaximum() << endl;
    280 
     280    const Int_t q = GetQfac()->GetMaximumBin();
     281    *fLog << "Maximum Q-Factor: " << GetQfac()->GetMaximum() << " @ H=";
     282    *fLog << GetQfac()->GetBinCenter(q) << endl;;
     283    *fLog << "  Acc Gammas = " << Form("%3.0f", fIntGhness->GetBinContent(q)*100) << "%, ";
     284    *fLog << "Acc Hadrons = " << Form("%3.0f", fIntPhness->GetBinContent(q)*100) << "%" << endl;
    281285    *fLog << endl;
    282286}
  • trunk/MagicSoft/Mars/mhist/MHMatrix.h

    r1336 r1353  
    3939    const TList *GetRules() const { return fRules; }
    4040
     41    void SetEnergy(MHMatrix *m) { fEnergy = m; }
     42
    4143    //void Draw(Option_t *opt=NULL);
    4244    //TObject *DrawClone(Option_t *opt=NULL) const;
Note: See TracChangeset for help on using the changeset viewer.