Changeset 1353 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 06/10/02 09:01:08 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MH.h
r1334 r1353 26 26 27 27 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); 29 29 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); 31 31 32 32 static void SetBinning(TH1 *h, const MBinning *binsx); -
trunk/MagicSoft/Mars/mhist/MHHadroness.cc
r1346 r1353 197 197 Bool_t MHHadroness::Finalize() 198 198 { 199 *fLog << inf << "Finished filling hadroness histograms." << endl;200 201 199 Int_t n = fGhness->GetNbinsX(); 202 200 … … 268 266 *fLog << "Hadroness histograms:" << endl; 269 267 *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; 270 271 *fLog << "Acc Gammas at 10% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.1)*100) << "%" << endl; 271 272 *fLog << "Acc Gammas at 20% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.2)*100) << "%" << endl; … … 274 275 *fLog << "Acc Gammas at 50% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.5)*100) << "%" << endl; 275 276 const Int_t h = fMinDist->GetMaximumBin(); 276 *fLog << "Minimum Distance to (0, 1): " << Form("%.2f", 1-fMinDist->GetMaximum()) << " atH=" << 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) << "%, "; 278 279 *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; 281 285 *fLog << endl; 282 286 } -
trunk/MagicSoft/Mars/mhist/MHMatrix.h
r1336 r1353 39 39 const TList *GetRules() const { return fRules; } 40 40 41 void SetEnergy(MHMatrix *m) { fEnergy = m; } 42 41 43 //void Draw(Option_t *opt=NULL); 42 44 //TObject *DrawClone(Option_t *opt=NULL) const;
Note:
See TracChangeset
for help on using the changeset viewer.