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

beamtime/cosy-dec10/go4/TCosyDec10Event.cxx (r4864/r3159)

Go to the documentation of this file.
00001 #include "TCosyDec10Event.h"
00002 
00003 #include "TGo4Version.h"
00004 #if __GO4BUILDVERSION__ > 40502
00005 #include "go4iostream.h"
00006 #else
00007 #include "Riostream.h"
00008 #endif
00009 
00010 //***********************************************************
00011 TCosyDec10Event::TCosyDec10Event() : TGo4EventElement()
00012 {
00013 }
00014 //***********************************************************
00015 TCosyDec10Event::TCosyDec10Event(const char* name) :
00016    TGo4EventElement(name)
00017 {
00018   cout << "**** TCosyDec10Event: Create instance " << name << endl;
00019 }
00020 //***********************************************************
00021 TCosyDec10Event::~TCosyDec10Event()
00022 {
00023 }
00024 
00025 //-----------------------------------------------------------
00026 void  TCosyDec10Event::Clear(Option_t *t)
00027 {
00028   // all members should be cleared.
00029 
00030      fVulomSyncNumber=0;
00031      fMbsTimeSecs=0;
00032      fMbsTimeMicros=0;
00033          for(int sc=0; sc<NUM_SCALERS;++sc)
00034                         {
00035                                 for(int ch=0; ch<N_SCALERS_CH;++ch)
00036                                 {
00037                                         fVulomScaler[sc][ch]=0;
00038                                 }
00039                         }
00040 
00041          for(int t=0; t<NUM_1182;++t)
00042                 {
00043                  fData1182[t]=0;
00044                 }
00045          for(int t=0; t<NUM_1183;++t)
00046                 {
00047                  fData1183[t]=0;
00048                 }
00049          for(int sts=0; sts<NUM_STS_STATIONS;++sts)
00050                 {
00051                         for(int ch=0; ch<NUM_STS_STRIPS;++ch)
00052                         {
00053                                         fStsPos[sts][ch]=0;
00054                                         fStsNeg[sts][ch]=0;
00055                         }
00056                 }
00057                 
00058          for(int gx=0; gx<NUM_GEM_X;++gx)
00059                         {
00060                                 for(int gy=0; gy<NUM_GEM_Y;++gy)
00061                                 {
00062                                         fGemOne[gx][gy]=0;
00063                                         fGemTwo[gx][gy]=0;
00064                                 }
00065                         }
00066         
00067                 
00068                 
00069 }

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