source:
trunk/MagicSoft/Cosy/caos/Leds.cc@
1949
Last change on this file since 1949 was 1802, checked in by , 22 years ago | |
---|---|
File size: 343 bytes |
Line | |
---|---|
1 | #include "Leds.h" |
2 | |
3 | #include <iostream.h> |
4 | |
5 | #include "Led.h" |
6 | |
7 | ClassImp(Leds); |
8 | |
9 | void Leds::Set(Int_t i, Double_t x, Double_t y, Double_t dx, Double_t dy, Double_t mag) |
10 | { |
11 | new ((*this)[i]) Led(x, y, dx, dy, mag); |
12 | } |
13 | |
14 | void Leds::Print(Option_t *o=NULL) const |
15 | { |
16 | cout << "Number of Leds: " << GetEntries() << endl; |
17 | TClonesArray::Print(); |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.