pflib v3.0.0-rc1-29-g3a901ac
Pretty Fine HGCROC Interaction Library
|
representing a standard HCAL motherboard or a test system More...
#include <Hcal.h>
Public Member Functions | |
Hcal (const std::vector< std::shared_ptr< I2C > > &roc_i2c) | |
int | nrocs () |
number of boards | |
ROC | roc (int which, const std::string &roc_type_version="sipm_rocv3b") |
Get a ROC interface for the given HGCROC board. | |
virtual void | hardResetROCs () |
Get an I2C interface for the given HGCROC board's bias bus | |
uint32_t | getFirmwareVersion () |
Get the firmware version. | |
virtual void | softResetROC (int which=-1) |
Generate a soft reset to a specific HGCROC board, -1 for all. | |
virtual GPIO & | gpio () |
Get the GPIO object for debugging purposes. | |
virtual Elinks & | elinks ()=0 |
get the Elinks object | |
virtual DAQ & | daq ()=0 |
get the FastControl object | |
Protected Attributes | |
int | nhgcroc_ |
Number of HGCROC boards in this system. | |
std::unique_ptr< GPIO > | gpio_ |
The GPIO interface. | |
std::vector< std::shared_ptr< I2C > > | roc_i2c_ |
The ROC I2C interfaces. | |
representing a standard HCAL motherboard or a test system
|
pure virtual |
|
pure virtual |
get the Elinks object
Implemented in pflib::HcalFiberless.
|
virtual |
Get an I2C interface for the given HGCROC board's bias bus
Generate a hard reset to all the HGCROC boards
Reimplemented in pflib::HcalFiberless.
|
virtual |
Generate a soft reset to a specific HGCROC board, -1 for all.
Reimplemented in pflib::HcalFiberless.