1 #ifndef __JRUNCONTROL__JEVENTTABLE__ 
    2 #define __JRUNCONTROL__JEVENTTABLE__ 
    9 #include "JRuncontrol/JDAQCHSM.hh" 
   33     public std::map<std::string, JDAQStateMachine::ev_daq_event*>
 
   57       return getKey(tag, event.name());
 
   82       JMap_t::insert(make_pair(
getKey(tag,event), &event));
 
  114       return JMap_t::find(
getKey(tag,event_name));
 
  127     using namespace JNET;
 
  132     for (JEventTable::const_iterator i = event_table.begin(); i != event_table.end(); ++i) {
 
  134       string            key = i->first;
 
  137       if (pos != string::npos) {
 
std::map< std::string, JDAQStateMachine::ev_daq_event * > JMap_t
 
JNET::JSubscriptionList getSubscription(const JEventTable &event_table)
Convert event table to ControlHost subscription. 
 
Structure to store the ToT mean and standard deviation of the hits produced by a nanobeacon in a sour...
 
void insert(const JNET::JTag &tag, JDAQEvent_t &event)
Insert entry in table. 
 
const_iterator find(const JNET::JTag &tag, const std::string &event_name) const 
Find entry. 
 
static const std::string TOKEN_DELIMETER
 
static std::string getKey(const JNET::JTag &tag, const CHSM::event &event)
Get key for a given tag and event. 
 
static std::string getKey(const JNET::JTag &tag, const std::string &event_name)
Get key for a given tag and event name. 
 
JEventTable()
Default constructor. 
 
JSubscriptionList & add(const JSubscription &subscription)
Add subscription. 
 
char getTokenDelimeter()
Get the token delimeter for command messages. 
 
Auxiliary class for all subscription. 
 
std::string toString() const 
Convert tag to string. 
 
JDAQStateMachine::ev_daq_event JDAQEvent_t
Type definition of a DAQ event. 
 
void replace(const JNET::JTag &oldTag, const JNET::JTag &newTag, JDAQEvent_t &event)
Replace entry in table.