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