1 #ifndef L1Trigger_L1TCommon_l1t_TriggerSystem_h 2 #define L1Trigger_L1TCommon_l1t_TriggerSystem_h 28 std::map<std::string, std::map<std::string,Mask> >
procMasks;
31 mutable std::ostream *
logs;
35 const char *topCfgFile,
38 void addProcessor(
const char *processor,
const char *role,
const char *crate,
const char *slot);
40 void addDaq(
const char *daq,
const char *role,
const char *crate);
43 const char *procOrRole,
50 const char *procOrRole,
53 const std::vector<std::string>&
rows,
57 void addMask(
const char *
id,
const char *procOrRoleOrDaq);
64 const std::map<std::string, Parameter>&
getParameters(
const char *processor)
const ;
65 const std::map<std::string, Mask>&
getMasks (
const char *processor)
const ;
67 bool isMasked (
const char *proccessor,
const char *
id)
const ;
void addDaq(const char *daq, const char *role, const char *crate)
void setConfigured(bool state=true) noexcept
const std::map< std::string, Mask > & getMasks(const char *processor) const
void setSystemId(const char *id) noexcept
std::map< std::string, std::string > procToRole
std::map< std::string, std::set< std::string > > crateForProcs
std::map< std::string, std::set< std::string > > roleForDaqttcs
const std::map< std::string, std::string > & getProcToRoleAssignment(void) const noexcept
void addTable(const char *id, const char *procOrRole, const char *columns, const char *types, const std::vector< std::string > &rows, const char *delim)
std::map< std::string, std::string > daqttcToRole
std::map< std::string, std::map< std::string, Mask > > procMasks
std::map< std::string, std::string > procToSlot
void addMask(const char *id, const char *procOrRoleOrDaq)
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
bool isMasked(const char *proccessor, const char *id) const
std::string systemId(void) const noexcept
std::map< std::string, std::set< std::string > > roleForProcs
const std::map< std::string, Parameter > & getParameters(const char *processor) const
std::map< std::string, bool > procEnabled
void addProcessor(const char *processor, const char *role, const char *crate, const char *slot)
std::map< std::string, std::string > daqttcToCrate
const std::map< std::string, std::set< std::string > > & getRoleToProcsAssignment(void) const noexcept
void addParameter(const char *id, const char *procOrRole, const char *type, const char *value, const char *delim=",")
void setLogStream(std::ostream *s) const noexcept
bool isProcEnabled(const char *proccessor) const
void disableProcOrRoleOrDaq(const char *procOrRoleOrDaq)
std::map< std::string, std::map< std::string, Parameter > > procParameters