|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
static variables to share across menu More...
#include <pftool.h>
Public Member Functions | |
| void | init (Target *tgt, int readout_config) |
| initialize the state with a Target | |
| const std::vector< std::string > & | roc_page_names () const |
| get page names for tab completion | |
| const std::vector< std::string > & | roc_param_names (const std::string &page) const |
| get the parameter names for tab completion | |
| const std::vector< std::string > & | econ_page_names (pflib::ECON econ) const |
| get page names for tab completion | |
| const std::vector< std::string > & | econ_param_names (pflib::ECON econ, const std::string &page) const |
| get the parameter names for tab completion | |
| int | readout_config () const |
| get the readout configurion | |
| bool | readout_config_is_zcu () const |
| check if we are reading out on a zcu | |
| bool | readout_config_is_hcal () const |
| check if we are reading out a Hcal HGCROC Board | |
Public Attributes | |
| int | iroc {0} |
| index of HGCROC currently being interacted with | |
| int | iecon {0} |
| index of ECON currently being interacted with | |
| int | ilink {0} |
| index of link currently being interacted with | |
| Target::DaqFormat | daq_format_mode {Target::DaqFormat::SIMPLEROC} |
| current format mode to use | |
| int | daq_contrib_id {20} |
| contributor ID of daq | |
| int | daq_rate {100} |
| daq collection rate in Hz | |
| std::string | last_run_file {".last_run_file"} |
| path to where the run number is stored | |
Private Attributes | |
| std::map< int, std::vector< std::string > > | roc_page_names_ |
| list of page names for tab completion per ROC ID | |
| std::map< int, std::map< std::string, std::vector< std::string > > > | roc_param_names_ |
| list of parameter names for tab-completion per ROC ID | |
| std::map< std::string, std::vector< std::string > > | econ_page_names_ |
| list of page names for tab completion per ECON type | |
| std::map< std::string, std::map< std::string, std::vector< std::string > > > | econ_param_names_ |
| list of parameter names for tab-completion per ECON type | |
| int | cfg_ |
| readout configuration | |
static variables to share across menu
| void pftool::State::init | ( | Target * | tgt, |
| int | readout_config ) |
initialize the state with a Target
copy over page and param names for tab completion