ROOT
6.10/09
Reference Guide
roofit
roofitcore
inc
RooSentinel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* File: $Id$
5
* Authors: *
6
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8
* *
9
* Copyright (c) 2000-2005, Regents of the University of California *
10
* and Stanford University. All rights reserved. *
11
* *
12
* Redistribution and use in source and binary forms, *
13
* with or without modification, are permitted according to the terms *
14
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15
*****************************************************************************/
16
#ifndef ROO_SENTINEL
17
#define ROO_SENTINEL
18
19
#include "
Rtypes.h
"
20
21
class
RooSentinel
{
22
public
:
23
24
static
void
activate
() ;
25
26
protected
:
27
28
static
Bool_t
_active
;
29
30
RooSentinel
() {} ;
31
RooSentinel
(
const
RooSentinel
&) {}
32
33
};
34
35
#endif
RooSentinel
RooSentinel is a special purposes singleton class that terminates all other RooFit singleton services...
Definition:
RooSentinel.h:21
Rtypes.h
RooSentinel::RooSentinel
RooSentinel(const RooSentinel &)
Definition:
RooSentinel.h:31
RooSentinel::_active
static Bool_t _active
Definition:
RooSentinel.h:28
RooSentinel::RooSentinel
RooSentinel()
Definition:
RooSentinel.h:30
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
RooSentinel::activate
static void activate()
Install atexit handler that calls CleanupRooFitAtExit() on program termination.
Definition:
RooSentinel.cxx:71