source: trunk/Mars/mcamera/MCameraRecTemp.h@ 17846

Last change on this file since 17846 was 8955, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 959 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;
15 friend class MReportRec;
16private:
17 TArrayF fRecTemp; // [deg C] receiver board temperatures
18 Bool_t fIsValid; // fRecTemp contains valid information
19
20 Bool_t InterpreteRecTemp(TString &str);
21
22public:
23 MCameraRecTemp(Int_t size=76, const char *name=NULL, const char *title=NULL);
24
25 Float_t operator[](Int_t i) const { return fRecTemp[i]; }
26
27 void Invalidate() { fRecTemp.Reset(); fIsValid=kFALSE; }
28
29 void SetValid(Bool_t v=kTRUE) { fIsValid=v; }
30 Bool_t IsValid() const { return fIsValid; }
31
32 Float_t GetMin() const;
33 Float_t GetMax() const;
34
35 void Print(Option_t *opt=NULL) const;
36
37 ClassDef(MCameraRecTemp, 2) // Storage Container for Receiver Board Temperature
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.