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 addDaq(const char *daq, const char *role, const char *crate)
void setConfigured(bool state=true) noexcept
const std::map< std::string, std::set< std::string > > & getRoleToProcsAssignment(void) const noexcept
bool isProcEnabled(const char *proccessor) const
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, std::set< std::string > > crateForProcs
const std::map< std::string, std::string > & getProcToRoleAssignment(void) const noexcept
std::map< std::string, std::map< std::string, Parameter > > procParameters
std::map< std::string, std::set< std::string > > roleForDaqttcs
bool isMasked(const char *proccessor, const char *id) const
const std::map< std::string, Parameter > & getParameters(const char *processor) const
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::string > procToSlot
key
prepare the HTCondor submission files and eventually submit them
void addMask(const char *id, const char *procOrRoleOrDaq)
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
const std::map< std::string, Mask > & getMasks(const char *processor) const
std::map< std::string, std::set< std::string > > roleForProcs
std::map< std::string, bool > procEnabled
void setLogStream(std::ostream *s) const noexcept
void addProcessor(const char *processor, const char *role, const char *crate, const char *slot)
std::map< std::string, std::string > daqttcToCrate
void addParameter(const char *id, const char *procOrRole, const char *type, const char *value, const char *delim=",")
std::string systemId(void) const noexcept
void disableProcOrRoleOrDaq(const char *procOrRoleOrDaq)