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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc

    r2043 r2173  
    4141#include "MLogManip.h"
    4242
    43 
    4443ClassImp(MHMcCT1CollectionArea);
     44
     45using namespace std;
    4546
    4647// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhistmc/MHMcCollectionArea.cc

    r2097 r2173  
    4545ClassImp(MHMcCollectionArea);
    4646
     47using namespace std;
     48
    4749// --------------------------------------------------------------------------
    4850//
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergy.cc

    r2017 r2173  
    3535
    3636#include <stdlib.h>
    37 #include <iostream.h>
     37#include <iostream>
    3838
    3939#include <TH1.h>
     
    4848
    4949ClassImp(MHMcEnergy);
     50
     51using namespace std;
    5052
    5153// -------------------------------------------------------------------------
     
    217219Float_t MHMcEnergy::CalcThresholdErr(TF1 *gauss)
    218220{
    219     const Float_t lg10  = log(10);
     221    const Float_t lg10  = log(10.);
    220222    const Float_t p1    = gauss->GetParameter(1);
    221223    const Float_t p1err = gauss->GetParError(1);
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc

    r2111 r2173  
    5050ClassImp(MHMcEnergyMigration);
    5151
     52using namespace std;
    5253
    5354// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhistmc/MHMcIntRate.cc

    r1974 r2173  
    4444
    4545ClassImp(MHMcIntRate);
     46
     47using namespace std;
    4648
    4749// -------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mhistmc/MHMcRate.cc

    r2017 r2173  
    4040ClassImp(MHMcRate);
    4141
     42using namespace std;
     43
    4244void MHMcRate::Init(const char *name, const char *title)
    4345{
     
    196198    const Double_t specidx = 1.0-fSpecIndex;
    197199
    198     const Double_t epowmax = pow(fEnergyMax, specidx);
    199     const Double_t epowmin = pow(fEnergyMin, specidx);
     200    const Double_t epowmax = pow((double)fEnergyMax, specidx);
     201    const Double_t epowmin = pow((double)fEnergyMin, specidx);
    200202
    201203    if (fShowerRate <= 0)
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc

    r2043 r2173  
    5151#include "MBinning.h"
    5252
     53using namespace std;
     54
    5355/*
    5456 Please, DON'T USE IFDEFS IN SUCH A CONTEXT, Thomas.
Note: See TracChangeset for help on using the changeset viewer.