Class of ARICH raw digits.
More...
#include <ARICHRawDigit.h>
|
| ARICHRawDigit () |
| Default constructor for ROOT IO.
|
|
| ARICHRawDigit (int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno=0) |
| Constructor.
|
|
| ~ARICHRawDigit () |
| Destructor.
|
|
void | set (int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno=0) |
| Set properties.
|
|
int | getCopperId () |
| Get COPPER ID.
|
|
int | getHslbId () |
| Get HSLB ID.
|
|
int | getPcieId () |
| Get PCIe ID.
|
|
int | getPcieChId () |
| Get PCIe channel ID.
|
|
int | getType () const |
| Get type.
|
|
int | getVersion () const |
| Get version.
|
|
int | getBoardId () const |
| Get board ID.
|
|
int | getFEBNo () const |
| Get FEB number.
|
|
unsigned int | getLength () const |
| Get length.
|
|
unsigned int | getTrgNo () const |
| Get trigger number.
|
|
int | getNFEBs () const |
| Get number of FEBs.
|
|
void | addFEB (FEBDigit &feb, int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno, unsigned int febtrgno) |
| Add properties of FEB.
|
|
void | setCopperId (int id) |
| Set COPPER ID.
|
|
void | setHslbId (int id) |
| Set HSLB ID.
|
|
void | setPcieId (int id) |
| Set PCIe ID.
|
|
void | setPcieChId (int id) |
| Set PCIe channel ID.
|
|
const std::vector< FEBDigit > & | getFEBs () const |
| Get const vector of FEB digits.
|
|
std::vector< FEBDigit > & | getFEBs () |
| Get vector of FEB digits.
|
|
Class of ARICH raw digits.
Definition at line 27 of file ARICHRawDigit.h.
◆ ARICHRawDigit() [1/2]
Default constructor for ROOT IO.
Definition at line 96 of file ARICHRawDigit.h.
97 {
98 set(0, 0, 0, 0, 0, 0);
103 }
int m_hslb
High-speed link board.
int m_pciechid
PCIe channel ID.
void set(int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno=0)
Set properties.
◆ ARICHRawDigit() [2/2]
ARICHRawDigit |
( |
int |
type, |
|
|
int |
ver, |
|
|
int |
boardid, |
|
|
int |
febno, |
|
|
unsigned int |
length, |
|
|
unsigned int |
trgno = 0 |
|
) |
| |
|
inline |
Constructor.
Definition at line 106 of file ARICHRawDigit.h.
107 {
108 set(type, ver, boardid, febno, length, trgno);
113 }
◆ ~ARICHRawDigit()
◆ addFEB()
void addFEB |
( |
FEBDigit & |
feb, |
|
|
int |
type, |
|
|
int |
ver, |
|
|
int |
boardid, |
|
|
int |
febno, |
|
|
unsigned int |
length, |
|
|
unsigned int |
trgno, |
|
|
unsigned int |
febtrgno |
|
) |
| |
|
inline |
Add properties of FEB.
Definition at line 185 of file ARICHRawDigit.h.
187 {
188 feb.type = type;
189 feb.ver = ver;
190 feb.boardid = boardid;
191 feb.febno = febno;
192 feb.length = length;
193 feb.trgno = trgno;
194 feb.febtrgno = febtrgno;
196 }
std::vector< FEBDigit > m_febs
vector of front-end board digits
◆ getBoardId()
◆ getCopperId()
◆ getFEBNo()
Get FEB number.
Definition at line 165 of file ARICHRawDigit.h.
int m_febno
FEB number which should be 8.
◆ getFEBs() [1/2]
◆ getFEBs() [2/2]
const std::vector< FEBDigit > & getFEBs |
( |
| ) |
const |
|
inline |
◆ getHslbId()
◆ getLength()
unsigned int getLength |
( |
| ) |
const |
|
inline |
◆ getNFEBs()
◆ getPcieChId()
◆ getPcieId()
◆ getTrgNo()
unsigned int getTrgNo |
( |
| ) |
const |
|
inline |
Get trigger number.
Definition at line 175 of file ARICHRawDigit.h.
unsigned int m_trgno
trigger number
◆ getType()
◆ getVersion()
◆ set()
void set |
( |
int |
type, |
|
|
int |
ver, |
|
|
int |
boardid, |
|
|
int |
febno, |
|
|
unsigned int |
length, |
|
|
unsigned int |
trgno = 0 |
|
) |
| |
◆ setCopperId()
void setCopperId |
( |
int |
id | ) |
|
|
inline |
◆ setHslbId()
◆ setPcieChId()
void setPcieChId |
( |
int |
id | ) |
|
|
inline |
◆ setPcieId()
◆ m_boardid
◆ m_copperid
◆ m_febno
◆ m_febs
◆ m_hslb
◆ m_length
◆ m_pciechid
◆ m_pcieid
◆ m_trgno
◆ m_type
◆ m_ver
The documentation for this class was generated from the following files: