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