10#include "pflib/lpGBT.h"
30 static constexpr const int ECON_D = 0;
31 static constexpr const int ECON_T = 1;
34 bool have_econ(
int iecon)
const {
return iecon == ECON_D || iecon == ECON_T; }
Class holding a set of ROCs and ECONs representing a HexaModule.
Definition Ecal.h:18
int nrocs() const
number of hgcrocs
Definition Ecal.h:23
void hardResetROCs()
Generate a hard reset to all the HGCROC boards.
Definition Ecal.cxx:49
bool have_roc(int iroc) const
do we have a roc with this id?
Definition Ecal.h:28
void softResetECON()
Generate a soft reset.
Definition Ecal.cxx:64
bool have_econ(int iecon) const
do we have an econ with this id?
Definition Ecal.h:34
std::vector< ROC > rocs_
representation of Ecal HexaModule
Definition Ecal.h:66
void softResetROC()
Generate a soft reset.
Definition Ecal.cxx:59
int necons() const
number of econds
Definition Ecal.h:25
std::vector< int > roc_ids() const
get a list of the IDs we have set up
Definition Ecal.cxx:22
void hardResetECONs()
generate a hard reset to all the ECON boards
Definition Ecal.cxx:54
ROC & roc(int which)
Get a ROC interface for the given HGCROC.
Definition Ecal.cxx:33
std::vector< int > econ_ids() const
get a list of the econ IDs we have set up
Definition Ecal.cxx:27
ECON & econ(int which)
get a ECON interface for the given ECON
Definition Ecal.cxx:40
EcalModule & module(int imodule)
get a module
void createModule(int imodule, lpGBT &lpGBT, int i2cbus)
create a module
Class which provides an interface with an lpGBT ASIC as mounted on an LDMX mezzanine.
Definition lpGBT.h:52
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3