00001 00002 // 00003 // CandCluster3DListHandle (based on R.Lee's CandClusterSRListHandle) 00004 // 00005 // CandCluster3DListHandle is the access handle to CandCluster3DList. 00006 // 00007 // Each concrete CandHandle must define a DupHandle function. 00008 // 00009 // Author: K.Grzelak1@physics.ox.ac.uk 00010 // 00012 00013 #include <cassert> 00014 #include <iostream> 00015 00016 #include "Cluster3D/CandCluster3DListHandle.h" 00017 #include "Cluster3D/CandCluster3DList.h" 00018 #include "MessageService/MsgService.h" 00019 00020 ClassImp(CandCluster3DListHandle) 00021 00022 CVSID("$Id: CandCluster3DListHandle.cxx,v 1.4 2007/03/01 17:24:59 rhatcher Exp $"); 00023 00024 //______________________________________________________________________ 00025 CandCluster3DListHandle::CandCluster3DListHandle() 00026 { 00027 } 00028 00029 //______________________________________________________________________ 00030 CandCluster3DListHandle::CandCluster3DListHandle(const CandCluster3DListHandle &cdh) : 00031 //CandClusterListHandle(cdh) 00032 CandRecoListHandle(cdh) 00033 { 00034 } 00035 00036 //______________________________________________________________________ 00037 CandCluster3DListHandle::CandCluster3DListHandle(CandCluster3DList *cd) : 00038 //CandClusterListHandle(cd) 00039 CandRecoListHandle(cd) 00040 { 00041 } 00042 00043 //______________________________________________________________________ 00044 CandCluster3DListHandle::~CandCluster3DListHandle() 00045 { 00046 } 00047 00048 //______________________________________________________________________ 00049 CandCluster3DListHandle *CandCluster3DListHandle::DupHandle() const 00050 { 00051 return (new CandCluster3DListHandle(*this)); 00052 } 00053 00054 00055 //______________________________________________________________________ 00056 void CandCluster3DListHandle::Trace(const char *c) const 00057 { 00058 MSG("Cand", Msg::kDebug) 00059 << "**********Begin CandCluster3DListHandle::Trace(\"" << c << "\")" << endl 00060 << "Information from CandCluster3DListHandle's CandHandle: " << endl; 00061 CandHandle::Trace(c); 00062 MSG("Cand", Msg::kDebug) 00063 << "**********End CandCluster3DListHandle::Trace(\"" << c << "\")" << endl; 00064 } 00065 00066 XXXITRIMP(CandCluster3DListHandle)