| Line | |
|---|
| 1 | #ifndef MARS_MCameraRecTemp
|
|---|
| 2 | #define MARS_MCameraRecTemp
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TArrayF
|
|---|
| 9 | #include <TArrayF.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MCameraRecTemp : public MParContainer
|
|---|
| 13 | {
|
|---|
| 14 | friend class MReportCC;
|
|---|
| 15 | private:
|
|---|
| 16 | TArrayF fRecTemp; // [deg C] receiver board temperatures
|
|---|
| 17 | Bool_t fIsValid; // fRecTemp contains valid information
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| 20 | MCameraRecTemp(Int_t size=76, const char *name=NULL, const char *title=NULL);
|
|---|
| 21 |
|
|---|
| 22 | Float_t operator[](Int_t i) const { return fRecTemp[i]; }
|
|---|
| 23 |
|
|---|
| 24 | void Invalidate() { fRecTemp.Reset(); fIsValid=kFALSE; }
|
|---|
| 25 |
|
|---|
| 26 | void SetValid(Bool_t v=kTRUE) { fIsValid=v; }
|
|---|
| 27 | Bool_t IsValid() const { return fIsValid; }
|
|---|
| 28 |
|
|---|
| 29 | Float_t GetMin() const;
|
|---|
| 30 | Float_t GetMax() const;
|
|---|
| 31 |
|
|---|
| 32 | void Print(Option_t *opt=NULL) const;
|
|---|
| 33 |
|
|---|
| 34 | ClassDef(MCameraRecTemp, 2) // Storage Container for Receiver Board Temperature
|
|---|
| 35 | };
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.