CMS 3D CMS Logo

TH1AddDirectorySentry.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     UtilAlgos
00004 // Class  :     TH1AddDirectorySentry
00005 // 
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Chris Jones
00010 //         Created:  Thu Nov  8 12:16:02 EST 2007
00011 // $Id: TH1AddDirectorySentry.cc,v 1.1 2007/11/08 17:58:41 chrjones Exp $
00012 //
00013 
00014 // system include files
00015 #include "TH1.h"
00016 
00017 // user include files
00018 #include "PhysicsTools/UtilAlgos/interface/TH1AddDirectorySentry.h"
00019 
00020 
00021 //
00022 // constants, enums and typedefs
00023 //
00024 
00025 //
00026 // static data member definitions
00027 //
00028 
00029 //
00030 // constructors and destructor
00031 //
00032 TH1AddDirectorySentry::TH1AddDirectorySentry():
00033    status_(TH1::AddDirectoryStatus())
00034 {
00035    TH1::AddDirectory(true);
00036 }
00037 
00038 TH1AddDirectorySentry::~TH1AddDirectorySentry()
00039 {
00040    TH1::AddDirectory(status_);
00041 }
00042 

Generated on Tue Jun 9 17:42:41 2009 for CMSSW by  doxygen 1.5.4