Last change
on this file since 9492 was 498, checked in by magicsol, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
882 bytes
|
Line | |
---|
1 | #ifndef MRAWCRATEDATA_H
|
---|
2 | #define MRAWCRATEDATA_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "../MBase/MAGIC.h"
|
---|
6 | #endif
|
---|
7 | #ifndef ROOT_TObject
|
---|
8 | #include <TObject.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class ifstream;
|
---|
12 |
|
---|
13 | class MRawCrateData : public TObject
|
---|
14 | {
|
---|
15 | private:
|
---|
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 |
|
---|
20 | public:
|
---|
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(ifstream& 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.