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

onlinemonitor/framework/TTriglogEvent.cxx (r4864/r2539)

Go to the documentation of this file.
00001 #include "TTriglogEvent.h"
00002 
00003 #include "TGo4Log.h"
00004 
00005 TTriglogEvent::TTriglogEvent() :
00006    TGo4EventElement()
00007 {
00008 }
00009 
00010 TTriglogEvent::TTriglogEvent(const char* name, Short_t id) :
00011    TGo4EventElement(name,name,id)
00012 {
00013    TGo4Log::Info("TTriglogEvent: Create instance %s with composite id %d", name, id);
00014 }
00015 
00016 
00017 TTriglogEvent::~TTriglogEvent()
00018 {
00019 }
00020 
00021 void  TTriglogEvent::Clear(Option_t *t)
00022 {
00023    // all members should be cleared.
00024 
00025    if (IsValid()) {
00026 
00027       fVulomSyncNumber = 0;
00028       fVulomTriggerPattern = 0;
00029       fMbsTimeSecs = 0;
00030       fMbsTimeMillisec = 0;
00031 
00032       for (int n=0;n<NUM_SCALERS;n++)
00033          for (int k=0;k<N_SCALERS_CH;k++)
00034             fVulomScaler[n][k] = 0;
00035 
00036       SetValid(kFALSE);
00037    }
00038 
00039    TGo4EventElement::Clear(t);
00040 
00041 }
00042 

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