NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
|
: Utilities for toxml, tocrate etc. More...
#include <vector>
#include <map>
#include <utility>
#include <ModuleSettings.h>
#include <XMLCrateReader.h>
Go to the source code of this file.
Functions | |
std::pair< unsigned short, unsigned short > | parseMspsOption (const char *opt) |
std::vector< unsigned short > | makeSlotVector (const std::map< unsigned short, DDAS::XMLCrateReader::SlotInformation > &slotInfo) |
std::vector< unsigned short > | makeSlotVector (const DDAS::Crate &crate) |
: Utilities for toxml, tocrate etc.
std::vector<unsigned short> makeSlotVector | ( | const std::map< unsigned short, DDAS::XMLCrateReader::SlotInformation > & | slotInfo | ) |
makeSlotVector Given the slot information map, crate a vector of slots.
slotInfo | - slot information vetor |
crate | - Crate settings. |
std::pair<unsigned short, unsigned short> parseMspsOption | ( | const char * | opt | ) |
parseMspsOption Given the MSPS string of the form slot:speed returns the pair of {slot,speed}.
opt | - the option value |