Data Structures | |
class | AbstractThrowable |
A base implementation for Throwable All important information should be included in the string returned by getMessage(). More... | |
class | ConfigurationException |
Thrown when an error in the configuration is found. More... | |
class | Error |
Represents problems that might be more reasonably described as bugs. More... | |
class | Exception |
Represents genuinely exceptional events (such as resource acquisition failure). More... | |
class | FileException |
Thrown to indicate a file IO error. More... | |
class | IllegalStateError |
This error indicates that a class is not in an appropriate state for the request that was made of it. More... | |
class | InvalidArgumentError |
Thrown to report invalid arguments to functions. More... | |
class | InvariantViolatedError |
This error indicates that a class' invariants have been violated somehow. More... | |
class | IoException |
Thrown when an IO error has occured e.g. More... | |
class | IOManager |
An abstract class that represents an I/O backend. More... | |
class | IOName |
class | IOParams |
A tag class. More... | |
class | IpcException |
Thrown to indicate an error with an Ipc call. More... | |
class | IpcObjectException |
Thrown when an error publishing or withdrawing IPCObjects. More... | |
class | IsException |
Thrown to indicate an error from the Information Service. More... | |
class | IStream |
class | LogicError |
Logic errors represent internal problems in the logic of the program. More... | |
class | MathsError |
Thrown when an mathametical error has occured e.g. More... | |
class | NoSuchStreamerException |
Indicates that there is no Streamer for a given className. More... | |
class | OStream |
class | OutOfRangeError |
Thrown to show that arguement value is not in the allowed range. More... | |
class | RangedVector |
Class is like a vector, but checks the array bounds of the vector. More... | |
class | SctNames |
This static class exists to provide the names of SCT Online Software components. More... | |
class | Serializable |
Classes should implement this interface if they want to be serialized by the IO system. More... | |
class | StdExceptionWrapper |
class | Streamable |
Classes should implement this interface if they want to be serialized by the IO system. More... | |
class | StreamCorruptedException |
Thrown to indicate that the stream is somehow not in the state the I/O code thought it ought to be in. More... | |
class | Streamer |
class | Throwable |
The base class for all of the exceptions which we throw in the SCT code. More... | |
class | UnsupportedOperationError |
Indicates a method is not supported by this class. More... | |
class | VersionNotSupportedException |
Indicates an that an I/O operation failed because the version of the data was not compatible with what the software was capable of dealing with. More... | |
Module Parameters | |
Parameters of SCT modules
| |
const unsigned int | nLinkModule |
const unsigned int | nChipModule |
const unsigned int | nChipLink |
const unsigned int | nChannelModule |
const unsigned int | nChannelLink |
const unsigned int | nChannelChip |
Typedefs | |
typedef IoException | IoError |
To maintain backward compatibility. | |
typedef map< string, shared_ptr< Streamer > > | StreamerMap |
typedef InvalidArgumentError | InvalidArgument |
For backward compatibility. | |
Functions | |
void | Terminate () throw () |
This function is called in case of exception violations It should NOT be called by the user. | |
void | Unexpected () throw () |
This function is called in case of uncaught exceptions It should NOT be called by the user. | |
void | setExceptionHandlers (const char *name) throw () |
Main programs should call this to the Sct defaults. | |
template<typename ILUSequence, typename ListMember> ILUSequence * | copyListToILU (std::list< ListMember > thisList) |
Contains a set of functions useful for converting between normal objects and ILU objects. | |
template<typename ILUSequence, typename ListMember> std::list< ListMember > | copyILUToList (ILUSequence *thisSeq) |
template<typename ILUSequence, typename ArrayMember> ILUSequence * | copyArrayToILU (ArrayMember *array, unsigned long length) |
template<typename ILUSequence, typename ArrayMember> ILUSequence * | copyVectorToILU (std::vector< ArrayMember > array) |
template<typename ILUBlock, typename ArrayMember> ArrayMember * | copyILUToArray (ILUBlock thisSeq, ArrayMember *array, size_t length) |
unsigned char | roundToUChar (float value) |
unsigned char | roundToUChar (double value) |
double | timer () |
Get the current time in seconds with millisecond accuracy. | |
const char * | getVersionString () |
const char * | getVersionModifier () |
unsigned int | getMajorVersion () |
unsigned int | getMinorVersion () |
double | getVersion () |
Variables | |
const char * | process_name |
const char * | BuildSystem |
const char * | BuildHost |
const char * | BuildDate |
const char * | CmtConfig |
const char * | OnlineVersion |
const char * | RootVersion |
const char * | GccVersion |
const char * | RodDaqVersion |
const char * | DataFlowVersion |
const char * | VersionString |
The string that contains the version info. Should be in form SctRodDaq_x_xx_sometext. | |
const char * | VersionModifier |
the bit at the end | |
const double | Version |
x_xx => x.xx | |
const unsigned int | MajorVersion |
The major version. | |
const unsigned int | MinorVersion |
The minor version (decimal part of version * 100). |
All the classes currently here are to do with IS/Serialization in one way or another. Streamable and Serializable are interfaces that client classes should implement if they want the IO system to serialize them. The IS* classes are the machinery to do that for IS. In particular, look at the ISManager class. SctISName is a class that represents the name of something in IS. Finally, SctNames is a class that gives access to the IS server names and IPC partition.
Here are some pretty pictures that might explain how the IS/IO stuff works.
Shows how to use the Steamable interface
Shows how to use the Serializable interface
|
For backward compatibility.
Definition at line 65 of file LogicErrors.h. |
|
|
Definition at line 14 of file IOManager.cpp. Referenced by Sct::IOManager::addToMap(), Sct::IOManager::getMap(), and Sct::IOManager::getStreamer(). |
|
Definition at line 47 of file ILUMarshalling.h. |
|
Definition at line 77 of file ILUMarshalling.h. |
|
Definition at line 34 of file ILUMarshalling.h. |
|
Contains a set of functions useful for converting between normal objects and ILU objects.
Definition at line 16 of file ILUMarshalling.h. |
|
Definition at line 63 of file ILUMarshalling.h. |
|
Definition at line 43 of file Version.cpp. |
|
Definition at line 47 of file Version.cpp. |
|
Definition at line 51 of file Version.cpp. |
|
Definition at line 39 of file Version.cpp. |
|
Definition at line 24 of file Version.cpp. |
|
|
|
Definition at line 8 of file round.h. Referenced by SctData::mVThresholdVariable::getActualPoint(), and SctData::mVCalChargeVariable::getActualPoint(). |
|
This function is called in case of exception violations It should NOT be called by the user. It sends a message to MRS and calls terminate(); Definition at line 130 of file Exception.cpp. References Sct::AbstractThrowable::sendToMrs(), and Sct::Throwable::sendToMrs(). |
|
Get the current time in seconds with millisecond accuracy. Useful for timing short operations. Only utilizes first few numbers of seconds. Definition at line 13 of file Timer.h. Referenced by SctFitter::Fitter::doFits(), SctFitter::Fitter::ipcFit(), SctFitter::Fitter::ipcFitAll(), and SctFitter::FitterWorkerGroup::work(). |
|
This function is called in case of uncaught exceptions It should NOT be called by the user. It sends the last created exception to MRS, and calls abort(); Definition at line 167 of file Exception.cpp. References Sct::AbstractThrowable::sendToMrs(). |
|
Definition at line 16 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 15 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 14 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 17 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 22 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 20 of file Version.cpp. Referenced by longVersion(). |
|
The major version.
Definition at line 61 of file Version.cpp. Referenced by longVersion(). |
|
The minor version (decimal part of version * 100).
Definition at line 62 of file Version.cpp. Referenced by longVersion(). |
|
|
Definition at line 14 of file SctParameters.h. Referenced by compareFits(), SctData::ModuleElement::isLink(), SctData::IO::RawScanResultStreamer::read(), SctData::IO::RawScanResultStreamer::readRootData(), and SctData::IO::RawScanResultStreamer::readSliceData(). |
|
|
|
|
Definition at line 12 of file SctParameters.h. Referenced by SctAnalysis::FullBypassAlgorithm::canAddRawScanResult(), and compareFits(). |
|
Definition at line 18 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 115 of file Exception.cpp. Referenced by setExceptionHandlers(). |
|
Definition at line 21 of file Version.cpp. Referenced by longVersion(). |
|
Definition at line 19 of file Version.cpp. Referenced by longVersion(). |
|
x_xx => x.xx
Definition at line 60 of file Version.cpp. Referenced by longVersion(), and shortVersion(). |
|
the bit at the end
Definition at line 59 of file Version.cpp. Referenced by longVersion(), and shortVersion(). |
|
The string that contains the version info. Should be in form SctRodDaq_x_xx_sometext.
Definition at line 58 of file Version.cpp. Referenced by longVersion(). |