| Line |  | 
|---|
| 1 | #include "Leds.h" | 
|---|
| 2 |  | 
|---|
| 3 | #include <iostream> | 
|---|
| 4 |  | 
|---|
| 5 | #include "Led.h" | 
|---|
| 6 |  | 
|---|
| 7 | ClassImp(Leds); | 
|---|
| 8 |  | 
|---|
| 9 | using namespace std; | 
|---|
| 10 |  | 
|---|
| 11 | void Leds::Set(Int_t i, Double_t x, Double_t y, Double_t dx, Double_t dy, Double_t mag) | 
|---|
| 12 | { | 
|---|
| 13 | new ((*this)[i]) Led(x, y, dx, dy, mag); | 
|---|
| 14 | } | 
|---|
| 15 |  | 
|---|
| 16 | void Leds::Add(Double_t x, Double_t y, Double_t dx, Double_t dy, Double_t mag) | 
|---|
| 17 | { | 
|---|
| 18 | Set(GetEntriesFast(), x, y, dx, dy, mag); | 
|---|
| 19 | } | 
|---|
| 20 |  | 
|---|
| 21 | void Leds::Print(Option_t *o) const | 
|---|
| 22 | { | 
|---|
| 23 | cout << "Number of Leds: " << GetEntries() << endl; | 
|---|
| 24 | TClonesArray::Print(); | 
|---|
| 25 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.