ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtUnpack
GETDecoder2
GETBasicFrameHeader.h
Go to the documentation of this file.
1
#ifndef GETBASICFRAMEHEADER
2
#define GETBASICFRAMEHEADER
3
4
#include "
GETHeaderBase.h
"
5
6
class
TBuffer;
7
class
TClass;
8
class
TMemberInspector;
9
10
#define GETBASICFRAMEHEADERSIZE (GETHEADERBASESIZE + 79)
11
12
#include <Rtypes.h>
13
14
#include <stdint.h>
15
16
#include <bitset>
17
#include <iosfwd>
18
19
using
std::bitset;
20
21
class
GETBasicFrameHeader
:
public
GETHeaderBase
{
22
public
:
23
GETBasicFrameHeader
();
24
25
UInt_t
GetHeaderSize
(Bool_t inBytes = kTRUE);
26
UInt_t
GetItemSize
();
27
UInt_t
GetNItems
();
28
ULong_t
GetEventTime
();
29
UInt_t
GetEventID
();
30
UInt_t
GetCoboID
();
31
UInt_t
GetAsadID
();
32
UInt_t
GetReadOffset
();
33
UInt_t
GetStatus
();
34
bitset<72>
GetHitPat
(Int_t asadID);
35
UInt_t
GetMultip
(Int_t asadID);
36
UInt_t
GetWindowOut
();
37
UInt_t
GetLastCell
(Int_t asadID);
38
ULong64_t
GetFrameSkip
();
39
UInt_t
GetHeaderSkip
();
40
41
void
Clear
(Option_t * =
""
);
42
void
Read
(ifstream &stream);
43
44
void
Print
();
45
46
private
:
47
uint8_t fHeaderSize[2];
48
uint8_t fItemSize[2];
49
uint8_t fNItems[4];
50
uint8_t fEventTime[6];
51
uint8_t fEventID[4];
52
uint8_t fCoboID;
53
uint8_t fAsadID;
54
uint8_t fReadOffset[2];
55
uint8_t fStatus;
56
uint8_t fHitPat[4][9];
57
uint8_t fMultip[4][2];
58
uint8_t fWindowOut[4];
59
uint8_t fLastCell[4][2];
60
61
ClassDef(
GETBasicFrameHeader
, 1)
62
};
63
64
#endif
GETBasicFrameHeader::GetWindowOut
UInt_t GetWindowOut()
Definition:
GETBasicFrameHeader.cxx:77
GETBasicFrameHeader::GetHeaderSize
UInt_t GetHeaderSize(Bool_t inBytes=kTRUE)
Definition:
GETBasicFrameHeader.cxx:15
GETBasicFrameHeader::Print
void Print()
Definition:
GETBasicFrameHeader.cxx:139
GETBasicFrameHeader::GetEventTime
ULong_t GetEventTime()
Definition:
GETBasicFrameHeader.cxx:27
GETHeaderBase.h
GETBasicFrameHeader::GetHeaderSkip
UInt_t GetHeaderSkip()
Definition:
GETBasicFrameHeader.cxx:92
GETBasicFrameHeader::GetLastCell
UInt_t GetLastCell(Int_t asadID)
Definition:
GETBasicFrameHeader.cxx:81
GETBasicFrameHeader::GetCoboID
UInt_t GetCoboID()
Definition:
GETBasicFrameHeader.cxx:35
GETBasicFrameHeader::Read
void Read(ifstream &stream)
Definition:
GETBasicFrameHeader.cxx:116
GETBasicFrameHeader::GetStatus
UInt_t GetStatus()
Definition:
GETBasicFrameHeader.cxx:47
GETBasicFrameHeader::GetHitPat
bitset< 72 > GetHitPat(Int_t asadID)
Definition:
GETBasicFrameHeader.cxx:52
GETBasicFrameHeader::GetItemSize
UInt_t GetItemSize()
Definition:
GETBasicFrameHeader.cxx:19
GETBasicFrameHeader::Clear
void Clear(Option_t *="")
Definition:
GETBasicFrameHeader.cxx:97
GETBasicFrameHeader::GetAsadID
UInt_t GetAsadID()
Definition:
GETBasicFrameHeader.cxx:39
GETBasicFrameHeader::GetNItems
UInt_t GetNItems()
Definition:
GETBasicFrameHeader.cxx:23
GETHeaderBase
Definition:
GETHeaderBase.h:23
GETBasicFrameHeader::GetReadOffset
UInt_t GetReadOffset()
Definition:
GETBasicFrameHeader.cxx:43
GETBasicFrameHeader
Definition:
GETBasicFrameHeader.h:21
GETBasicFrameHeader::GETBasicFrameHeader
GETBasicFrameHeader()
GETBasicFrameHeader::GetMultip
UInt_t GetMultip(Int_t asadID)
Definition:
GETBasicFrameHeader.cxx:71
GETBasicFrameHeader::GetFrameSkip
ULong64_t GetFrameSkip()
Definition:
GETBasicFrameHeader.cxx:88
GETBasicFrameHeader::GetEventID
UInt_t GetEventID()
Definition:
GETBasicFrameHeader.cxx:31
Generated on Sat Nov 11 2023 15:30:39 for ATTPCROOT by
1.8.18