Line | |
---|
1 | #ifndef MARS_MRawCrateData
|
---|
2 | #define MARS_MRawCrateData
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | //gcc 3.2
|
---|
9 | //class ifstream;
|
---|
10 | #include <iosfwd>
|
---|
11 |
|
---|
12 | class MRawCrateData : public MParContainer
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | UShort_t fDAQCrateNumber; // Crate number the information corresponds to
|
---|
16 | UInt_t fFADCEvtNumber; // event number from the fadc
|
---|
17 | UInt_t fFADCClockTick; // clock tick from the fadc (20MHz)
|
---|
18 | Byte_t fABFlags; // flag describing in which two-slice block the trigger was raised
|
---|
19 |
|
---|
20 | public:
|
---|
21 | MRawCrateData();
|
---|
22 |
|
---|
23 | UChar_t GetDAQCrateNumber() const { return fDAQCrateNumber; }
|
---|
24 | UInt_t GetFADCEvtNumber() const { return fFADCEvtNumber; }
|
---|
25 | UInt_t GetFADCClockTick() const { return fFADCClockTick; }
|
---|
26 | Byte_t GetABFlags() const { return fABFlags; }
|
---|
27 |
|
---|
28 | void Print(Option_t *t=NULL) const;
|
---|
29 |
|
---|
30 | void ReadEvt(istream& fin, UShort_t ver);
|
---|
31 | void SkipEvt(istream& fin, UShort_t ver);
|
---|
32 |
|
---|
33 | ClassDef(MRawCrateData, 2) //Container to store the Raw CRATE DATA
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.