source: trunk/MagicSoft/Cosy/caos/Leds.cc@ 1882

Last change on this file since 1882 was 1802, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 343 bytes
Line 
1#include "Leds.h"
2
3#include <iostream.h>
4
5#include "Led.h"
6
7ClassImp(Leds);
8
9void 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
14void 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.