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

spadicplugin/go4/TSpadicEvent.cxx (r4864/r1178)

Go to the documentation of this file.
00001 #include "TSpadicEvent.h"
00002 
00003 #include "Riostream.h"
00004 
00005 //***********************************************************
00006 TSpadicEvent::TSpadicEvent() :
00007    TGo4EventElement()
00008 {
00009     cout << "**** TSpadicEvent: Create instance" << endl;
00010 }
00011 //***********************************************************
00012 TSpadicEvent::TSpadicEvent(const char* name) :
00013    TGo4EventElement(name)
00014 {
00015   cout << "**** TSpadicEvent: Create instance " << name << endl;
00016 }
00017 //***********************************************************
00018 TSpadicEvent::~TSpadicEvent()
00019 {
00020   cout << "**** TSpadicEvent: Delete instance " << endl;
00021 }
00022 
00023 //-----------------------------------------------------------
00024 void  TSpadicEvent::Clear(Option_t *t)
00025 {
00026   for(int sfp=0; sfp<MAX_SPADIC;++sfp)
00027         {
00028                 for(int ch=0; ch<N_CHA;++ch) 
00029                 {
00030                         for(int i=0; i<TRACE_SIZE;++i)
00031                                 {
00032                                         fPulse[sfp][ch][i]=0;
00033                                 }
00034                         fShapeCentroid[sfp][ch]=0;
00035                         fShapeBaseline[sfp][ch]=0;
00036                         fShapeHeight[sfp][ch]=0;
00037                         fFitCentroid[sfp][ch]=0;
00038                         }
00039         }
00040 }

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