Ignore:
Timestamp:
06/02/08 10:36:33 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r8709 r8911  
    1919!   Author(s): Harald Kornmayer 1/2001
    2020!
    21 !   Copyright: MAGIC Software Development, 2000-2006
     21!   Copyright: MAGIC Software Development, 2000-2008
    2222!
    2323!
     
    3535//////////////////////////////////////////////////////////////////////////////
    3636#include "MHCollectionArea.h"
     37
     38#include <TMath.h>
    3739
    3840#include <TLatex.h>
     
    112114    fHistAll.Sumw2();
    113115    fHEnergy.Sumw2();
     116}
     117
     118// --------------------------------------------------------------------------
     119//
     120// Return the Area defined by fMcAreaRadius
     121//
     122Double_t MHCollectionArea::GetCollectionAreaAbs() const
     123{
     124    return TMath::Pi()*fMcAreaRadius*fMcAreaRadius;
    114125}
    115126
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h

    r8673 r8911  
    5858    Double_t GetEntries() const { return fHistAll.Integral(); }
    5959    Double_t GetCollectionAreaEff() const { return fHEnergy.Integral(); }
    60     Double_t GetCollectionAreaAbs() const { return TMath::Pi()*fMcAreaRadius*fMcAreaRadius; }
     60    Double_t GetCollectionAreaAbs() const;
    6161
    6262    void SetMcAreaRadius(Float_t x) { fMcAreaRadius = x; }
  • trunk/MagicSoft/Mars/mhflux/MHThreshold.cc

    r8047 r8911  
    1818!   Author(s): Thomas Bretz  12/2005 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2005
     20!   Copyright: MAGIC Software Development, 2000-2008
    2121!
    2222!
     
    3535//////////////////////////////////////////////////////////////////////////////
    3636#include "MHThreshold.h"
     37
     38#include <TMath.h>
    3739
    3840#include <TF1.h>
Note: See TracChangeset for help on using the changeset viewer.