CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/TopQuarkAnalysis/TopHitFit/src/Refcount.cc

Go to the documentation of this file.
00001 //
00002 // $Id: Refcount.cc,v 1.1 2011/05/26 09:47:00 mseidel Exp $
00003 //
00004 // File: Refcount.cc
00005 // Purpose: Reference count implementation.
00006 // Created: Aug 2000, sss, from the version that used to be in d0om.
00007 //
00008 // CMSSW File      : src/Refcount.cc
00009 // Original Author : Scott Stuart Snyder <snyder@bnl.gov> for D0
00010 // Imported to CMSSW by Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>
00011 //
00012 
00013 
00036 #include "TopQuarkAnalysis/TopHitFit/interface/Refcount.h"
00037 
00038 
00039 namespace hitfit {
00040 
00041 
00042 void Refcount::nuke_refcount ()
00043 //
00044 // Purpose: Reset the refcount to zero.
00045 //          This should only be used in the context of a dtor of a derived
00046 //          class which wants to throw an exception.
00047 //
00048 {
00049   _refcount = 0;
00050 }
00051 
00052 
00053 } // namespace hitfit