source: tags/Mars-V0.8/mraw/MRawCrateData.h

Last change on this file was 1031, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 783 bytes
Line 
1#ifndef MARS_MRawCrateData
2#define MARS_MRawCrateData
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class ifstream;
9
10class MRawCrateData : public MParContainer
11{
12private:
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
17public:
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.