test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TH1AddDirectorySentry.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: UtilAlgos
4 // Class : TH1AddDirectorySentry
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Nov 8 12:16:02 EST 2007
11 // $Id: TH1AddDirectorySentry.cc,v 1.1 2009/03/03 13:07:30 llista Exp $
12 //
13 
14 // system include files
15 #include "TH1.h"
16 
17 // user include files
19 
20 
21 //
22 // constants, enums and typedefs
23 //
24 
25 //
26 // static data member definitions
27 //
28 
29 //
30 // constructors and destructor
31 //
33  status_(TH1::AddDirectoryStatus())
34 {
35  TH1::AddDirectory(true);
36 }
37 
39 {
40  TH1::AddDirectory(status_);
41 }
42