// @(#)root/roostats:$Id$
// Author: L. Moneta
/*************************************************************************
 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


#include "TH1.h"
#include "RooStats/HistFactory/HistRef.h"

namespace RooStats{
namespace HistFactory {

   TH1 * HistRef::CopyObject(TH1 * h) { 
      // implementation of method copying the contained pointer
      // (just use Clone)
      if (!h) return 0; 
      return (TH1*) h->Clone(); 
   } 

   void HistRef::DeleteObject(TH1 * h) {
      if (h) delete h;
   } 

}
}

   
 HistRef.cxx:1
 HistRef.cxx:2
 HistRef.cxx:3
 HistRef.cxx:4
 HistRef.cxx:5
 HistRef.cxx:6
 HistRef.cxx:7
 HistRef.cxx:8
 HistRef.cxx:9
 HistRef.cxx:10
 HistRef.cxx:11
 HistRef.cxx:12
 HistRef.cxx:13
 HistRef.cxx:14
 HistRef.cxx:15
 HistRef.cxx:16
 HistRef.cxx:17
 HistRef.cxx:18
 HistRef.cxx:19
 HistRef.cxx:20
 HistRef.cxx:21
 HistRef.cxx:22
 HistRef.cxx:23
 HistRef.cxx:24
 HistRef.cxx:25
 HistRef.cxx:26
 HistRef.cxx:27
 HistRef.cxx:28
 HistRef.cxx:29
 HistRef.cxx:30
 HistRef.cxx:31
 HistRef.cxx:32