|
pflib v3.9.5-18-g30f792c
Pretty Fine HGCROC Interaction Library
|
Public Member Functions | |
| const std::vector< std::pair< int, int > > & | getHardwareRocErxMapping () override |
| Define the ROC-half -> eRx input into the ECON-D for the hardware. | |
| virtual Bias | bias (int which) |
| virtual ROC & | roc (int which) override |
| Get a ROC interface for the given HGCROC board. | |
| virtual ECON & | econ (int which) override |
| get a ECON interface for the given econ board | |
| virtual void | hardResetECONs () override |
| generate a hard reset to all the ECON boards | |
| virtual void | softResetECON (int which=-1) override |
| Generate a soft reset to a specific ECON board, -1 for all. | |
| virtual GPIO & | gpio () |
| virtual int | nrocs () override |
| number of boards | |
| virtual bool | have_roc (int i) const override |
| do we have a roc with this id? | |
| virtual std::vector< int > | roc_ids () const override |
| get a list of the IDs we have set up | |
| virtual int | necons () override |
| number of econds | |
| virtual bool | have_econ (int iecon) const override |
| do we have an econ with this id? | |
| virtual std::vector< int > | econ_ids () const override |
| get a list of the econ IDs we have set up | |
| virtual void | hardResetROCs () override |
| Generate a hard reset to all the HGCROC boards. | |
| virtual void | softResetROC (int which) override |
| Generate a soft reset to a specific HGCROC board, -1 for all. | |
| virtual Elinks & | elinks () override |
| get the Elinks object | |
| virtual DAQ & | daq () override |
| get the DAQ object | |
| virtual FastControl & | fc () override |
| get the FastControl object | |
| virtual void | setup_run (int run, Target::DaqFormat format, int contrib_id) |
| virtual std::vector< uint32_t > | read_event () |
Public Member Functions inherited from pflib::Target | |
| virtual uint32_t | getFirmwareVersion () |
| Get the firmware version. | |
| std::vector< std::string > | i2c_bus_names () |
| names of different I2C busses we could talk to | |
| I2C & | get_i2c_bus (const std::string &name) |
| get an I2C bus by name | |
| std::vector< std::string > | opto_link_names () const |
| names of different Optical Links we could talk to | |
| OptoLink & | get_opto_link (const std::string &name) const |
| get an OptoLink by name | |
| const packing::SingleECONDRocErxMapping & | getRocErxMapping () |
| get the mapping that can be used to convert between (i_erx, link_chan) and (i_roc, chan) indices | |
| virtual bool | has_event () |
Public Attributes | |
| std::unique_ptr< GPIO > | gpio_ |
| std::shared_ptr< FastControl > | fc_ |
| std::shared_ptr< FiberlessCapture > | capture_ |
| std::unique_ptr< ROC > | roc_ |
| std::unique_ptr< Bias > | bias_ |
| int | run_ |
| Target::DaqFormat | daqformat_ |
| int | ievt_ |
| int | l1a_ |
| int | contribid_ |
| packing::ECONDFormatter | formatter_ {true} |
Additional Inherited Members | |
Public Types inherited from pflib::Target | |
| enum class | DaqFormat { SIMPLEROC = 1 , ECOND_SW_HEADERS = 2 } |
| 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")} |
|
inlineoverridevirtual |
get the DAQ object
Implements pflib::Target.
|
inlineoverridevirtual |
get a ECON interface for the given econ board
Implements pflib::Target.
|
inlineoverridevirtual |
get a list of the econ IDs we have set up
Implements pflib::Target.
|
inlineoverridevirtual |
get the Elinks object
Implements pflib::Target.
|
inlineoverridevirtual |
get the FastControl object
Implements pflib::Target.
|
inlineoverridevirtual |
Define the ROC-half -> eRx input into the ECON-D for the hardware.
This does not include which ROCs are active (i.e. assume all the ROCs are active). This is used when constructing the SingleECONDRocErxMapping object that is used to to the index conversions for us.
Implements pflib::Target.
|
inlineoverridevirtual |
generate a hard reset to all the ECON boards
Implements pflib::Target.
|
inlineoverridevirtual |
Generate a hard reset to all the HGCROC boards.
Implements pflib::Target.
|
inlineoverridevirtual |
do we have an econ with this id?
Implements pflib::Target.
|
inlineoverridevirtual |
do we have a roc with this id?
Implements pflib::Target.
|
inlineoverridevirtual |
number of econds
Implements pflib::Target.
|
inlineoverridevirtual |
number of boards
Implements pflib::Target.
|
virtual |
Implements pflib::Target.
|
inlineoverridevirtual |
Get a ROC interface for the given HGCROC board.
Implements pflib::Target.
|
inlineoverridevirtual |
get a list of the IDs we have set up
Implements pflib::Target.
|
virtual |
Implements pflib::Target.
|
inlineoverridevirtual |
Generate a soft reset to a specific ECON board, -1 for all.
Implements pflib::Target.
|
inlineoverridevirtual |
Generate a soft reset to a specific HGCROC board, -1 for all.
Implements pflib::Target.