Changeset 4892 for trunk/MagicSoft/Cosy


Ignore:
Timestamp:
09/09/04 11:12:00 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/caos
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/caos/Led.cc

    r4107 r4892  
    11#include "Led.h"
    22
    3 #include <iostream.h>
     3#include <iostream>
    44
    55#include <TROOT.h>
     
    1111ClassImp(Led);
    1212
     13using namespace std;
     14
    1315void Led::CalcPhi(const Ring &ring)
    1416{
     
    1618}
    1719
    18 void Led::Print(Option_t *o=NULL) const
     20void Led::Print(Option_t *o) const
    1921{
    2022    MString str;
  • trunk/MagicSoft/Cosy/caos/Leds.cc

    r2278 r4892  
    11#include "Leds.h"
    22
    3 #include <iostream.h>
     3#include <iostream>
    44
    55#include "Led.h"
    66
    77ClassImp(Leds);
     8
     9using namespace std;
    810
    911void Leds::Set(Int_t i, Double_t x, Double_t y, Double_t dx, Double_t dy, Double_t mag)
     
    1719}
    1820
    19 void Leds::Print(Option_t *o=NULL) const
     21void Leds::Print(Option_t *o) const
    2022{
    2123    cout << "Number of Leds: " << GetEntries() << endl;
  • trunk/MagicSoft/Cosy/caos/Ring.cc

    r4856 r4892  
    11#include "Ring.h"
    22
    3 #include <iostream.h>
     3#include <iostream>
    44
    55#include "Led.h"
     
    1111ClassImp(Ring);
    1212
     13using namespace std;
     14
    1315Ring::Ring(Double_t x, Double_t y) :
    1416    fX(x), fY(y), fR(0), fPhi(0), fDx(-1), fDy(-1), fDr(-1), fDphi(-1)
    1517{
    1618}
    17 
    1819
    1920bool Ring::CalcCenter(const Leds &leds, Int_t i, Int_t j, Int_t k)
     
    119120}
    120121
    121 void Ring::Print(Option_t *o=NULL) const
     122void Ring::Print(Option_t *o) const
    122123{
    123124    MString str;
  • trunk/MagicSoft/Cosy/caos/Rings.cc

    r4865 r4892  
    11#include "Rings.h"
    22
    3 #include <iostream.h>
     3#include <iostream>
    44
    55#include "Led.h"
     
    77
    88ClassImp(Rings);
     9
     10using namespace std;
    911
    1012void Rings::CalcCenters(const Leds &leds, Float_t min, Float_t max)
     
    5153    fCenter.InterpolCenters(*this);
    5254
    53     //
    54     // angles v
    55     //
    56     const int n=leds.GetEntries();
    57 
     55    int n = leds.GetEntries();
    5856    for (int j=0; j<n; j++)
    5957        leds(j).CalcPhi(fCenter);
    6058}
    6159
    62 void Rings::Print(Option_t *o=NULL) const
     60void Rings::Print(Option_t *o) const
    6361{
    6462    cout << "Number of Rings: " << GetEntries() << endl;
Note: See TracChangeset for help on using the changeset viewer.