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

Last change on this file since 686 was 654, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 872 bytes
Line 
1#ifndef MRAWCRATEDATA_H
2#define MRAWCRATEDATA_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7#ifndef ROOT_TObject
8#include <TObject.h>
9#endif
10
11class ifstream;
12
13class MRawCrateData : public TObject
14{
15private:
16 UShort_t fDAQCrateNumber; // Crate number the information corresponds to
17 UInt_t fFADCEvtNumber; // event number from the fadc
18 UInt_t fFADCClockTick; // clock tick from the fadc (20MHz)
19
20public:
21 MRawCrateData();
22
23 ~MRawCrateData()
24 {
25 }
26
27 UChar_t GetDAQCrateNumber() const
28 {
29 return fDAQCrateNumber;
30 }
31
32 UInt_t GetFADCEvtNumber() const
33 {
34 return fFADCEvtNumber;
35 }
36
37 UInt_t GetFADCClockTick() const
38 {
39 return fFADCClockTick;
40 }
41
42 void Print(Option_t *t=NULL);
43
44 void ReadEvt(istream& fin);
45
46 ClassDef(MRawCrateData, 1) //Container to store the Raw CRATE DATA
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.