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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdata/DataIncl.h

    r1287 r2173  
    11#ifndef __CINT__
    22
    3 #include <fstream.h>
     3//#include <fstream>
    44
    55#include <TFile.h>
  • trunk/MagicSoft/Mars/mdata/MData.cc

    r1574 r2173  
    6363#include "MData.h"
    6464
    65 #include <fstream.h>
     65#include <fstream>
    6666
    6767#include "MLog.h"
    6868
    6969ClassImp(MData);
     70
     71using namespace std;
    7072
    7173Bool_t MData::AsciiWrite(ostream &out) const
  • trunk/MagicSoft/Mars/mdata/MDataArray.cc

    r2114 r2173  
    3333#include "MDataArray.h"
    3434
    35 #include <fstream.h>
     35#include <fstream>
    3636
    3737#include <TVector.h>
     
    4343
    4444ClassImp(MDataArray);
     45
     46using namespace std;
    4547
    4648static const TString gsDefName  = "MDataArray";
     
    194196void MDataArray::GetData(TVector &v) const
    195197{
    196     Double_t ncols = GetNumEntries();
     198    Int_t ncols = GetNumEntries();
    197199
    198200    v.ResizeTo(ncols);
  • trunk/MagicSoft/Mars/mdata/MDataChain.cc

    r2117 r2173  
    126126
    127127ClassImp(MDataChain);
     128
     129using namespace std;
    128130
    129131// --------------------------------------------------------------------------
     
    543545    case kERad2Deg:  return val*180/TMath::Pi();
    544546    case kEDeg2Rad:  return val*TMath::Pi()/180;
    545     case kERandom:   return gRandom ? gRandom->Uniform(val)   : 0;
    546     case kERandomP:  return gRandom ? gRandom->Poisson(val)   : 0;
    547     case kERandomE:  return gRandom ? gRandom->Exp(val)       : 0;
    548     case kERandomI:  return gRandom ? gRandom->Integer(val)  : 0;
     547    case kERandom:   return gRandom ? gRandom->Uniform(val)      : 0;
     548    case kERandomP:  return gRandom ? gRandom->Poisson(val)      : 0;
     549    case kERandomE:  return gRandom ? gRandom->Exp(val)          : 0;
     550    case kERandomI:  return gRandom ? gRandom->Integer((int)val) : 0;
    549551    case kERandomG:  return gRandom ? gRandom->Gaus(0, val)   : 0;
    550552    case kERandomL:  return gRandom ? gRandom->Landau(0, val) : 0;
  • trunk/MagicSoft/Mars/mdata/MDataElement.cc

    r2098 r2173  
    3838#include "MDataElement.h"
    3939
    40 #include <fstream.h>
     40#include <fstream>
    4141
    4242#include "MHMatrix.h"
     
    4848
    4949ClassImp(MDataElement);
     50
     51using namespace std;
    5052
    5153// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mdata/MDataList.cc

    r1574 r2173  
    3636ClassImp(MDataList);
    3737
     38using namespace std;
     39
    3840// --------------------------------------------------------------------------
    3941//
  • trunk/MagicSoft/Mars/mdata/MDataMember.cc

    r1709 r2173  
    3838#include "MDataMember.h"
    3939
    40 #include <fstream.h>
     40#include <fstream>
    4141
    4242#include <TMethodCall.h>
     
    4848
    4949ClassImp(MDataMember);
     50
     51using namespace std;
    5052
    5153// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mdata/MDataValue.cc

    r1474 r2173  
    3838ClassImp(MDataValue);
    3939
     40using namespace std;
     41
    4042// --------------------------------------------------------------------------
    4143//
Note: See TracChangeset for help on using the changeset viewer.