00001 // ===================================================================== 00002 // $Id: TReadoutIdentification.cc,v 1.4 2004/03/07 10:30:33 goiwai Exp $ 00003 // $Name: CLDAQ-1-14-03 $ 00004 // $Log: TReadoutIdentification.cc,v $ 00005 // Revision 1.4 2004/03/07 10:30:33 goiwai 00006 // ROOTに組みこむためのおまじないマクロを埋めこみました。 00007 // 全てにおいて完全に動作するわけではありません。 00008 // 00009 // Revision 1.3 2003/10/06 16:39:00 goiwai 00010 // *** empty log message *** 00011 // 00012 // Revision 1.2 2003/07/30 16:20:11 goiwai 00013 // ファイルにコミットログをつけることにしました. 00014 // 00015 // ===================================================================== 00016 #include "TReadoutIdentification.hh" 00017 00018 TReadoutIdentification::TReadoutIdentification( const Tstring& id ) 00019 : theID( id ) 00020 {;} 00021 00022 TReadoutIdentification::TReadoutIdentification( const TReadoutIdentification& right ) 00023 : theID( right.theID ) 00024 {;} 00025 00026 TReadoutIdentification::~TReadoutIdentification() 00027 {;} 00028 00029 const TReadoutIdentification& TReadoutIdentification::operator=( const TReadoutIdentification& right ) 00030 { 00031 theID = right.theID; 00032 return *this; 00033 } 00034 00035 Tbool TReadoutIdentification::operator==( const TReadoutIdentification& right ) const 00036 { 00037 if ( theID == right.theID ) { 00038 return Ttrue; 00039 } else { 00040 return Tfalse; 00041 } 00042 } 00043 00044 Tbool TReadoutIdentification::operator!=( const TReadoutIdentification& right ) const 00045 { 00046 if ( theID != right.theID ) { 00047 return Ttrue; 00048 } else { 00049 return Tfalse; 00050 } 00051 } 00052 00053 #ifdef __CLDAQ_ROOT_DLL 00054 ClassImp(TReadoutIdentification) 00055 #endif