Changeset 1354 for trunk/MagicSoft/Mars
- Timestamp:
- 06/10/02 09:04:28 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1353 r1354 1 1 -*-*- END -*-*- 2 2 2002/06/10: Thomas Bretz 3 4 * macros/plot.C: 5 - added 6 7 * macros/plot2.C: 8 - added 3 9 4 10 * manalysis/MHillas.cc: -
trunk/MagicSoft/Mars/mhist/MHHadroness.cc
r1353 r1354 266 266 *fLog << "Hadroness histograms:" << endl; 267 267 *fLog << "---------------------" << endl; 268 *fLog << "Used " << fGhness->GetEntries() << " Gammas and " << fPhness->GetEntries() << " Hadrons." << endl; 268 269 *fLog << "Acc Gammas at 1% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.01)*100) << "%" << endl; 269 270 *fLog << "Acc Gammas at 2% Hadron-acc: " << Form("%3.0f", GetGammaAcceptance(0.02)*100) << "%" << endl; -
trunk/MagicSoft/Mars/mhist/MHMatrix.cc
r1348 r1354 45 45 #include "MHMatrix.h" 46 46 47 #include <math.h> // fabs on Alpha48 49 47 #include <TList.h> 50 48 #include <TArrayD.h> … … 353 351 d2 *= m; 354 352 355 dists[i] = fabs(d2*d);353 dists[i] = d2*d; // square of distance 356 354 } 357 355 … … 365 363 res += dists[idx[i]]; 366 364 367 return res/n;365 return sqrt(res)/n; 368 366 } 369 367
Note:
See TracChangeset
for help on using the changeset viewer.