#include "antares-dataformat/Ars.hh" #include "TBuffer.h" void ARS_Item::Streamer(TBuffer &R__b) { // Stream an object of class ARS_Item. if (R__b.IsReading()) { } else { } } void Status_Item::Streamer(TBuffer &R__b) { // Stream an object of class Status_Item. if (R__b.IsReading()) { R__b >> status; R__b >> timestamp; } else { R__b << status; R__b << timestamp; } } void RTS_Item::Streamer(TBuffer &R__b) { // Stream an object of class RTS_Item. if (R__b.IsReading()) { Status_Item::Streamer(R__b); } else { Status_Item::Streamer(R__b); } } void CRM_Item::Streamer(TBuffer &R__b) { // Stream an object of class CRM_Item. if (R__b.IsReading()) { Status_Item::Streamer(R__b); R__b >> crm; } else { Status_Item::Streamer(R__b); R__b << crm; } } void SPE_Item::Streamer(TBuffer &R__b) { // Stream an object of class SPE_Item. if (R__b.IsReading()) { Status_Item::Streamer(R__b); R__b >> avc; R__b >> tvc; } else { Status_Item::Streamer(R__b); R__b << avc; R__b << tvc; } } void AWF_Sample::Streamer(TBuffer &R__b) { // Stream an object of class AWF_Sample. if (R__b.IsReading()) { R__b >> time; R__b >> anode; } else { R__b << time; R__b << anode; } } void DWF_Sample::Streamer(TBuffer &R__b) { // Stream an object of class DWF_Sample. if (R__b.IsReading()) { AWF_Sample::Streamer(R__b); R__b >> dynode1; R__b >> dynode2; } else { AWF_Sample::Streamer(R__b); R__b << dynode1; R__b << dynode2; } } void WF_Header::Streamer(TBuffer &R__b) { // Stream an object of class AWF_Item. if (R__b.IsReading()) { SPE_Item::Streamer(R__b); R__b >> waveformAddress; } else { SPE_Item::Streamer(R__b); R__b << waveformAddress; } } template <> void WF_Item::Streamer(TBuffer &R__b) { // Stream an object of class WF_Item. WF_Header::Streamer(R__b); for (AWF_Sample* p = data_; p != data_ + NUMBER_OF_SAMPLES; ++p) p->Streamer(R__b); } template <> void WF_Item::Streamer(TBuffer &R__b) { // Stream an object of class WF_Item. WF_Header::Streamer(R__b); for (AWF_Sample* p = data_; p != data_ + NUMBER_OF_SAMPLES; ++p) p->Streamer(R__b); } void AWF_Item::Streamer(TBuffer &R__b) { // Stream an object of class AWF_Item. WF_Item::Streamer(R__b); } void DWF_Item::Streamer(TBuffer &R__b) { // Stream an object of class DWF_Item. WF_Item::Streamer(R__b); }