Ignore:
Timestamp:
06/13/03 16:42:37 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MBinning.cc

    r2117 r2173  
    3131
    3232#include <ctype.h>      // tolower
    33 #include <fstream.h>
     33#include <fstream>
    3434
    3535#include <TH1.h>        // InheritsFrom
     
    4141
    4242ClassImp(MBinning);
     43
     44using namespace std;
    4345
    4446static const TString gsDefName  = "MBinning";
     
    7577}
    7678
    77 void MBinning::SetEdges(const TH1 &h, const Char_t axis='x')
     79void MBinning::SetEdges(const TH1 &h, const Char_t axis)
    7880{
    7981    TH1 &hist = (TH1&)h; // get rid of const qualifier
  • trunk/MagicSoft/Mars/mhist/MFillH.cc

    r2117 r2173  
    7474#include "MFillH.h"
    7575
    76 #include <fstream.h>
     76#include <fstream>
    7777
    7878#include <TClass.h>
     
    9393
    9494ClassImp(MFillH);
     95
     96using namespace std;
    9597
    9698// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r2150 r2173  
    7575ClassImp(MH);
    7676
     77using namespace std;
     78
    7779// --------------------------------------------------------------------------
    7880//
  • trunk/MagicSoft/Mars/mhist/MH3.cc

    r2117 r2173  
    6161
    6262#include <ctype.h>   // tolower
    63 #include <fstream.h>
     63#include <fstream>
    6464
    6565#include <TPad.h>
     
    8080
    8181ClassImp(MH3);
     82
     83using namespace std;
    8284
    8385static const TString gsDefName  = "MH3";
     
    638640}
    639641
    640 TString MH3::GetRule(const Char_t axis='x') const
     642TString MH3::GetRule(const Char_t axis) const
    641643{
    642644    switch (tolower(axis))
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc

    r2164 r2173  
    4949
    5050ClassImp(MHAlphaEnergyTheta);
     51
     52using namespace std;
    5153
    5254// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc

    r2043 r2173  
    5050ClassImp(MHAlphaEnergyTime);
    5151
     52using namespace std;
    5253
    5354// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHArray.cc

    r2043 r2173  
    8080ClassImp(MHArray);
    8181
     82using namespace std;
     83
    8284//////////////////////////////////////////////////////////////////////////////
    8385//
     
    551553        MH::MakeDefCanvas(this);
    552554
    553     const Stat_t sstyle = gStyle->GetOptStat();
     555    const Int_t sstyle = gStyle->GetOptStat();
    554556    gStyle->SetOptStat(0);
    555557
     
    672674        o.Remove(scalemax, 9);
    673675
    674     const Stat_t sstyle = gStyle->GetOptStat();
     676    const Int_t sstyle = gStyle->GetOptStat();
    675677    gStyle->SetOptStat(0);
    676678
  • trunk/MagicSoft/Mars/mhist/MHBlindPixels.cc

    r2128 r2173  
    4343
    4444ClassImp(MHBlindPixels);
     45
     46using namespace std;
    4547
    4648// -------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc

    r2138 r2173  
    4444ClassImp(MHCerPhotEvt);
    4545
     46using namespace std;
     47
    4648// --------------------------------------------------------------------------
    4749//
    4850// Reset all pixels to 0 and reset fEntries to 0.
    4951//
    50 void MHCerPhotEvt::Clear()
     52void MHCerPhotEvt::Clear(const Option_t *)
    5153{
    5254    fSum.Reset();
  • trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h

    r2161 r2173  
    2626    ~MHCerPhotEvt();
    2727
    28     void Clear();
     28    void Clear(const Option_t *o="");
    2929
    3030    Bool_t SetupFill(const MParList *pList);
  • trunk/MagicSoft/Mars/mhist/MHCompProb.cc

    r2043 r2173  
    5353ClassImp(MHCompProb);
    5454
     55using namespace std;
     56
    5557// --------------------------------------------------------------------------
    5658//
  • trunk/MagicSoft/Mars/mhist/MHCurrents.cc

    r2157 r2173  
    4444ClassImp(MHCurrents);
    4545
     46using namespace std;
     47
    4648// --------------------------------------------------------------------------
    4749//
    4850// Reset all pixels to 0 and reset fEntries to 0.
    4951//
    50 void MHCurrents::Clear()
     52void MHCurrents::Clear(const Option_t *)
    5153{
    5254    // FIXME: Implement a clear function with setmem
  • trunk/MagicSoft/Mars/mhist/MHCurrents.h

    r2157 r2173  
    2727    ~MHCurrents();
    2828
    29     void Clear();
     29    void Clear(const Option_t *o="");
    3030
    3131    Bool_t SetupFill(const MParList *pList);
  • trunk/MagicSoft/Mars/mhist/MHEffOnTime.cc

    r2015 r2173  
    5858ClassImp(MHEffOnTime);
    5959
     60using namespace std;
    6061
    6162// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHEnergyTheta.cc

    r2043 r2173  
    4444
    4545ClassImp(MHEnergyTheta);
     46
     47using namespace std;
    4648
    4749// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc

    r2043 r2173  
    4545
    4646ClassImp(MHEnergyTime);
     47
     48using namespace std;
    4749
    4850// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHFadcCam.cc

    r2043 r2173  
    4141
    4242ClassImp(MHFadcCam);
     43
     44using namespace std;
    4345
    4446// --------------------------------------------------------------------------
     
    130132{
    131133    for (Int_t i=0; i<577; i++)
    132         Reset(i);
     134        ResetEntry(i);
    133135}
    134136
    135 void MHFadcCam::Reset(Int_t i)
     137void MHFadcCam::ResetEntry(Int_t i)
    136138{
    137139    GetHistHi(i)->Reset();
  • trunk/MagicSoft/Mars/mhist/MHFadcCam.h

    r2043 r2173  
    4949
    5050    void ResetHistograms();
    51     void Reset(Int_t i);
     51    void ResetEntry(Int_t i);
    5252
    5353    //
  • trunk/MagicSoft/Mars/mhist/MHFlux.cc

    r2016 r2173  
    5858ClassImp(MHFlux);
    5959
     60using namespace std;
     61
    6062MHFlux::MHFlux(const MHGamma &hist, const TString varname, const TString unit)
    6163    : fHOrig(), fHUnfold(), fHFlux()
  • trunk/MagicSoft/Mars/mhist/MHGamma.cc

    r1992 r2173  
    4848ClassImp(MHGamma);
    4949
     50using namespace std;
    5051
    5152// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHHadronness.cc

    r2060 r2173  
    7575
    7676ClassImp(MHHadronness);
     77
     78using namespace std;
    7779
    7880// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHMatrix.cc

    r2133 r2173  
    4747#include "MHMatrix.h"
    4848
    49 #include <fstream.h>
     49#include <fstream>
    5050
    5151#include <TList.h>
     
    7070#include "MFilter.h"
    7171
    72 
    7372ClassImp(MHMatrix);
     73
     74using namespace std;
    7475
    7576const TString MHMatrix::gsDefName  = "MHMatrix";
  • trunk/MagicSoft/Mars/mhist/MHSigmaPixel.cc

    r2043 r2173  
    4848
    4949ClassImp(MHSigmaPixel);
     50
     51using namespace std;
    5052
    5153// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc

    r2159 r2173  
    5656#include "MLogManip.h"
    5757
    58 
    5958ClassImp(MHSigmaTheta);
    6059
     60using namespace std;
    6161
    6262// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.cc

    r2043 r2173  
    4646
    4747ClassImp(MHSigmabarTheta);
     48
     49using namespace std;
    4850
    4951// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHStarMap.cc

    r2060 r2173  
    5050ClassImp(MHStarMap);
    5151
     52using namespace std;
     53
    5254// --------------------------------------------------------------------------
    5355//
  • trunk/MagicSoft/Mars/mhist/MHThetabarTheta.cc

    r2043 r2173  
    4444
    4545ClassImp(MHThetabarTheta);
     46
     47using namespace std;
    4648
    4749// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHThetabarTime.cc

    r2043 r2173  
    4646ClassImp(MHThetabarTime);
    4747
     48using namespace std;
    4849
    4950// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.cc

    r2043 r2173  
    4747ClassImp(MHTimeDiffTheta);
    4848
     49using namespace std;
    4950
    5051// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc

    r2043 r2173  
    4747ClassImp(MHTimeDiffTime);
    4848
     49using namespace std;
    4950
    5051// --------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.