pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::EcalSMMTargetZCU Class Reference
Inheritance diagram for pflib::EcalSMMTargetZCU:
[legend]
Collaboration diagram for pflib::EcalSMMTargetZCU:
[legend]

Public Member Functions

 EcalSMMTargetZCU (int itarget)
 
virtual int nrocs ()
 number of boards
 
virtual int necons ()
 number of econds
 
virtual bool have_roc (int iroc) const
 do we have a roc with this id?
 
virtual bool have_econ (int iecon) const
 do we have an econ with this id?
 
virtual std::vector< int > roc_ids () const
 get a list of the IDs we have set up
 
virtual std::vector< int > econ_ids () const
 get a list of the econ IDs we have set up
 
virtual ROCroc (int which)
 Get a ROC interface for the given HGCROC board.
 
virtual ECONecon (int which)
 get a ECON interface for the given econ board
 
virtual void softResetROC (int which) override
 Generate a soft reset to a specific HGCROC board, -1 for all.
 
virtual void softResetECON (int which=-1) override
 Generate a soft reset to a specific ECON board, -1 for all.
 
virtual void hardResetROCs () override
 Generate a hard reset to all the HGCROC boards.
 
virtual void hardResetECONs () override
 generate a hard reset to all the ECON boards
 
virtual Elinkselinks () override
 get the Elinks object
 
virtual DAQdaq () override
 get the DAQ object
 
virtual FastControlfc () override
 get the FastControl object
 
virtual void setup_run (int irun, Target::DaqFormat format, int contrib_id)
 
virtual std::vector< uint32_t > read_event () override
 
- Public Member Functions inherited from pflib::Target
virtual uint32_t getFirmwareVersion ()
 Get the firmware version.
 
std::vector< std::stringi2c_bus_names ()
 names of different I2C busses we could talk to
 
I2Cget_i2c_bus (const std::string &name)
 get an I2C bus by name
 
std::vector< std::stringopto_link_names () const
 names of different Optical Links we could talk to
 
OptoLinkget_opto_link (const std::string &name) const
 get an OptoLink by name
 
virtual bool has_event ()
 

Private Attributes

std::shared_ptr< EcalModuleecalModule_
 
std::unique_ptr< lpGBTdaq_lpgbt_
 
std::unique_ptr< lpGBTtrig_lpgbt_
 
std::unique_ptr< pflib::zcu::OptoElinksZCUelinks_
 
std::unique_ptr< pflib::zcu::ZCU_Capturedaq_
 
std::shared_ptr< pflib::FastControlfc_
 
Target::DaqFormat format_
 
int contrib_id_
 

Additional Inherited Members

- Public Types inherited from pflib::Target
enum class  DaqFormat { SIMPLEROC = 1 , ECOND_NO_ZS = 2 , ECOND_SW_HEADERS = 3 }
 types of daq formats that we can do More...
 
- Protected Attributes inherited from pflib::Target
std::map< std::string, std::shared_ptr< I2C > > i2c_
 
std::map< std::string, std::shared_ptr< OptoLink > > opto_
 
logging::logger the_log_ {logging::get("Target")}
 

Member Function Documentation

◆ daq()

virtual DAQ & pflib::EcalSMMTargetZCU::daq ( )
inlineoverridevirtual

get the DAQ object

Implements pflib::Target.

◆ econ()

virtual ECON & pflib::EcalSMMTargetZCU::econ ( int which)
inlinevirtual

get a ECON interface for the given econ board

Reimplemented from pflib::Target.

◆ econ_ids()

virtual std::vector< int > pflib::EcalSMMTargetZCU::econ_ids ( ) const
inlinevirtual

get a list of the econ IDs we have set up

Reimplemented from pflib::Target.

◆ elinks()

virtual Elinks & pflib::EcalSMMTargetZCU::elinks ( )
inlineoverridevirtual

get the Elinks object

Implements pflib::Target.

◆ fc()

virtual FastControl & pflib::EcalSMMTargetZCU::fc ( )
inlineoverridevirtual

get the FastControl object

Implements pflib::Target.

◆ hardResetECONs()

virtual void pflib::EcalSMMTargetZCU::hardResetECONs ( )
inlineoverridevirtual

generate a hard reset to all the ECON boards

Reimplemented from pflib::Target.

◆ hardResetROCs()

virtual void pflib::EcalSMMTargetZCU::hardResetROCs ( )
inlineoverridevirtual

Generate a hard reset to all the HGCROC boards.

Reimplemented from pflib::Target.

◆ have_econ()

virtual bool pflib::EcalSMMTargetZCU::have_econ ( int iecon) const
inlinevirtual

do we have an econ with this id?

Reimplemented from pflib::Target.

◆ have_roc()

virtual bool pflib::EcalSMMTargetZCU::have_roc ( int iroc) const
inlinevirtual

do we have a roc with this id?

Reimplemented from pflib::Target.

◆ necons()

virtual int pflib::EcalSMMTargetZCU::necons ( )
inlinevirtual

number of econds

Reimplemented from pflib::Target.

◆ nrocs()

virtual int pflib::EcalSMMTargetZCU::nrocs ( )
inlinevirtual

number of boards

Reimplemented from pflib::Target.

◆ read_event()

virtual std::vector< uint32_t > pflib::EcalSMMTargetZCU::read_event ( )
inlineoverridevirtual

Implements pflib::Target.

◆ roc()

virtual ROC & pflib::EcalSMMTargetZCU::roc ( int which)
inlinevirtual

Get a ROC interface for the given HGCROC board.

Reimplemented from pflib::Target.

◆ roc_ids()

virtual std::vector< int > pflib::EcalSMMTargetZCU::roc_ids ( ) const
inlinevirtual

get a list of the IDs we have set up

Reimplemented from pflib::Target.

◆ setup_run()

virtual void pflib::EcalSMMTargetZCU::setup_run ( int irun,
Target::DaqFormat format,
int contrib_id )
inlinevirtual

Reimplemented from pflib::Target.

◆ softResetECON()

virtual void pflib::EcalSMMTargetZCU::softResetECON ( int which = -1)
inlineoverridevirtual

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

Reimplemented from pflib::Target.

◆ softResetROC()

virtual void pflib::EcalSMMTargetZCU::softResetROC ( int which)
inlineoverridevirtual

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

Reimplemented from pflib::Target.


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