Main Page
Namespaces
Classes
Package Documentation
src
CommonTools
Utils
src
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
18
#include "
CommonTools/Utils/interface/TH1AddDirectorySentry.h
"
19
20
21
//
22
// constants, enums and typedefs
23
//
24
25
//
26
// static data member definitions
27
//
28
29
//
30
// constructors and destructor
31
//
32
TH1AddDirectorySentry::TH1AddDirectorySentry
():
33
status_(TH1::AddDirectoryStatus())
34
{
35
TH1::AddDirectory(
true
);
36
}
37
38
TH1AddDirectorySentry::~TH1AddDirectorySentry
()
39
{
40
TH1::AddDirectory(
status_
);
41
}
42
TH1AddDirectorySentry.h
TH1AddDirectorySentry::status_
bool status_
Definition:
TH1AddDirectorySentry.h:35
TH1AddDirectorySentry::TH1AddDirectorySentry
TH1AddDirectorySentry()
Definition:
TH1AddDirectorySentry.cc:32
TH1AddDirectorySentry::~TH1AddDirectorySentry
~TH1AddDirectorySentry()
Definition:
TH1AddDirectorySentry.cc:38
Generated for CMSSW Reference Manual by
1.8.11