#include <RawScanResultStreamer_v3.h>
Inheritance diagram for SctData::IO::RawScanResultStreamer_v3:
Public Member Functions | |
virtual void | write (OStream &out, const Streamable &ob, const IOManager &manager) const |
Publishes ob to out. | |
virtual shared_ptr< Streamable > | read (IStream &in, const IOManager &manager) const |
Create a new Streamable object of the appropriate type from IS. | |
virtual void | read (IStream &in, Streamable &ob, const IOManager &manager) const |
Refreshes ob from in. | |
virtual unsigned | getVersion () const throw () |
Private Member Functions | |
void | readData (IStream &in, RawScanResult &raw) const |
Based on the data type, passes control onto the appropriate function for reading out the data. | |
void | readSliceData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const |
Reads in data in Slice format from IS. | |
void | readRootData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const |
Reads in data in ROOT format from IS. | |
void | readRawData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const |
Reads in data in Raw format from IS. | |
void | setHistSize (RawScanResult &raw, unsigned nbinsx, short unsigned ilink) const |
RawScanResultStreamer_v3 () throw () | |
Constructor is private. | |
Static Private Member Functions | |
static void | createOccupancyHistogram (const RawScanResultIOHelper &helper, const RawScanResult &raw, unsigned ichip) |
creates an occupancy histogram with correct name etc for module in the right place on the RawData | |
static unsigned | getOccWordPosition (unsigned ichip, unsigned ibin, unsigned ipt) |
position of occupancy histogram data for slice format... | |
Private Attributes | |
RawScanResultIOHelper | helper |
The IOHelper. | |
Static Private Attributes | |
static unsigned | s_version |
static bool | inMap |
The static dummy variable for the IOManager map. |
Definition at line 19 of file RawScanResultStreamer_v3.h.
|
Constructor is private.
Definition at line 27 of file RawScanResultStreamer_v3.cpp. |
|
creates an occupancy histogram with correct name etc for module in the right place on the RawData
Definition at line 335 of file RawScanResultStreamer_v3.cpp. References SctData::ScanResult::getHeader(), and SctData::ResultHeader::getModuleName(). Here is the call graph for this function: ![]() |
|
position of occupancy histogram data for slice format...
Definition at line 375 of file RawScanResultStreamer_v3.cpp. |
|
Refreshes ob from in.
Implements Sct::Streamer. Definition at line 68 of file RawScanResultStreamer_v3.cpp. References helper, SctData::ob, readData(), Sct::IOManager::readImpl(), and SctData::RawScanResultIOHelper::set(). Here is the call graph for this function: ![]() |
|
Create a new Streamable object of the appropriate type from IS.
Implements Sct::Streamer. Definition at line 31 of file RawScanResultStreamer_v3.cpp. References SctData::RawScanResultIOHelper::create(), and helper. Here is the call graph for this function: ![]() |
|
Based on the data type, passes control onto the appropriate function for reading out the data. AJB 02/05/2003 Definition at line 102 of file RawScanResultStreamer_v3.cpp. References helper, readRawData(), readRootData(), readSliceData(), and SctData::RawScanResultIOHelper::setDataType(). Referenced by read(). Here is the call graph for this function: ![]() |
|
Reads in data in Raw format from IS.
Definition at line 181 of file RawScanResultStreamer_v3.cpp. References SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), and setHistSize(). Referenced by readData(). Here is the call graph for this function: ![]() |
|
Reads in data in ROOT format from IS. I.e. same data format as is published by this. Definition at line 126 of file RawScanResultStreamer_v3.cpp. References Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), SctData::RawScanResultIOHelper::getScanData(), helper, SctData::RawScanResultIOHelper::setDataType(), and setHistSize(). Referenced by readData(). Here is the call graph for this function: ![]() |
|
Reads in data in Slice format from IS.
Definition at line 242 of file RawScanResultStreamer_v3.cpp. References SctData::ScanPoints::ascending(), Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), SctData::RawScanResultIOHelper::getScanData(), helper, Sct::nChannelLink, and setHistSize(). Referenced by readData(). Here is the call graph for this function: ![]() |
|
Publishes ob to out.
Implements Sct::Streamer. Definition at line 37 of file RawScanResultStreamer_v3.cpp. References SctData::RawScanResult::getDataType(), SctData::RawScanResultIOHelper::getOccupancyPerEvent(), SctData::RawScanResultIOHelper::getScanData(), helper, SctData::RawScanResult::nOccupancyPerEvent(), SctData::ob, Sct::OStream::put(), SctData::RawScanResultIOHelper::set(), and Sct::IOManager::writeImpl(). Here is the call graph for this function: ![]() |
|
The IOHelper.
Definition at line 60 of file RawScanResultStreamer_v3.h. Referenced by read(), readData(), readRootData(), readSliceData(), setHistSize(), and write(). |
|
The static dummy variable for the IOManager map.
Definition at line 63 of file RawScanResultStreamer_v3.h. |