|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Class holding a set of ROCs and ECONs representing a HexaModule. More...
#include <Ecal.h>
Public Member Functions | |
| EcalModule (lpGBT &lpgbt, int i2cbus, int modulenumber) | |
| int | nrocs () const |
| number of hgcrocs | |
| int | necons () const |
| number of econds | |
| bool | have_roc (int iroc) const |
| do we have a roc with this id? | |
| bool | have_econ (int iecon) const |
| do we have an econ with this id? | |
| std::vector< int > | roc_ids () const |
| get a list of the IDs we have set up | |
| std::vector< int > | econ_ids () const |
| get a list of the econ IDs we have set up | |
| ROC & | roc (int which) |
| Get a ROC interface for the given HGCROC. | |
| ECON & | econ (int which) |
| get a ECON interface for the given ECON | |
| void | hardResetROCs () |
| Generate a hard reset to all the HGCROC boards. | |
| void | hardResetECONs () |
| generate a hard reset to all the ECON boards | |
| void | softResetROC () |
| Generate a soft reset. | |
| void | softResetECON () |
| Generate a soft reset. | |
Static Public Attributes | |
| static constexpr const int | ECON_D = 0 |
| static constexpr const int | ECON_T = 1 |
Protected Attributes | |
| lpGBT & | lpGBT_ |
| int | i2cbus_ |
| int | imodule_ |
| std::unique_ptr< I2C > | i2c_ |
| std::vector< ROC > | rocs_ |
| representation of Ecal HexaModule | |
| std::vector< ECON > | econs_ |
Class holding a set of ROCs and ECONs representing a HexaModule.