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
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
TH1AddDirectorySentry::TH1AddDirectorySentry
() : status_(TH1::AddDirectoryStatus()) { TH1::AddDirectory(
true
); }
32
33
TH1AddDirectorySentry::~TH1AddDirectorySentry
() { TH1::AddDirectory(
status_
); }
TH1AddDirectorySentry.h
TH1AddDirectorySentry::status_
bool status_
Definition:
TH1AddDirectorySentry.h:33
TH1AddDirectorySentry::TH1AddDirectorySentry
TH1AddDirectorySentry()
Definition:
TH1AddDirectorySentry.cc:31
TH1AddDirectorySentry::~TH1AddDirectorySentry
~TH1AddDirectorySentry()
Definition:
TH1AddDirectorySentry.cc:33
Generated for CMSSW Reference Manual by
1.8.14