Changeset 4865 for trunk/MagicSoft/Cosy/caos
- Timestamp:
- 09/05/04 18:56:47 (21 years ago)
- Location:
- trunk/MagicSoft/Cosy/caos
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/caos/Led.h
r2278 r4865 40 40 } 41 41 42 void SetX(Double_t x) { fX=x; } 43 void SetY(Double_t y) { fY=y; } 44 42 45 Double_t GetX() const { return fX; } 43 46 Double_t GetY() const { return fY; } -
trunk/MagicSoft/Cosy/caos/Rings.cc
r2278 r4865 14 14 int nPoints = leds.GetEntries(); 15 15 16 if (nPoints< 5)16 if (nPoints<fMinNumberLeds) 17 17 return; 18 18 -
trunk/MagicSoft/Cosy/caos/Rings.h
r2278 r4865 16 16 private: 17 17 Ring fCenter; 18 Short_t fMinNumberLeds; 18 19 19 20 void CalcCenters(const Leds &leds, Float_t min, Float_t max); 20 21 21 22 public: 22 Rings() : TClonesArray("Ring", 1) {} 23 Rings() : TClonesArray("Ring", 1) 24 { 25 fMinNumberLeds=5; 26 } 27 28 void SetMinNumberLeds(Short_t n) { fMinNumberLeds=n; } 23 29 24 30 void CalcRings(Leds &leds, Float_t min=-1, Float_t max=-1);
Note:
See TracChangeset
for help on using the changeset viewer.