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