source: trunk/MagicSoft/Mars/mtemp/MStarLocalCam.h@ 5959

Last change on this file since 5959 was 4294, checked in by jlopez, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MStarLocalCam
2#define MARS_MStarLocalCam
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MHCamera
9#include "MHCamera.h"
10#endif
11
12class TList;
13
14class MGeomCam;
15class MStarLocalPos;
16
17class MStarLocalCam : public MParContainer
18{
19private:
20
21 TList *fStars; //-> FIXME: Change TClonesArray away from a pointer?
22
23 // BaseLine DCs info
24 Float_t fInnerPedestalDC; //[ua]
25 Float_t fOuterPedestalDC; //[ua]
26
27 Float_t fInnerPedestalRMSDC; //[ua]
28 Float_t fOuterPedestalRMSDC; //[ua]
29
30 MHCamera fDisplay;
31
32 public:
33
34 MStarLocalCam(const char *name=NULL, const char *title=NULL);
35 ~MStarLocalCam();
36
37 MStarLocalPos &operator[] (Int_t i);
38 const MStarLocalPos &operator[] (Int_t i) const;
39
40 TList *GetList() const { return fStars; }
41 UInt_t GetNumStars() const { return fStars->GetSize(); }
42
43 //Getters
44
45 Float_t GetInnerPedestalDC() {return fInnerPedestalDC;}
46 Float_t GetOuterPedestalDC() {return fOuterPedestalDC;}
47 Float_t GetInnerPedestalRMSDC() { return fInnerPedestalRMSDC;}
48 Float_t GetOuterPedestalRMSDC() { return fOuterPedestalRMSDC;}
49
50 MHCamera& GetDisplay() { return fDisplay; }
51
52 //Setters
53 void SetInnerPedestalDC(Float_t ped) {fInnerPedestalDC = ped;}
54 void SetOuterPedestalDC(Float_t ped) {fOuterPedestalDC = ped;}
55 void SetInnerPedestalRMSDC(Float_t rms){fInnerPedestalRMSDC = rms;}
56 void SetOuterPedestalRMSDC(Float_t rms){fOuterPedestalRMSDC = rms;}
57
58 void Paint(Option_t *o=NULL);
59 void Print(Option_t *o=NULL) const;
60
61 ClassDef(MStarLocalCam, 1) // Storage Container for star positions in the camera
62};
63
64#endif
Note: See TracBrowser for help on using the repository browser.