Changeset 4892
- Timestamp:
- 09/09/04 11:12:00 (20 years ago)
- Location:
- trunk/MagicSoft/Cosy/caos
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/caos/Led.cc
r4107 r4892 1 1 #include "Led.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include <TROOT.h> … … 11 11 ClassImp(Led); 12 12 13 using namespace std; 14 13 15 void Led::CalcPhi(const Ring &ring) 14 16 { … … 16 18 } 17 19 18 void Led::Print(Option_t *o =NULL) const20 void Led::Print(Option_t *o) const 19 21 { 20 22 MString str; -
trunk/MagicSoft/Cosy/caos/Leds.cc
r2278 r4892 1 1 #include "Leds.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include "Led.h" 6 6 7 7 ClassImp(Leds); 8 9 using namespace std; 8 10 9 11 void Leds::Set(Int_t i, Double_t x, Double_t y, Double_t dx, Double_t dy, Double_t mag) … … 17 19 } 18 20 19 void Leds::Print(Option_t *o =NULL) const21 void Leds::Print(Option_t *o) const 20 22 { 21 23 cout << "Number of Leds: " << GetEntries() << endl; -
trunk/MagicSoft/Cosy/caos/Ring.cc
r4856 r4892 1 1 #include "Ring.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include "Led.h" … … 11 11 ClassImp(Ring); 12 12 13 using namespace std; 14 13 15 Ring::Ring(Double_t x, Double_t y) : 14 16 fX(x), fY(y), fR(0), fPhi(0), fDx(-1), fDy(-1), fDr(-1), fDphi(-1) 15 17 { 16 18 } 17 18 19 19 20 bool Ring::CalcCenter(const Leds &leds, Int_t i, Int_t j, Int_t k) … … 119 120 } 120 121 121 void Ring::Print(Option_t *o =NULL) const122 void Ring::Print(Option_t *o) const 122 123 { 123 124 MString str; -
trunk/MagicSoft/Cosy/caos/Rings.cc
r4865 r4892 1 1 #include "Rings.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include "Led.h" … … 7 7 8 8 ClassImp(Rings); 9 10 using namespace std; 9 11 10 12 void Rings::CalcCenters(const Leds &leds, Float_t min, Float_t max) … … 51 53 fCenter.InterpolCenters(*this); 52 54 53 // 54 // angles v 55 // 56 const int n=leds.GetEntries(); 57 55 int n = leds.GetEntries(); 58 56 for (int j=0; j<n; j++) 59 57 leds(j).CalcPhi(fCenter); 60 58 } 61 59 62 void Rings::Print(Option_t *o =NULL) const60 void Rings::Print(Option_t *o) const 63 61 { 64 62 cout << "Number of Rings: " << GetEntries() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.