Go to the documentation of this file. 1 #ifndef L1Trigger_L1TCommon_l1t_TriggerSystem_h
2 #define L1Trigger_L1TCommon_l1t_TriggerSystem_h
25 std::map<std::string, std::set<std::string> >
28 std::map<std::string, std::map<std::string, Parameter> >
30 std::map<std::string, std::map<std::string, Mask> >
34 mutable std::ostream *
logs;
44 void addDaq(
const char *daq,
const char *role,
const char *crate);
47 const char *
id,
const char *procOrRole,
const char *
type,
const char *
value,
const char *delim =
",");
50 const char *procOrRole,
53 const std::vector<std::string> &
rows,
56 void addMask(
const char *
id,
const char *procOrRoleOrDaq);
65 const std::map<std::string, Parameter> &
getParameters(
const char *processor)
const;
66 const std::map<std::string, Mask> &
getMasks(
const char *processor)
const;
68 bool isMasked(
const char *proccessor,
const char *
id)
const;
void addMask(const char *id, const char *procOrRoleOrDaq)
void setSystemId(const char *id) noexcept
std::map< std::string, std::map< std::string, Mask > > procMasks
std::map< std::string, std::string > procToRole
std::map< std::string, bool > procEnabled
void addProcessor(const char *processor, const char *role, const char *crate, const char *slot)
bool isProcEnabled(const char *proccessor) const
const std::map< std::string, std::string > & getProcToRoleAssignment(void) const noexcept
std::map< std::string, std::set< std::string > > roleForDaqttcs
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::set< std::string > > crateForProcs
bool isMasked(const char *proccessor, const char *id) const
void disableProcOrRoleOrDaq(const char *procOrRoleOrDaq)
std::map< std::string, std::string > procToSlot
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
const std::map< std::string, std::set< std::string > > & getRoleToProcsAssignment(void) const noexcept
std::map< std::string, std::string > daqttcToCrate
std::map< std::string, std::string > daqttcToRole
const std::map< std::string, Parameter > & getParameters(const char *processor) const
void addParameter(const char *id, const char *procOrRole, const char *type, const char *value, const char *delim=",")
std::map< std::string, std::map< std::string, Parameter > > procParameters
const std::map< std::string, Mask > & getMasks(const char *processor) const
void setConfigured(bool state=true) noexcept
std::map< std::string, std::set< std::string > > roleForProcs
void addDaq(const char *daq, const char *role, const char *crate)
void setLogStream(std::ostream *s) const noexcept
std::string systemId(void) const noexcept