10#define ARICHRAWDIGIT_H
76 void push_back(
unsigned char ich,
unsigned char val)
98 set(0, 0, 0, 0, 0, 0);
106 ARICHRawDigit(
int type,
int ver,
int boardid,
int febno,
unsigned int length,
unsigned int trgno = 0)
108 set(type, ver, boardid, febno, length, trgno);
124 void set(
int type,
int ver,
int boardid,
int febno,
unsigned int length,
unsigned int trgno = 0);
186 unsigned int length,
unsigned int trgno,
unsigned int febtrgno)
Class of ARICH raw digits.
int m_hslb
High-speed link board.
unsigned int getLength() const
Get length.
int getCopperId()
Get COPPER ID.
int getNFEBs() const
Get number of FEBs.
std::vector< FEBDigit > m_febs
vector of front-end board digits
void setCopperId(int id)
Set COPPER ID.
ClassDef(ARICHRawDigit, 2)
the class title
unsigned int m_trgno
trigger number
int getBoardId() const
Get board ID.
void setPcieChId(int id)
Set PCIe channel ID.
unsigned int getTrgNo() const
Get trigger number.
int getFEBNo() const
Get FEB number.
int m_pciechid
PCIe channel ID.
unsigned int m_length
length
int getPcieChId()
Get PCIe channel ID.
void setHslbId(int id)
Set HSLB ID.
const std::vector< FEBDigit > & getFEBs() const
Get const vector of FEB digits.
int getVersion() const
Get version.
int getPcieId()
Get PCIe ID.
~ARICHRawDigit()
Destructor.
int getType() const
Get type.
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 setPcieId(int id)
Set PCIe ID.
std::vector< FEBDigit > & getFEBs()
Get vector of FEB digits.
void set(int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno=0)
Set properties.
int m_febno
FEB number which should be 8.
ARICHRawDigit()
Default constructor for ROOT IO.
ARICHRawDigit(int type, int ver, int boardid, int febno, unsigned int length, unsigned int trgno=0)
Constructor.
int getHslbId()
Get HSLB ID.
Abstract base class for different kinds of events.
Struct for ChannelDigit within FEBDigit struct.
unsigned char chno
channel number
Struct for front-end board.
void push_back(unsigned char ich, unsigned char val)
Add channel.
const std::vector< ChannelDigit > & operator()() const
Get vector of ChannelDigits (const version)
unsigned int trgno
trigger number
const ChannelDigit & operator[](unsigned char i) const
Access given ChannelDigit (const version)
unsigned int size() const
Get number of channels.
unsigned char febno
FEB number which should be 8.
ChannelDigit & operator[](unsigned char i)
Access given ChannelDigit.
unsigned int length
length
unsigned char boardid
board ID
std::vector< ChannelDigit > & operator()()
Get vector of ChannelDigits.
std::vector< ChannelDigit > channels
vector of ChannelDigits
unsigned int febtrgno
front-end board trigger number