ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
GETTopologyFrame.h
Go to the documentation of this file.
1 #ifndef GETTOPOLOGYFRAME
2 #define GETTOPOLOGYFRAME
3 
4 #include <Rtypes.h>
5 
6 #include "GETHeaderBase.h"
7 #include <stdint.h>
8 
9 #include <bitset>
10 #include <iosfwd>
11 
12 class TBuffer;
13 class TClass;
14 class TMemberInspector;
15 
16 using std::bitset;
17 
18 #define GETTOPOLOGYFRAMESIZE (GETHEADERBASESIZE + 4)
19 
21 public:
23 
24  UInt_t GetCoboIdx();
25  bitset<4> GetAsadMask();
26  UInt_t Get2pMode();
27  UInt_t GetUNUSED();
28  ULong64_t GetFrameSkip();
29  ULong64_t GetHeaderSkip();
30 
31  void Clear(Option_t * = "");
32  void Read(ifstream &Stream);
33 
34  void Print();
35 
36 private:
37  uint8_t fCoboIdx;
38  uint8_t fAsadMask;
39  uint8_t f2pMode;
40  uint8_t fUNUSED;
41 
42  ClassDef(GETTopologyFrame, 1)
43 };
44 
45 #endif
GETTopologyFrame::GetFrameSkip
ULong64_t GetFrameSkip()
Definition: GETTopologyFrame.cxx:31
GETHeaderBase.h
GETTopologyFrame::GETTopologyFrame
GETTopologyFrame()
GETTopologyFrame::GetHeaderSkip
ULong64_t GetHeaderSkip()
Definition: GETTopologyFrame.cxx:35
GETTopologyFrame::GetAsadMask
bitset< 4 > GetAsadMask()
Definition: GETTopologyFrame.cxx:19
GETTopologyFrame::GetCoboIdx
UInt_t GetCoboIdx()
Definition: GETTopologyFrame.cxx:15
GETHeaderBase
Definition: GETHeaderBase.h:23
GETTopologyFrame::Read
void Read(ifstream &Stream)
Definition: GETTopologyFrame.cxx:50
GETTopologyFrame::Get2pMode
UInt_t Get2pMode()
Definition: GETTopologyFrame.cxx:23
GETTopologyFrame::GetUNUSED
UInt_t GetUNUSED()
Definition: GETTopologyFrame.cxx:27
GETTopologyFrame
Definition: GETTopologyFrame.h:20
GETTopologyFrame::Print
void Print()
Definition: GETTopologyFrame.cxx:62
GETTopologyFrame::Clear
void Clear(Option_t *="")
Definition: GETTopologyFrame.cxx:40