00001 00002 // $Id: CandStripListHandle.cxx,v 1.4 2003/06/20 22:09:18 rhatcher Exp $ 00003 // 00004 // CandStripListHandle.cxx 00005 // 00006 // Begin_Html<img src="../../pedestrians.gif" align=center> 00007 // <a href="../source_warning.html">Warning for beginners</a>.<br> 00008 // 00009 // CandStripListHandle is the specialized access handle to CandStrip. 00010 // 00011 // Each concrete CandHandle must define a DupHandle function. 00012 // 00013 // Author: R. Lee 00014 // 00015 // Also see <a href="../../root_crib/index.html">The ROOT Crib</a> and 00016 // <a href="../CandStrip.html"> CandStrip Classes</a> (part of 00017 // <a href="../index.html">The MINOS Class User Guide</a>)End_Html 00019 00020 #include <cassert> 00021 #include <iostream> 00022 00023 #include "RecoBase/CandStripList.h" 00024 #include "RecoBase/CandStripListHandle.h" 00025 #include "MessageService/MsgService.h" 00026 00027 ClassImp(CandStripListHandle) 00028 00029 //______________________________________________________________________ 00030 CVSID("$Id: CandStripListHandle.cxx,v 1.4 2003/06/20 22:09:18 rhatcher Exp $"); 00031 00032 //______________________________________________________________________ 00033 CandStripListHandle::CandStripListHandle() 00034 { 00035 } 00036 00037 //______________________________________________________________________ 00038 CandStripListHandle::CandStripListHandle(const CandStripListHandle &cdh) : 00039 CandHandle(cdh) 00040 { 00041 } 00042 00043 //______________________________________________________________________ 00044 CandStripListHandle::CandStripListHandle(CandStripList *cd) : 00045 CandHandle(cd) 00046 { 00047 } 00048 00049 //______________________________________________________________________ 00050 CandStripListHandle::~CandStripListHandle() 00051 { 00052 } 00053 00054 //______________________________________________________________________ 00055 CandStripListHandle *CandStripListHandle::DupHandle() const 00056 { 00057 return (new CandStripListHandle(*this)); 00058 } 00059 00060 00061 //______________________________________________________________________ 00062 void CandStripListHandle::Trace(const char *c) const 00063 { 00064 MSG("Cand", Msg::kDebug) 00065 << "**********Begin CandStripListHandle::Trace(\"" << c << "\")" << endl 00066 << "Information from CandStripListHandle's CandHandle: " << endl; 00067 CandHandle::Trace(c); 00068 MSG("Cand", Msg::kDebug) 00069 << "**********End CandStripListHandle::Trace(\"" << c << "\")" << endl; 00070 } 00071 00072 XXXITRIMP(CandStripListHandle)