#include <TrigSystem.h>
Public Member Functions | |
void | addDaqCrate (const std::string &daq, const std::string &crate) |
void | addDaqRole (const std::string &daq, const std::string &role) |
void | addMask (const std::string &id, const std::string &procRole) |
void | addProcCrate (const std::string &processor, const std::string &crate) |
void | addProcRole (const std::string &processor, const std::string &role) |
void | addProcSlot (const std::string &processor, const std::string &slot) |
void | addSetting (const std::string &type, const std::string &id, const std::string &value, const std::string &procRole, const std::string &delim="") |
void | addSettingTable (const std::string &id, const std::string &columns, const std::string &types, const std::vector< std::string > &rows, const std::string &procRole, const std::string &delim) |
void | configureSystemFromFiles (const std::string &hwCfgFile, const std::string &topCfgFile, const std::string &key) |
void | disableDaqProc (const std::string &daqProc) |
std::map< std::string, Mask > | getMasks (const std::string &proccessor) |
const std::map< std::string, std::string > & | getProcRole () |
const std::map< std::string, std::vector< std::string > > & | getRoleProcs () |
std::map< std::string, Setting > | getSettings (const std::string &processor) |
bool | isMasked (const std::string &proccessor, const std::string &id) |
bool | isProcEnabled (const std::string &proccessor) |
void | setConfigured (const bool state=true) |
void | setHwInfo () |
void | setPrintAllLogs () |
void | setSystemId (const std::string id) |
std::string | systemId () |
TrigSystem () | |
~TrigSystem () | |
Private Member Functions | |
bool | checkIdExistsAndSetSetting_ (std::vector< Setting > &vec, const std::string &id, const std::string &value, const std::string &procRole) |
bool | checkIdExistsAndSetSetting_ (std::vector< Setting > &vec, const std::string &id, const std::string &columns, const std::string &types, const std::vector< std::string > &rows, const std::string &procRole, const std::string &delim) |
Private Attributes | |
std::map< std::string, std::vector< std::string > > | crateProcs_ |
std::map< std::string, std::string > | daqttcCrate_ |
std::map< std::string, std::string > | daqttcRole_ |
bool | isConfigured_ |
std::string * | logText_ |
std::map< std::string, bool > | procEnabled_ |
std::map< std::string, std::vector< Mask > > | procMasks_ |
std::map< std::string, std::string > | procRole_ |
std::map< std::string, std::vector< Setting > > | procSettings_ |
std::map< std::string, int > | procSlot_ |
std::map< std::string, std::vector< std::string > > | roleDaqttcs_ |
std::map< std::string, std::vector< std::string > > | roleProcs_ |
std::string | sysId_ |
Definition at line 14 of file TrigSystem.h.
l1t::TrigSystem::TrigSystem | ( | ) |
Definition at line 5 of file TrigSystem.cc.
l1t::TrigSystem::~TrigSystem | ( | ) |
Definition at line 10 of file TrigSystem.cc.
void l1t::TrigSystem::addDaqCrate | ( | const std::string & | daq, |
const std::string & | crate | ||
) |
Definition at line 77 of file TrigSystem.cc.
void l1t::TrigSystem::addDaqRole | ( | const std::string & | daq, |
const std::string & | role | ||
) |
Definition at line 65 of file TrigSystem.cc.
void l1t::TrigSystem::addMask | ( | const std::string & | id, |
const std::string & | procRole | ||
) |
Definition at line 231 of file TrigSystem.cc.
void l1t::TrigSystem::addProcCrate | ( | const std::string & | processor, |
const std::string & | crate | ||
) |
Definition at line 60 of file TrigSystem.cc.
void l1t::TrigSystem::addProcRole | ( | const std::string & | processor, |
const std::string & | role | ||
) |
Definition at line 39 of file TrigSystem.cc.
void l1t::TrigSystem::addProcSlot | ( | const std::string & | processor, |
const std::string & | slot | ||
) |
Definition at line 55 of file TrigSystem.cc.
void l1t::TrigSystem::addSetting | ( | const std::string & | type, |
const std::string & | id, | ||
const std::string & | value, | ||
const std::string & | procRole, | ||
const std::string & | delim = "" |
||
) |
Definition at line 82 of file TrigSystem.cc.
void l1t::TrigSystem::addSettingTable | ( | const std::string & | id, |
const std::string & | columns, | ||
const std::string & | types, | ||
const std::vector< std::string > & | rows, | ||
const std::string & | procRole, | ||
const std::string & | delim | ||
) |
Definition at line 131 of file TrigSystem.cc.
|
private |
Definition at line 194 of file TrigSystem.cc.
|
private |
Definition at line 210 of file TrigSystem.cc.
void l1t::TrigSystem::configureSystemFromFiles | ( | const std::string & | hwCfgFile, |
const std::string & | topCfgFile, | ||
const std::string & | key | ||
) |
Definition at line 19 of file TrigSystem.cc.
void l1t::TrigSystem::disableDaqProc | ( | const std::string & | daqProc | ) |
Definition at line 340 of file TrigSystem.cc.
std::map< std::string, Mask > l1t::TrigSystem::getMasks | ( | const std::string & | proccessor | ) |
Definition at line 304 of file TrigSystem.cc.
|
inline |
|
inline |
Definition at line 32 of file TrigSystem.h.
References roleProcs_.
std::map< std::string, Setting > l1t::TrigSystem::getSettings | ( | const std::string & | processor | ) |
Definition at line 179 of file TrigSystem.cc.
bool l1t::TrigSystem::isMasked | ( | const std::string & | proccessor, |
const std::string & | id | ||
) |
Definition at line 319 of file TrigSystem.cc.
bool l1t::TrigSystem::isProcEnabled | ( | const std::string & | proccessor | ) |
Definition at line 367 of file TrigSystem.cc.
|
inline |
void l1t::TrigSystem::setHwInfo | ( | ) |
|
inline |
Definition at line 41 of file TrigSystem.h.
References logText_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
inline |
|
private |
Definition at line 46 of file TrigSystem.h.
|
private |
Definition at line 49 of file TrigSystem.h.
|
private |
Definition at line 48 of file TrigSystem.h.
|
private |
Definition at line 55 of file TrigSystem.h.
Referenced by setConfigured().
|
private |
Definition at line 58 of file TrigSystem.h.
Referenced by setPrintAllLogs().
|
private |
Definition at line 53 of file TrigSystem.h.
|
private |
Definition at line 52 of file TrigSystem.h.
|
private |
Definition at line 41 of file TrigSystem.h.
Referenced by getProcRole().
|
private |
Definition at line 51 of file TrigSystem.h.
|
private |
Definition at line 44 of file TrigSystem.h.
|
private |
Definition at line 47 of file TrigSystem.h.
|
private |
Definition at line 45 of file TrigSystem.h.
Referenced by getRoleProcs().
|
private |
Definition at line 56 of file TrigSystem.h.
Referenced by setSystemId(), and systemId().