Line | |
---|
1 | #ifndef MARS_MCameraTD
|
---|
2 | #define MARS_MCameraTD
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MCamEvent
|
---|
8 | #include "MCamEvent.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef ROOT_TArrayC
|
---|
12 | #include <TArrayC.h>
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | class MCameraTD : public MParContainer, public MCamEvent
|
---|
16 | {
|
---|
17 | friend class MReportCC;
|
---|
18 | private:
|
---|
19 | TArrayC fTD; // [au] discriminator delays
|
---|
20 |
|
---|
21 | public:
|
---|
22 | MCameraTD(Int_t size=577, const char *name=NULL, const char *title=NULL);
|
---|
23 |
|
---|
24 | Byte_t operator[](Int_t i) { return fTD[i]; }
|
---|
25 |
|
---|
26 | Byte_t GetMin() const;
|
---|
27 | Byte_t GetMax() const;
|
---|
28 |
|
---|
29 | void Print(Option_t *opt=NULL) const;
|
---|
30 |
|
---|
31 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
|
---|
32 | {
|
---|
33 | if (idx>=fTD.GetSize())
|
---|
34 | return kFALSE;
|
---|
35 |
|
---|
36 | val = fTD[idx];
|
---|
37 | return val>0;
|
---|
38 | }
|
---|
39 | void DrawPixelContent(Int_t num) const
|
---|
40 | {
|
---|
41 | }
|
---|
42 |
|
---|
43 | ClassDef(MCameraTD, 1) // Storage Container for Discriminator Delays
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.