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);
99 m_copperid = 0;
100 m_hslb = 0;
101 m_pcieid = 0;
102 m_pciechid = 0;
103 }
◆ 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);
109 m_copperid = 0;
110 m_hslb = 0;
111 m_pcieid = 0;
112 m_pciechid = 0;
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;
195 m_febs.push_back(feb);
196 }
◆ getBoardId()
◆ getCopperId()
◆ getFEBNo()
◆ getFEBs() [1/2]
◆ getFEBs() [2/2]
const std::vector< FEBDigit > & getFEBs |
( |
| ) |
const |
|
inline |
◆ getHslbId()
◆ getLength()
unsigned int getLength |
( |
| ) |
const |
|
inline |
◆ getNFEBs()
Get number of FEBs.
Definition at line 180 of file ARICHRawDigit.h.
180{ return m_febs.size(); }
◆ getPcieChId()
Get PCIe channel ID.
Definition at line 145 of file ARICHRawDigit.h.
145{ return m_pciechid; }
◆ getPcieId()
◆ getTrgNo()
unsigned int getTrgNo |
( |
| ) |
const |
|
inline |
◆ getType()
◆ getVersion()
◆ set()
void set |
( |
int | type, |
|
|
int | ver, |
|
|
int | boardid, |
|
|
int | febno, |
|
|
unsigned int | length, |
|
|
unsigned int | trgno = 0 ) |
Set properties.
Definition at line 13 of file ARICHRawDigit.cc.
14{
21}
unsigned int m_trgno
trigger number
unsigned int m_length
length
int m_febno
FEB number which should be 8.
◆ 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: