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