namespace to hold core components of ROCsoft More...
Data Structures | |
class | AbbBoard |
class | AbbContext |
class | AbbContextRef |
class | AbbDevice |
class | AbbFactory |
class | AbbTransport |
class | SplitterModule |
class | Board |
This class represents a single ROC. More... | |
struct | UdpMessage |
struct | UdpMessageFull |
struct | UdpDataRequest |
struct | UdpDataRequestFull |
struct | UdpDataPacket |
struct | UdpDataPacketFull |
struct | BoardStatistic |
union | ISEBinfileHeader |
class | I2cDevice |
Base class to represent a ROC I2C Bus Device. More... | |
class | Iterator |
class | Message |
class | OpticBoard |
class | Sorter |
class | UdpBoard |
struct | BoardRec |
class | BoardsVector |
class | CombinerModule |
class | CmdPut |
class | CmdGet |
class | CmdNOper |
class | CmdDLM |
class | CmdCalibration |
class | CmdGlobalCalibration |
class | CmdGetBoardPtr |
class | CmdReturnBoardPtr |
class | CmdMessagesVector |
class | CmdAddSlave |
class | Factory |
class | FileInput |
This class provide read access to lmd files via roc::Board interface. More... | |
class | NxCalibrModule |
class | ReadoutApplication |
class | ReadoutModule |
class | UdpControlSocket |
class | UdpDevice |
class | UdpDeviceRef |
class | UdpDataSocket |
Typedefs | |
typedef std::vector< roc::Message > | MessagesVector |
Enumerations | |
enum | ERocMbsTypes { proc_RocEvent = 1, proc_ErrEvent = 2, proc_MergedEvent = 3, proc_RawData = 4, proc_Triglog = 5, proc_TRD_MADC = 6, proc_TRD_Spadic = 7, proc_CERN_Oct11 = 8, proc_SlaveMbs = 9, proc_EPICS = 10, proc_COSY_Nov11 = 11, proc_SpadicV10Raw = 12, proc_SpadicV10Event = 13, proc_CERN_Oct12 = 14, proc_FASP = 15, proc_TRBEvent = 31 } |
value of iProcId if mbs subevent. More... | |
enum | ClientRole { roleNone = base::roleNone, roleObserver = base::roleObserver, roleControl = base::roleControl, roleDAQ = base::roleDAQ } |
Represents the role the client of a board can have. More... | |
enum | ERocBufferTypes { rbt_RawRocData = 234 } |
enum | ETransportKinds { kind_UDP = base::kind_UDP, kind_ABB = base::kind_ABB, kind_File = base::kind_File } |
enum | EFrontendKinds { kind_nXYTER = 1, kind_oldFEET = 2, kind_FEET = 3, kind_newNX = 4 } |
enum | EBackendKinds { kind_Optic = 1, kind_FX20 = 2, kind_FX40 = 3, kind_FX60 = 4, kind_newOptic = 5 } |
enum | MessageFormat { formatEth1 = 0, formatOptic1 = 1, formatEth2 = 2, formatOptic2 = 3, formatNormal = 4 } |
enum | MessageTypes { MSG_NOP = 0, MSG_HIT = 1, MSG_EPOCH = 2, MSG_SYNC = 3, MSG_AUX = 4, MSG_EPOCH2 = 5, MSG_GET4 = 6, MSG_SYS = 7 } |
enum | SysMessageTypes { SYSMSG_DAQ_START = 1, SYSMSG_DAQ_FINISH = 2, SYSMSG_NX_PARITY = 3, SYSMSG_SYNC_PARITY = 4, SYSMSG_DAQ_RESUME = 5, SYSMSG_FIFO_RESET = 6, SYSMSG_USER = 7, SYSMSG_PCTIME = 8, SYSMSG_ADC = 9, SYSMSG_PACKETLOST = 10, SYSMSG_GET4_EVENT = 11, SYSMSG_CLOSYSYNC_ERROR = 12, SYSMSG_TS156_SYNC = 13 } |
enum | SysMessageUserTypes { SYSMSG_USER_CALIBR_ON = 7, SYSMSG_USER_CALIBR_OFF = 8, SYSMSG_USER_RECONFIGURE = 9 } |
enum | MessagePrintMask { msg_print_Prefix = 1, msg_print_Data = 2, msg_print_Hex = 4, msg_print_Human = 8 } |
Variables | |
const char * | OpticPathPar = "OpticPath" |
const char * | xmlRocPool = "RocPool" |
const char * | xmlTransportWindow = "TransportWindow" |
const char * | xmlTransportKind = "TransportKind" |
const char * | xmlBoardAddr = "BoardAddr" |
const char * | xmlRole = "Role" |
const char * | xmlRocNumber = "RocNumber" |
const char * | xmlLowWater = "LowWater" |
const char * | xmlHighWater = "HighWater" |
const char * | xmlMsgFormat = "MsgFormat" |
const char * | xmlFlushTime = "FlushTime" |
const char * | typeUdpDevice = "roc::UdpDevice" |
const char * | typeAbbDevice = "roc::AbbDevice" |
const char * | xmlTransferWindow = "RocTransferWindow" |
const char * | xmlBnetMode = "BnetMode" |
const char * | xmlSkipErrorData = "SkipErrorData" |
const char * | xmlIgnoreMissingEpoch = "IgnoreMissingEpoch" |
const char * | xmlSyncNumber = "SyncNumber" |
const char * | xmlSyncScaleDown = "SyncScaleDown" |
const char * | xmlSpillRoc = "SpillRoc" |
const char * | xmlSpillAux = "SpillAux" |
const char * | xmlCalibrationPeriod = "CalibrationPeriod" |
const char * | xmlCalibrationLength = "CalibrationLength" |
const char * | xmlThrottleAux = "ThrottleAux" |
const char * | xmlGet4ResetPeriod = "Get4ResetPeriod" |
const char * | xmlGet4ResetLimit = "Get4ResetLimit" |
const char * | AddrPar = "Addr" |
const char * | ValuePar = "Value" |
const char * | ErrNoPar = "ErrNo" |
const char * | TmoutPar = "Timeout" |
const char * | RawDataPar = "RawData" |
const char * | OperListPar = "OperList" |
const char * | xmlRawReadout = "RawReadout" |
const char * | xmlNumRocs = "NumRocs" |
const char * | xmlRocIp = "RocIp" |
const char * | xmlRocFebs = "RocFebs" |
const char * | xmlRawFile = "RawFile" |
const char * | xmlReadoutAppClass = "roc::Readout" |
const char * | xmlNumMbs = "NumMbs" |
const char * | xmlMbsAddr = "MbsAddr" |
const char * | xmlSyncSubeventId = "SyncSubeventId" |
const char * | xmlNumSusibo = "NumSusibo" |
const char * | xmlSusiboAddr = "SusiboAddr" |
const char * | xmlNumSlaves = "NumSlaves" |
const char * | xmlSlaveAddr = "SlaveAddr" |
const char * | xmlNumTRBs = "NumTRBs" |
const char * | xmlTRBAddr = "TRBAddr" |
const char * | xmlUseDLM = "UseDLM" |
const char * | xmlMeasureADC = "MeasureADC" |
const char * | xmlEpicsStreamNode = "EpicsStreamNode" |
const char * | xmlEpicsTransportNode = "EpicsTransportNode" |
namespace to hold core components of ROCsoft
This is a place for common constants, types One should try to keep file generic and small - not everything should go here, while later it will be difficult to avoid them
typedef std::vector<roc::Message> roc::MessagesVector |
This is helper class to accomodate collection of roc::Board objects and supply classes, which are required for combiner module in dabc.
Definition at line 19 of file BoardsVector.h.
enum roc::ClientRole |
enum roc::EBackendKinds |
enum roc::EFrontendKinds |
enum roc::ERocBufferTypes |
enum roc::ERocMbsTypes |
value of iProcId if mbs subevent.
Data, taken from ROC by DABC, packed into mbs events and stored in lmd file. MBS event consists from one or several subevents. Each subevent has three fields - iProcId (16bit), iSubcrate (8bit) and iControl (8bit) iProcId used to code data origin - see comment for /ref ERocMbsTypes iSubcrate contains roc number (rocid) iControl stores data format see /ref MessageFormat
enum roc::ETransportKinds |
enum roc::MessageFormat |
enum roc::MessageTypes |
enum roc::SysMessageTypes |
const char * roc::AddrPar = "Addr" |
Definition at line 3 of file Commands.cxx.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::CmdDLM::CmdDLM(), roc::CmdGet::CmdGet(), roc::CmdPut::CmdPut(), roc::UdpDevice::ExecuteCommand(), and roc::AbbDevice::ExecuteCommand().
const char * roc::ErrNoPar = "ErrNo" |
Definition at line 5 of file Commands.cxx.
Referenced by roc::UdpControlSocket::completeLoop(), roc::AbbDevice::ExecuteCommand(), sp605::OpticBoard::invokeDLM(), roc::AbbBoard::invokeDLM(), roc::UdpDevice::operGen(), sp605::OpticBoard::operGen(), roc::AbbBoard::operGen(), and roc::UdpDevice::rawPut().
const char * roc::OperListPar = "OperList" |
Definition at line 8 of file Commands.cxx.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::CmdNOper::CmdNOper(), roc::UdpControlSocket::completeLoop(), and roc::AbbDevice::ExecuteCommand().
const char * roc::OpticPathPar = "OpticPath" |
Definition at line 24 of file AbbDevice.cxx.
Referenced by roc::AbbTransport::ExecuteCommand(), roc::AbbDevice::ExecuteCommand(), sp605::OpticBoard::operGen(), roc::AbbBoard::operGen(), sp605::OpticBoard::suspendDaq(), and roc::AbbBoard::suspendDaq().
const char * roc::RawDataPar = "RawData" |
Definition at line 7 of file Commands.cxx.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), and roc::UdpDevice::rawPut().
const char * roc::TmoutPar = "Timeout" |
Definition at line 6 of file Commands.cxx.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::CmdDLM::CmdDLM(), roc::CmdGet::CmdGet(), roc::CmdNOper::CmdNOper(), and roc::CmdPut::CmdPut().
const char * roc::typeAbbDevice = "roc::AbbDevice" |
Definition at line 28 of file Board.cxx.
Referenced by roc::AbbDevice::ClassName(), bnet::RocClusterApplication::CreateAppModules(), roc::AbbFactory::CreateDevice(), roc::ReadoutApplication::CreateRawOpticInput(), roc::ReadoutApplication::CreateRocCombiner(), roc::AbbFactory::DoConnect(), and InitSplitter().
const char * roc::typeUdpDevice = "roc::UdpDevice" |
Definition at line 27 of file Board.cxx.
Referenced by roc::UdpDevice::ClassName(), roc::Factory::CreateDevice(), roc::ReadoutApplication::CreateRawUdpInput(), roc::ReadoutApplication::CreateRocCombiner(), and roc::Factory::DoConnect().
const char * roc::ValuePar = "Value" |
Definition at line 4 of file Commands.cxx.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::CmdPut::CmdPut(), roc::UdpControlSocket::completeLoop(), roc::UdpDevice::ExecuteCommand(), and roc::AbbDevice::ExecuteCommand().
const char * roc::xmlBnetMode = "BnetMode" |
Definition at line 37 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), and roc::ReadoutApplication::CreateRocCombiner().
const char * roc::xmlBoardAddr = "BoardAddr" |
Definition at line 19 of file Board.cxx.
Referenced by roc::ReadoutApplication::CreateRawOpticInput(), roc::ReadoutApplication::CreateRawUdpInput(), roc::ReadoutApplication::CreateRocCombiner(), roc::AbbDevice::CreateTransport(), roc::Factory::DoConnect(), roc::AbbFactory::DoConnect(), roc::AbbDevice::ExecuteCommand(), InitSplitter(), and roc::UdpDevice::UdpDevice().
const char * roc::xmlCalibrationLength = "CalibrationLength" |
Definition at line 45 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlCalibrationPeriod = "CalibrationPeriod" |
Definition at line 44 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlEpicsStreamNode = "EpicsStreamNode" |
Definition at line 34 of file Commands.cxx.
Referenced by bnet::RocWorkerApplication::CreateCombiner(), roc::ReadoutApplication::EpicsStreamNode(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlEpicsTransportNode = "EpicsTransportNode" |
Definition at line 35 of file Commands.cxx.
Referenced by roc::ReadoutApplication::EpicsTransportNode(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlFlushTime = "FlushTime" |
Definition at line 25 of file Board.cxx.
Referenced by roc::AbbTransport::AbbTransport().
const char * roc::xmlGet4ResetLimit = "Get4ResetLimit" |
Definition at line 48 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlGet4ResetPeriod = "Get4ResetPeriod" |
Definition at line 47 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlHighWater = "HighWater" |
const char * roc::xmlIgnoreMissingEpoch = "IgnoreMissingEpoch" |
Definition at line 39 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlLowWater = "LowWater" |
const char * roc::xmlMbsAddr = "MbsAddr" |
Definition at line 19 of file Commands.cxx.
Referenced by roc::ReadoutApplication::MbsAddr(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlMeasureADC = "MeasureADC" |
Definition at line 32 of file Commands.cxx.
Referenced by roc::ReadoutApplication::CreateAppModules(), bnet::RocWorkerApplication::CreateCombiner(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlMsgFormat = "MsgFormat" |
Definition at line 24 of file Board.cxx.
Referenced by roc::CombinerModule::FillSimpleBuffer(), roc::CombinerModule::FindNextEvent(), roc::UdpDataSocket::GetParameter(), and roc::AbbTransport::GetParameter().
const char * roc::xmlNumMbs = "NumMbs" |
Definition at line 18 of file Commands.cxx.
Referenced by roc::ReadoutApplication::NumMbs(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlNumRocs = "NumRocs" |
Definition at line 12 of file Commands.cxx.
Referenced by roc::ReadoutApplication::NumRocs(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlNumSlaves = "NumSlaves" |
Definition at line 25 of file Commands.cxx.
Referenced by roc::ReadoutApplication::NumSlaves(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlNumSusibo = "NumSusibo" |
Definition at line 22 of file Commands.cxx.
Referenced by roc::ReadoutApplication::NumSusibo(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlNumTRBs = "NumTRBs" |
Definition at line 28 of file Commands.cxx.
Referenced by roc::ReadoutApplication::NumTRBs(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlRawFile = "RawFile" |
Definition at line 15 of file Commands.cxx.
Referenced by roc::ReadoutApplication::OutputFileName(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlRawReadout = "RawReadout" |
Definition at line 10 of file Commands.cxx.
Referenced by roc::ReadoutApplication::CreateAppModules(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlReadoutAppClass = "roc::Readout" |
Definition at line 16 of file Commands.cxx.
Referenced by roc::Factory::CreateApplication().
const char * roc::xmlRocFebs = "RocFebs" |
Definition at line 14 of file Commands.cxx.
Referenced by roc::ReadoutApplication::CreateAppModules(), bnet::RocWorkerApplication::CreateCombiner(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlRocIp = "RocIp" |
Definition at line 13 of file Commands.cxx.
Referenced by roc::ReadoutApplication::ReadoutApplication(), and roc::ReadoutApplication::RocAddr().
const char * roc::xmlRocNumber = "RocNumber" |
Definition at line 21 of file Board.cxx.
Referenced by roc::CombinerModule::FillSimpleBuffer(), roc::CombinerModule::FindNextEvent(), roc::UdpDataSocket::GetParameter(), and roc::AbbTransport::GetParameter().
const char * roc::xmlRocPool = "RocPool" |
Definition at line 16 of file Board.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::CreateAppModules(), roc::UdpDevice::InitAsBoard(), roc::ReadoutModule::ReadoutModule(), and roc::SplitterModule::SplitterModule().
const char * roc::xmlRole = "Role" |
Definition at line 20 of file Board.cxx.
Referenced by roc::ReadoutApplication::CreateRawUdpInput(), roc::ReadoutApplication::CreateRocCombiner(), roc::Factory::DoConnect(), InitSplitter(), and roc::UdpDevice::UdpDevice().
const char * roc::xmlSkipErrorData = "SkipErrorData" |
Definition at line 38 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), and roc::ReadoutApplication::CreateRocCombiner().
const char * roc::xmlSlaveAddr = "SlaveAddr" |
Definition at line 26 of file Commands.cxx.
Referenced by roc::ReadoutApplication::ReadoutApplication(), and roc::ReadoutApplication::SlaveAddr().
const char * roc::xmlSpillAux = "SpillAux" |
Definition at line 43 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlSpillRoc = "SpillRoc" |
Definition at line 42 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlSusiboAddr = "SusiboAddr" |
Definition at line 23 of file Commands.cxx.
Referenced by roc::ReadoutApplication::ReadoutApplication(), and roc::ReadoutApplication::SusiboAddr().
const char * roc::xmlSyncNumber = "SyncNumber" |
Definition at line 40 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlSyncScaleDown = "SyncScaleDown" |
Definition at line 41 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().
const char * roc::xmlSyncSubeventId = "SyncSubeventId" |
Definition at line 20 of file Commands.cxx.
Referenced by roc::ReadoutApplication::ConnectSlave(), roc::ReadoutApplication::CreateAppModules(), and roc::ReadoutApplication::ReadoutApplication().
const char * roc::xmlThrottleAux = "ThrottleAux" |
Definition at line 46 of file CombinerModule.cxx.
Referenced by roc::CombinerModule::CombinerModule().
const char * roc::xmlTransferWindow = "RocTransferWindow" |
Definition at line 67 of file UdpBoard.cxx.
Referenced by roc::UdpDataSocket::UdpDataSocket().
const char * roc::xmlTransportKind = "TransportKind" |
Definition at line 18 of file Board.cxx.
Referenced by roc::CombinerModule::FillSimpleBuffer(), roc::CombinerModule::FindNextEvent(), roc::UdpDataSocket::GetParameter(), and roc::AbbTransport::GetParameter().
const char * roc::xmlTransportWindow = "TransportWindow" |
const char * roc::xmlTRBAddr = "TRBAddr" |
Definition at line 29 of file Commands.cxx.
Referenced by roc::ReadoutApplication::ReadoutApplication(), and roc::ReadoutApplication::TRBAddr().
const char * roc::xmlUseDLM = "UseDLM" |
Definition at line 31 of file Commands.cxx.
Referenced by roc::AbbDevice::AbbDevice(), bnet::RocClusterApplication::CreateAppModules(), roc::ReadoutApplication::ReadoutApplication(), and bnet::RocWorkerApplication::RocWorkerApplication().