00001 00002 // $Id: CandSliceListHandle.cxx,v 1.4 2003/06/20 22:09:18 rhatcher Exp $ 00003 // 00004 // CandSliceListHandle.cxx 00005 // 00006 // Begin_Html<img src="../../pedestrians.gif" align=center> 00007 // <a href="../source_warning.html">Warning for beginners</a>.<br> 00008 // 00009 // CandSliceListHandle is the specialized access handle to CandSlice. 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="../CandSlice.html"> CandSlice 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/CandSliceList.h" 00024 #include "RecoBase/CandSliceListHandle.h" 00025 #include "MessageService/MsgService.h" 00026 00027 ClassImp(CandSliceListHandle) 00028 00029 //______________________________________________________________________ 00030 CVSID("$Id: CandSliceListHandle.cxx,v 1.4 2003/06/20 22:09:18 rhatcher Exp $"); 00031 00032 //______________________________________________________________________ 00033 CandSliceListHandle::CandSliceListHandle() 00034 { 00035 } 00036 00037 //______________________________________________________________________ 00038 CandSliceListHandle::CandSliceListHandle(const CandSliceListHandle &cdh) : 00039 CandHandle(cdh) 00040 { 00041 } 00042 00043 //______________________________________________________________________ 00044 CandSliceListHandle::CandSliceListHandle(CandSliceList *cd) : 00045 CandHandle(cd) 00046 { 00047 } 00048 00049 //______________________________________________________________________ 00050 CandSliceListHandle::~CandSliceListHandle() 00051 { 00052 } 00053 00054 //______________________________________________________________________ 00055 CandSliceListHandle *CandSliceListHandle::DupHandle() const 00056 { 00057 return (new CandSliceListHandle(*this)); 00058 } 00059 00060 00061 //______________________________________________________________________ 00062 void CandSliceListHandle::Trace(const char *c) const 00063 { 00064 MSG("Cand", Msg::kDebug) 00065 << "**********Begin CandSliceListHandle::Trace(\"" << c << "\")" << endl 00066 << "Information from CandSliceListHandle's CandHandle: " << endl; 00067 CandHandle::Trace(c); 00068 MSG("Cand", Msg::kDebug) 00069 << "**********End CandSliceListHandle::Trace(\"" << c << "\")" << endl; 00070 } 00071 00072 XXXITRIMP(CandSliceListHandle)
1.3.9.1