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

beamtime/gsi-aug12/hd/go4/ROSSENDORF/TRossendorfEvent.cxx (r4864/r3172)

Go to the documentation of this file.
00001 /* Generated by Together */
00002 
00003 #include "TRossendorfEvent.h"
00004 #include "Riostream.h"
00005 
00006 void RTDC_t::Clear(void)
00007 {
00008         for (int n=0;n<RTDC_t::NumChan;n++) {
00009                  time[n] = -1;
00010                  }
00011 }
00012 
00013 void RQDC_t::Clear(void)
00014 {
00015          for (int n=0;n<RQDC_t::NumChan;n++) {
00016                  charge[n] = -1;
00017         }
00018 }
00019 
00020 TRossendorfEvent::TRossendorfEvent(const char* name, Short_t id) :
00021    TGo4EventElement(name,name,id)
00022 {
00023   cout << "**** TRossendorfEvent: Create instance " << name <<" with composite id "<<id<< endl;
00024         Clear();
00025 }
00026 TRossendorfEvent::TRossendorfEvent() :
00027    TGo4EventElement()
00028 {
00029         Clear();
00030 }
00031 
00032 TRossendorfEvent::~TRossendorfEvent()
00033 {
00034 }
00035 
00036 void  TRossendorfEvent::Clear(Option_t *t)
00037 {
00038   // all members should be cleared.
00039   for(int i=0;i<MAX_ROSSENDORF_TDC;i++)
00040                 fTdc[i].Clear();
00041   for(int i=0;i<MAX_ROSSENDORF_QDC;i++)
00042                 fQdc[i].Clear();
00043 }
00044 

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