pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::EcalModule Class Reference

Class holding a set of ROCs and ECONs representing a HexaModule. More...

#include <Ecal.h>

Collaboration diagram for pflib::EcalModule:
[legend]

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
 
ROCroc (int which)
 Get a ROC interface for the given HGCROC.
 
ECONecon (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

lpGBTlpGBT_
 
int i2cbus_
 
int imodule_
 
std::unique_ptr< I2Ci2c_
 
std::vector< ROCrocs_
 representation of Ecal HexaModule
 
std::vector< ECONecons_
 

Detailed Description

Class holding a set of ROCs and ECONs representing a HexaModule.


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