Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4Event/TGo4EventCalibration.cxx

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
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 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:53 2005 for Go4-v2.10-5 by doxygen1.2.15