#include <TmPsu.h>
Public Member Functions | |
int | getPsuBoard () |
int | getPsuBranch () |
int | getPsuCrate () |
int | getPsuDcs () |
int | getPsuRack () |
TmPsu (int dcs, int branch, int rack, int crate, int board) | |
~TmPsu () | |
Public Attributes | |
int | blue |
int | blueHV2 |
int | blueHV3 |
std::string | cmodid_HV2 |
std::string | cmodid_HV3 |
std::string | cmodid_LV |
int | count |
int | countHV2 |
int | countHV3 |
int | green |
int | greenHV2 |
int | greenHV3 |
int | id |
int | idex |
int | nmod |
int | nmodHV2 |
int | nmodHV3 |
std::string | psId |
int | red |
int | redHV2 |
int | redHV3 |
std::string | text |
std::string | textHV2 |
std::string | textHV3 |
float | value |
float | valueHV2 |
float | valueHV3 |
TmPsu::TmPsu | ( | int | dcs, |
int | branch, | ||
int | rack, | ||
int | crate, | ||
int | board | ||
) |
int TmPsu::getPsuBoard | ( | ) | [inline] |
Definition at line 17 of file TmPsu.h.
References idex.
Referenced by TrackerMap::drawHV2(), TrackerMap::drawHV3(), TrackerMap::drawPsu(), TrackerMap::printall(), TrackerMap::printonline(), and TrackerMap::TrackerMap().
{int res2 = (int) (idex%1000); int res1=(int)(res2%100);return res1;}
int TmPsu::getPsuBranch | ( | ) | [inline] |
Definition at line 14 of file TmPsu.h.
Referenced by TrackerMap::TrackerMap().
{int res1 = (int)(id%100000); int res = (int)(res1%1000); return (int) (res1 -res)/1000;}
int TmPsu::getPsuCrate | ( | ) | [inline] |
Definition at line 16 of file TmPsu.h.
References idex.
Referenced by TrackerMap::drawHV2(), TrackerMap::drawHV3(), TrackerMap::drawPsu(), TrackerMap::save_as_HVtrackermap(), TrackerMap::save_as_psutrackermap(), and TrackerMap::TrackerMap().
{int res1 = (int) (idex%1000); int res=(int)(res1%100);return (int)(res1 - res)/100;}
int TmPsu::getPsuDcs | ( | ) | [inline] |
Definition at line 13 of file TmPsu.h.
Referenced by TrackerMap::TrackerMap().
{int res = (int) (id%100000); return (int)(id - res)/100000;}
int TmPsu::getPsuRack | ( | ) | [inline] |
Definition at line 15 of file TmPsu.h.
References idex.
Referenced by TrackerMap::printall(), TrackerMap::printonline(), TrackerMap::save_as_HVtrackermap(), TrackerMap::save_as_psutrackermap(), and TrackerMap::TrackerMap().
int TmPsu::blue |
Definition at line 20 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::fillc_lv_channel(), and TrackerMap::save_as_psutrackermap().
int TmPsu::blueHV2 |
Definition at line 21 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::fillc_hv_channel2(), and TrackerMap::save_as_HVtrackermap().
int TmPsu::blueHV3 |
Definition at line 22 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::fillc_hv_channel3(), and TrackerMap::save_as_HVtrackermap().
std::string TmPsu::cmodid_HV2 |
Definition at line 33 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), and TrackerMap::TrackerMap().
std::string TmPsu::cmodid_HV3 |
Definition at line 34 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), and TrackerMap::TrackerMap().
std::string TmPsu::cmodid_LV |
Definition at line 32 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), and TrackerMap::TrackerMap().
int TmPsu::count |
Definition at line 26 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::fill_lv_channel(), TrackerMap::save_as_psutrackermap(), and TmPsu().
int TmPsu::countHV2 |
Definition at line 27 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::fill_hv_channel2(), TrackerMap::save_as_HVtrackermap(), and TmPsu().
int TmPsu::countHV3 |
Definition at line 28 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::fill_hv_channel3(), TrackerMap::save_as_HVtrackermap(), and TmPsu().
int TmPsu::green |
Definition at line 20 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::fillc_lv_channel(), and TrackerMap::save_as_psutrackermap().
int TmPsu::greenHV2 |
Definition at line 21 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::fillc_hv_channel2(), and TrackerMap::save_as_HVtrackermap().
int TmPsu::greenHV3 |
Definition at line 22 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::fillc_hv_channel3(), and TrackerMap::save_as_HVtrackermap().
int TmPsu::idex |
Definition at line 11 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::drawHV3(), TrackerMap::drawPsu(), getPsuBoard(), getPsuCrate(), getPsuRack(), TrackerMap::printall(), TrackerMap::printonline(), TmPsu(), and TrackerMap::TrackerMap().
int TmPsu::nmod |
Definition at line 29 of file TmPsu.h.
Referenced by TrackerMap::printall(), TrackerMap::printonline(), TrackerMap::save_as_psutrackermap(), and TrackerMap::TrackerMap().
int TmPsu::nmodHV2 |
Definition at line 30 of file TmPsu.h.
Referenced by TrackerMap::printall(), TrackerMap::printonline(), TrackerMap::save_as_HVtrackermap(), and TrackerMap::TrackerMap().
int TmPsu::nmodHV3 |
Definition at line 31 of file TmPsu.h.
Referenced by TrackerMap::printall(), TrackerMap::printonline(), TrackerMap::save_as_HVtrackermap(), and TrackerMap::TrackerMap().
std::string TmPsu::psId |
Definition at line 12 of file TmPsu.h.
Referenced by TrackerMap::TrackerMap().
int TmPsu::red |
Definition at line 20 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::fillc_lv_channel(), TrackerMap::save_as_psutrackermap(), and TmPsu().
int TmPsu::redHV2 |
Definition at line 21 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::fillc_hv_channel2(), TrackerMap::save_as_HVtrackermap(), and TmPsu().
int TmPsu::redHV3 |
Definition at line 22 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::fillc_hv_channel3(), TrackerMap::save_as_HVtrackermap(), and TmPsu().
std::string TmPsu::text |
Definition at line 35 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::printall(), TrackerMap::printonline(), TmPsu(), and TrackerMap::TrackerMap().
std::string TmPsu::textHV2 |
Definition at line 36 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::printall(), TrackerMap::printonline(), TmPsu(), and TrackerMap::TrackerMap().
std::string TmPsu::textHV3 |
Definition at line 37 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::printall(), TrackerMap::printonline(), TmPsu(), and TrackerMap::TrackerMap().
float TmPsu::value |
Definition at line 23 of file TmPsu.h.
Referenced by TrackerMap::drawPsu(), TrackerMap::fill_lv_channel(), TrackerMap::save_as_psutrackermap(), and TmPsu().
float TmPsu::valueHV2 |
Definition at line 25 of file TmPsu.h.
Referenced by TrackerMap::drawHV2(), TrackerMap::fill_hv_channel2(), TrackerMap::save_as_HVtrackermap(), and TmPsu().
float TmPsu::valueHV3 |
Definition at line 24 of file TmPsu.h.
Referenced by TrackerMap::drawHV3(), TrackerMap::fill_hv_channel3(), TrackerMap::save_as_HVtrackermap(), and TmPsu().