AraEvent/RawAtriSimpleStationEvent.cxx
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 #include "RawAtriSimpleStationEvent.h" 00011 #include <iostream> 00012 #include <fstream> 00013 #include <cstring> 00014 ClassImp(RawAtriSimpleStationEvent); 00015 00016 RawAtriSimpleStationEvent::RawAtriSimpleStationEvent() 00017 { 00018 00019 //Default Constructor 00020 } 00021 00022 RawAtriSimpleStationEvent::~RawAtriSimpleStationEvent() { 00023 //Default Destructor 00024 } 00025 00026 00027 RawAtriSimpleStationEvent::RawAtriSimpleStationEvent(AraSimpleStationEvent_t *bdPtr) 00028 { 00029 unixTime=bdPtr->unixTime; 00030 unixTimeUs=bdPtr->unixTimeUs; 00031 eventNumber=bdPtr->eventNumber; 00032 memcpy(eventId,bdPtr->eventId,DDA_PER_ATRI*sizeof(UInt_t)); 00033 memcpy(blockId,bdPtr->blockId,DDA_PER_ATRI*sizeof(UShort_t)); 00034 memcpy(samples,bdPtr->samples,DDA_PER_ATRI*512*sizeof(UShort_t)); 00035 }
Generated on Mon Dec 9 13:20:21 2013 for ARA ROOT v3.13 Software by
