00001 // $Id: GaudiHistoTool.cpp,v 1.8 2007/11/20 13:01:06 marcocle Exp $ 00002 // ============================================================================ 00003 // Include files 00004 // ============================================================================ 00005 // GaudiAlg 00006 // ============================================================================ 00007 #include "GaudiAlg/GaudiHistoTool.h" 00008 // ============================================================================ 00009 // GaudiKernel 00010 // ============================================================================ 00011 #include "GaudiKernel/IHistogramSvc.h" 00012 // ============================================================================ 00013 00014 // ============================================================================ 00023 // ============================================================================ 00024 00025 // ============================================================================ 00026 // Force creation of templated class 00027 #include "GaudiAlg/GaudiHistos.icpp" 00028 template class GaudiHistos<GaudiTool> ; 00029 // ============================================================================ 00030 00031 // ============================================================================ 00032 // Forward declaration of the actual constructors, to tell the compiler that 00033 // they do exist and will be found at link time (warning C4661 in VC7.1) 00034 // ============================================================================ 00035 template <> 00036 GaudiHistos<GaudiTool>::GaudiHistos( const std::string & /* name */, 00037 ISvcLocator * /* pSvcLocator */ ); 00038 template <> 00039 GaudiHistos<GaudiTool>::GaudiHistos( const std::string& type , 00040 const std::string& name , 00041 const IInterface* parent ); 00042 // ============================================================================ 00043 00044 // ============================================================================ 00045 // Standard constructor 00046 // ============================================================================ 00047 GaudiHistoTool::GaudiHistoTool ( const std::string& type , 00048 const std::string& name , 00049 const IInterface* parent ) 00050 : GaudiHistos<GaudiTool> ( type , name , parent ) { } 00051 // ============================================================================ 00052 00053 // ============================================================================ 00054 // destructor 00055 // ============================================================================ 00056 GaudiHistoTool::~GaudiHistoTool() { } 00057 // ============================================================================ 00058 00059 // ============================================================================ 00060 // standard initialization method 00061 // ============================================================================ 00062 StatusCode GaudiHistoTool::initialize() 00063 { 00064 // initialize the base class and return 00065 return GaudiHistos<GaudiTool>::initialize(); 00066 } 00067 // ============================================================================ 00068 00069 // ============================================================================ 00070 // standard finalization method 00071 // ============================================================================ 00072 StatusCode GaudiHistoTool::finalize() 00073 { 00074 // finalize the base class and return 00075 return GaudiHistos<GaudiTool>::finalize(); 00076 } 00077 // ============================================================================ 00078 00079 // ============================================================================ 00080 // The END 00081 // ============================================================================