source: trunk/MagicSoft/Mars/mcamera/MCameraRecTemp.h@ 8188

Last change on this file since 8188 was 7726, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 885 bytes
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
12class MCameraRecTemp : public MParContainer
13{
14 friend class MReportCC;
15private:
16 TArrayF fRecTemp; // [deg C] receiver board temperatures
17 Bool_t fIsValid; // fRecTemp contains valid information
18
19public:
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.