pflib v3.0.0-rc1-29-g3a901ac
Pretty Fine HGCROC Interaction Library
All Classes Namespaces Files Functions Variables Typedefs Pages
pflib::HcalFiberless Class Reference
Inheritance diagram for pflib::HcalFiberless:
[legend]
Collaboration diagram for pflib::HcalFiberless:
[legend]

Public Member Functions

 HcalFiberless (const std::vector< std::shared_ptr< I2C > > &roc_i2c)
 
virtual void hardResetROCs ()
 Get an I2C interface for the given HGCROC board's bias bus

 
virtual void softResetROC (int which)
 Generate a soft reset to a specific HGCROC board, -1 for all.
 
virtual Elinkselinks ()
 get the Elinks object
 
virtual DAQdaq ()
 get the FastControl object
 
- Public Member Functions inherited from pflib::Hcal
 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.
 
uint32_t getFirmwareVersion ()
 Get the firmware version.
 
virtual GPIOgpio ()
 Get the GPIO object for debugging purposes.
 

Static Public Attributes

static const int GPO_HGCROC_RESET_HARD = 2
 
static const int GPO_HGCROC_RESET_SOFT = 1
 
static const int GPO_HGCROC_RESET_I2C = 0
 

Private Attributes

Elinkselinks_
 
DAQdaq_
 

Additional Inherited Members

- Protected Attributes inherited from pflib::Hcal
int nhgcroc_
 Number of HGCROC boards in this system.
 
std::unique_ptr< GPIOgpio_
 The GPIO interface.
 
std::vector< std::shared_ptr< I2C > > roc_i2c_
 The ROC I2C interfaces.
 

Member Function Documentation

◆ daq()

virtual DAQ & pflib::HcalFiberless::daq ( )
inlinevirtual

get the FastControl object

get the DAQ object

Implements pflib::Hcal.

◆ elinks()

virtual Elinks & pflib::HcalFiberless::elinks ( )
inlinevirtual

get the Elinks object

Implements pflib::Hcal.

◆ hardResetROCs()

virtual void pflib::HcalFiberless::hardResetROCs ( )
inlinevirtual

Get an I2C interface for the given HGCROC board's bias bus

Generate a hard reset to all the HGCROC boards

Reimplemented from pflib::Hcal.

◆ softResetROC()

virtual void pflib::HcalFiberless::softResetROC ( int which)
inlinevirtual

Generate a soft reset to a specific HGCROC board, -1 for all.

Reimplemented from pflib::Hcal.


The documentation for this class was generated from the following file: