Changeset 8911 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 06/02/08 10:36:33 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
r8709 r8911 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 621 ! Copyright: MAGIC Software Development, 2000-2008 22 22 ! 23 23 ! … … 35 35 ////////////////////////////////////////////////////////////////////////////// 36 36 #include "MHCollectionArea.h" 37 38 #include <TMath.h> 37 39 38 40 #include <TLatex.h> … … 112 114 fHistAll.Sumw2(); 113 115 fHEnergy.Sumw2(); 116 } 117 118 // -------------------------------------------------------------------------- 119 // 120 // Return the Area defined by fMcAreaRadius 121 // 122 Double_t MHCollectionArea::GetCollectionAreaAbs() const 123 { 124 return TMath::Pi()*fMcAreaRadius*fMcAreaRadius; 114 125 } 115 126 -
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h
r8673 r8911 58 58 Double_t GetEntries() const { return fHistAll.Integral(); } 59 59 Double_t GetCollectionAreaEff() const { return fHEnergy.Integral(); } 60 Double_t GetCollectionAreaAbs() const { return TMath::Pi()*fMcAreaRadius*fMcAreaRadius; }60 Double_t GetCollectionAreaAbs() const; 61 61 62 62 void SetMcAreaRadius(Float_t x) { fMcAreaRadius = x; } -
trunk/MagicSoft/Mars/mhflux/MHThreshold.cc
r8047 r8911 18 18 ! Author(s): Thomas Bretz 12/2005 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 520 ! Copyright: MAGIC Software Development, 2000-2008 21 21 ! 22 22 ! … … 35 35 ////////////////////////////////////////////////////////////////////////////// 36 36 #include "MHThreshold.h" 37 38 #include <TMath.h> 37 39 38 40 #include <TF1.h>
Note:
See TracChangeset
for help on using the changeset viewer.