• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

onlinemonitor/faspmonitor/TFaspEvent.cxx (r4864/r3721)

Go to the documentation of this file.
00001 #include "TFaspEvent.h"
00002 
00003 #include "TGo4Log.h"
00004 
00005 
00006 TFaspEvent::TFaspEvent(const char* name, Short_t id) :
00007         TGo4EventElement (name,name,id)
00008 {
00009         TGo4Log::Info("TFaspData: Create instance %s with composite id %d", name, id);
00010         Clear();
00011 }
00012 
00013 TFaspEvent::TFaspEvent() :
00014         TGo4EventElement ()
00015 {
00016    Clear();
00017 }
00018 
00019 void TFaspEvent::Clear (Option_t *t)
00020 {
00021    for (int n=0;n<Fasp_NumChannels;n++) fAdcs[n] = 0;
00022    fSyncNumber = 0;
00023    fAdcTm = 0;
00024    fSyncTm = 0;
00025 
00026    SetValid(kFALSE);
00027 }

Generated on Tue Dec 10 2013 04:52:23 for ROCsoft by  doxygen 1.7.1