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 :RawAraStationEvent(0) 00018 { 00019 00020 //Default Constructor 00021 } 00022 00023 RawAtriSimpleStationEvent::~RawAtriSimpleStationEvent() { 00024 //Default Destructor 00025 } 00026 00027 00028 RawAtriSimpleStationEvent::RawAtriSimpleStationEvent(AraSimpleStationEvent_t *bdPtr) 00029 { 00030 unixTime=bdPtr->unixTime; 00031 unixTimeUs=bdPtr->unixTimeUs; 00032 eventNumber=bdPtr->eventNumber; 00033 memcpy(eventId,bdPtr->eventId,DDA_PER_ATRI*sizeof(UInt_t)); 00034 memcpy(blockId,bdPtr->blockId,DDA_PER_ATRI*sizeof(UShort_t)); 00035 memcpy(samples,bdPtr->samples,DDA_PER_ATRI*512*sizeof(UShort_t)); 00036 }
Generated on Wed Aug 8 16:20:07 2012 for ARA ROOT Test Bed Software by
