Changeset 8912


Ignore:
Timestamp:
06/02/08 10:43:07 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8906 r8912  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22 2008/06/02 Thomas Bretz
     23
     24   * mars.cc, sinope.cc:
     25     - added include of TClass for TIgnoreStreamer (root 5.18)
     26
     27   * manalysis/MEventRate.[h,cc]:
     28     - moved GetError to source file and included TMath (root 5.18)
     29
     30   * manalysis/MMultiDimDistCalc.cc, mdata/MDataList.cc:
     31     - included math.h (root 5.18)
     32
     33   * mastro/MAstro.[h,cc], mastro/MVector3.[h,cc], mbase/MRunIter.[h,cc],
     34     mbase/MTime.[h,cc], mdata/MDataPhrase.[h,cc], mgeom/MGeomPix.[h,cc],
     35     mhcalib/MHCalibrationChargeBlindPix.[h,cc],
     36     mhflux/MHCollectionArea.[h,cc], mhft/MHexagonFreqSpace.[h,cc],
     37     mimage/MHillas.[h,cc], mmuon/MMuonSearchPar..[h,cc],
     38     mpedestal/MPedestalPix.[h,cc], mpointing/MPointingDev.[h,cc],
     39     mpointing/MSrcPosCam.[h,cc]:
     40     - moved some code to source file to prevent TMath inclusion in
     41       header (root 5.18)
     42
     43   * mbase/MEnv.cc:
     44     - added missing include TObjArray (root 5.18)
     45     - removed obsolete EmarkerStyles (root 5.18)
     46
     47   * mbase/MDirIter.cc:
     48     - added missing include TList (root 5.18)
     49
     50   * mastro/MAstroCatalog.cc, mhist/MHHadronness.cc, mhist/MHWeather.cc,
     51     mhvstime/MHPixVsTime.cc, mhvstime/MHVsTime.cc,
     52     mpointing/MHPointing.cc, mranforest/MHRanForest.cc,
     53     mranforest/MHRanForestGini.cc, mranforest/MRanForest.cc,
     54     mreflector/MHReflector.cc:
     55     - added missing inlcude TH1 (root 5.18)
     56
     57   * mbase/MFilter.cc, mbase/MGMap.cc, mbase/MTask.cc,
     58     mcalib/MCalibrationBlindPix.cc, mdata/MDataChain.cc,
     59     mfilter/MFEnergySlope.cc, mgeom/MGeomMirror.cc,
     60     mgui/MCamEvent.cc, mhbase/MBinning.cc, mhbase/MHMatrix.cc,
     61     mhcalib/MHCalibrationPix.cc, mhcalib/MHGausEvents.cc,
     62     mhflux/MHEnergyEst.cc, mhist/MHCamEventRot.cc,
     63     mhist/MHHadronness.cc, mranforest/MHRanForest.cc,
     64     mreflector/MRflEvtHeader.cc, mreflector/MRflSinglePhoton.cc,
     65     msql/MSQLServer.cc, mtools/MSimulatedAnnealing.cc,
     66     mtools/MTFillMatrix.cc, mcalib/MCalibrationPix.cc,
     67     mcalib/MCalibrationQEPix.cc, manalysis/MParameterCalc.cc,
     68     mcalib/MCalibrationTestCalc.cc, mdata/MDataArray.cc,
     69     mgeom/MGeomCamDwarf.cc, mhbase/MH3.cc, mtools/MagicJam.cc,
     70     mhcalib/MHCalibrationRelTimeCam.cc, mhft/MGeomCamMagicXT.cc,
     71     mranforest/MRanForestCalc.cc, mtools/MagicDomino.cc,
     72     mhflux/MHThreshold.cc, mimage/MStereoPar.cc,
     73     mfilter/MFCosmics.cc, mpedestal/MPedestalCam.cc:
     74     - added missing include of TMath (root 5.18)
     75
     76   * mbase/MGTask.cc, mdata/MDataChain.cc, mhbase/MHArray.cc,
     77     mjobs/MJCut.cc, mjoptim/MJOptimizeCuts.cc, mmc/MMcEvt.cxx:
     78     - added missing include of TClass (root 5.18)
     79
     80   * mhbase/MH3.cc:
     81     - added missing include of THashList (root 5.18)
     82
     83   * mcalib/MCalibrationChargeCalc.[h,cc], msignal/MExtractor.[h,cc],
     84     mpedestal/MPedestalSubtract.[h,cc], msignal/MExtractTime.[h,cc]:
     85     - for convinience (rootcint of 5.18) changed "static const TString"
     86       to "static const char *"
     87
     88   * mhflux/MMcSpectrumWeight.cc:
     89     - Use TString::Data() for second argument in TF1 constructor.
     90       Otherwise it is ambiguous in root 5.18
     91
    2092
    2193
  • trunk/MagicSoft/Mars/mfilter/MFCosmics.cc

    r8892 r8912  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MFCosmics.cc,v 1.17 2008-05-19 14:04:11 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MFCosmics.cc,v 1.18 2008-06-02 09:42:06 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    2121!   Author(s): Thomas Bretz <mailto:tbretz@astro.uni-wuerzburg.de>
    2222!
    23 !   Copyright: MAGIC Software Development, 2000-2006
     23!   Copyright: MAGIC Software Development, 2000-2008
    2424!
    2525!
     
    5353//////////////////////////////////////////////////////////////////////////////
    5454#include "MFCosmics.h"
     55
     56#include <TMath.h>
    5557
    5658#include "MLog.h"
  • trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc

    r8804 r8912  
    2020!   Author(s): Florian Goebel 06/2004 <mailto:fgoebel@mppmu.mpg.de>
    2121!
    22 !   Copyright: MAGIC Software Development, 2000-2007
     22!   Copyright: MAGIC Software Development, 2000-2008
    2323!
    2424!
     
    4343#include "MPedestalCam.h"
    4444#include "MPedestalPix.h"
     45
     46#include <TMath.h>
    4547
    4648#include <TArrayI.h>
  • trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc

    r8911 r8912  
    5858/////////////////////////////////////////////////////////////////////////////
    5959#include "MPedestalPix.h"
     60
     61#include <TMath.h>
    6062
    6163#include "MLog.h"
  • trunk/MagicSoft/Mars/mpointing/MPointingDev.cc

    r8911 r8912  
    3232#include "MPointingDev.h"
    3333
     34#include <TMath.h>
     35
    3436ClassImp(MPointingDev);
    3537
  • trunk/MagicSoft/Mars/mpointing/MPointingDev.h

    r8725 r8912  
    3737    TVector2 GetDevXY() const { return TVector2(fDevX, fDevY); }
    3838
    39     Double_t GetDevZdRad() const  { return fDevZd*TMath::DegToRad(); }
    40     Double_t GetDevAzRad() const  { return fDevAz*TMath::DegToRad(); }
     39    Double_t GetDevZdRad() const;//  { return fDevZd*TMath::DegToRad(); }
     40    Double_t GetDevAzRad() const;//  { return fDevAz*TMath::DegToRad(); }
    4141
    4242    ClassDef(MPointingDev, 1) //Container storing the telescope mispointing
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc

    r8801 r8912  
    115115// -----------------------------------------------------------------------
    116116//
     117//    return TMath::Hypot(fX, fY);
     118//
     119Float_t MSrcPosCam::GetDist() const
     120{
     121    return TMath::Hypot(fX, fY);
     122}
     123
     124// -----------------------------------------------------------------------
     125//
    117126// Get TVector2(fX, fY)
    118127//
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h

    r8802 r8912  
    55#include "MParContainer.h"
    66#endif
     7
     8#include <TMath.h>
    79
    810class TVector2;
     
    2729    void Add(const TVector2 &v);
    2830
    29     Float_t GetDist() const { return TMath::Hypot(fX, fY); }
     31    Float_t GetDist() const;
    3032
    3133    Float_t GetX() const             { return fX; }
Note: See TracChangeset for help on using the changeset viewer.