Go to the documentation of this file.00001 #include "TCernNov10Event.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 TCernNov10Event::TCernNov10Event() :
00012 TGo4EventElement()
00013 {
00014 }
00015
00016 TCernNov10Event::TCernNov10Event(const char* name) :
00017 TGo4EventElement(name)
00018 {
00019 cout << "**** TCernNov10Event: Create instance " << name << endl;
00020 }
00021
00022 TCernNov10Event::~TCernNov10Event()
00023 {
00024 }
00025
00026
00027 void TCernNov10Event::Clear(Option_t *t)
00028 {
00029
00030
00031
00032 fVulomSyncNumber=0;
00033
00034 for(int sfp=0; sfp<MAX_SPADIC;++sfp)
00035 {
00036 for(int ch=0; ch<NUM_SPADIC_CHA;++ch)
00037 {
00038 for(int i=0; i<TRACE_SIZE;++i)
00039 {
00040 fSpadicPulse[sfp][ch][i]=0;
00041 }
00042 }
00043 }
00044
00045
00046
00047
00048
00049 for(int sc=0; sc<NUM_SCALERS;++sc)
00050 {
00051 for(int ch=0; ch<N_SCALERS_CH;++ch)
00052 {
00053 fVulomScaler[sc][ch]=0;
00054 }
00055 }
00056
00057
00058 for(int mad=0; mad<MAX_MADC;++mad)
00059 {
00060 for(int ch=0; ch<N_MADC_CHA;++ch)
00061 {
00062 fMadc[mad][ch]=0;
00063 }
00064 }
00065 for(int t=0; t<NUM_1182;++t)
00066 {
00067 fData1182[t]=0;
00068 }
00069 for(int t=0; t<NUM_1183;++t)
00070 {
00071 fData1183[t]=0;
00072 }
00073 for (int ix = 0; ix < NUM_MAPMP_CELLS; ++ix) {
00074 fMAPM_Integral[ix]=0;
00075 fMAPM_X[ix]=0;
00076 fMAPM_Y[ix]=0;
00077 fMAPM_DeltaT[ix]=0;
00078 }
00079 }