source: trunk/MagicSoft/Mars/mraw/MRawCrateData.h@ 2522

Last change on this file since 2522 was 2173, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 813 bytes
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
12class MRawCrateData : public MParContainer
13{
14private:
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
19public:
20 MRawCrateData();
21
22 UChar_t GetDAQCrateNumber() const { return fDAQCrateNumber; }
23 UInt_t GetFADCEvtNumber() const { return fFADCEvtNumber; }
24 UInt_t GetFADCClockTick() const { return fFADCClockTick; }
25
26 void Print(Option_t *t=NULL) const;
27
28 void ReadEvt(istream& fin);
29
30 ClassDef(MRawCrateData, 1) //Container to store the Raw CRATE DATA
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.