00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "TGo4EventCalibration.h"
00017
00018 #include "Riostream.h"
00019
00020 #include "TGo4Log.h"
00021
00022 TGo4EventCalibration::TGo4EventCalibration() :
00023 TGo4Parameter()
00024 {
00025 }
00026
00027 TGo4EventCalibration::TGo4EventCalibration(const char* name) :
00028 TGo4Parameter(name,"This is a Go4 event calibration object")
00029 {
00030 TRACE((15,"TGo4EventCalibration::TGo4EventCalibration(const char*)",__LINE__, __FILE__));
00031 }
00032
00033
00034 TGo4EventCalibration::~TGo4EventCalibration()
00035 {
00036 TRACE((15,"TGo4EventCalibration::~TGo4EventCalibration()",__LINE__, __FILE__));
00037 }
00038
00039 Bool_t TGo4EventCalibration::UpdateFrom(TGo4Parameter* rhs)
00040 {
00041 TRACE((12,"TGo4EventCalibration::UpdateFrom()",__LINE__, __FILE__));
00042 TGo4EventCalibration* calipar=dynamic_cast<TGo4EventCalibration*>(rhs);
00043 if(calipar==0) return kFALSE;
00044 SetName(calipar->GetName());
00045 cout << "GO4> !!! WARNING: TGo4EventCalibration::UpdateFrom() not implemented in user calibration class !!!" << endl;
00046 cout << "GO4> Just updated the object name, please overwrite virtual method !!!" << endl;
00047 return kTRUE;
00048 }
00049
00050