#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 | |
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 | |
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 | |
unsigned | s_version |
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 357 of file RawScanResultStreamer_v3.cpp. References SctData::ScanPoints::getEdgesAscending(), SctData::ScanResult::getHeader(), SctData::ResultHeader::getModuleName(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), SctData::ResultHeader::getVariable(), SctData::ConfigurationVariable::getVariableName(), and SctData::RawScanResultIOHelper::setOccupancyPerEvent(). Referenced by readRootData(), and readSliceData(). |
Here is the call graph for this function:
|
position of occupancy histogram data for slice format...
Definition at line 397 of file RawScanResultStreamer_v3.cpp. Referenced by readSliceData(). |
|
Refreshes ob from in.
Implements Sct::Streamer. Definition at line 68 of file RawScanResultStreamer_v3.cpp. References helper, 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 103 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 183 of file RawScanResultStreamer_v3.cpp. References SctData::ScanPoints::ascending(), Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), SctData::RawScanResultIOHelper::getScanData(), and helper. 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 127 of file RawScanResultStreamer_v3.cpp. References createOccupancyHistogram(), Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::RawScanResultIOHelper::getOccupancyPerEvent(), SctData::ScanResult::getPoints(), SctData::RawScanResultIOHelper::getScanData(), helper, SctData::RawScanResultIOHelper::setDataType(), and SctData::RawScanResultIOHelper::setNumberOccupancyHists(). Referenced by readData(). |
Here is the call graph for this function:
|
Reads in data in Slice format from IS.
Definition at line 244 of file RawScanResultStreamer_v3.cpp. References SctData::ScanPoints::ascending(), createOccupancyHistogram(), Sct::IStream::get(), SctData::ScanResult::getHeader(), SctData::ResultHeader::getModuleName(), SctData::ScanPoints::getNEvents(), SctData::ScanPoints::getNPoints(), SctData::RawScanResultIOHelper::getOccupancyPerEvent(), getOccWordPosition(), SctData::ScanResult::getPoints(), SctData::RawScanResultIOHelper::getScanData(), SctData::ResultHeader::getUniqueID(), helper, and SctData::RawScanResultIOHelper::setNumberOccupancyHists(). 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(), 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(), readRawData(), readRootData(), readSliceData(), and write(). |
|
The static dummy variable for the IOManager map.
Definition at line 29 of file RawScanResultStreamer_v3.cpp. |