ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
roofit
roofitcore
inc
RooMPSentinel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* File: $Id: RooMPSentinel.h,v 1.7 2007/05/11 09:11:30 verkerke Exp $
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_MP_SENTINEL
17
#define ROO_MP_SENTINEL
18
19
#include "
Rtypes.h
"
20
#include "
RooArgSet.h
"
21
class
RooRealMPFE
;
22
23
class
RooMPSentinel
{
24
public
:
25
26
RooMPSentinel
() ;
27
virtual
~RooMPSentinel
() ;
28
29
protected
:
30
31
friend
class
RooRealMPFE
;
32
void
add
(
RooRealMPFE
& mpfe) ;
33
void
remove
(
RooRealMPFE
& mpfe) ;
34
35
RooMPSentinel
(
const
RooMPSentinel
&) {
36
// Default constructor
37
}
38
RooArgSet
_mpfeSet
;
39
40
ClassDef
(
RooMPSentinel
,1)
// Singleton class that terminate MP server processes when parent exists
41
};
42
43
#endif
RooArgSet.h
Rtypes.h
RooArgSet
Definition:
RooArgSet.h:26
RooMPSentinel::RooMPSentinel
RooMPSentinel()
Constructor.
Definition:
RooMPSentinel.cxx:43
RooRealMPFE
Definition:
RooRealMPFE.h:30
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
RooMPSentinel::_mpfeSet
RooArgSet _mpfeSet
Definition:
RooMPSentinel.h:38
RooMPSentinel::RooMPSentinel
RooMPSentinel(const RooMPSentinel &)
Definition:
RooMPSentinel.h:35
RooMPSentinel::add
void add(RooRealMPFE &mpfe)
Register given multi-processor front-end object with the sentinel.
Definition:
RooMPSentinel.cxx:68
RooMPSentinel
Definition:
RooMPSentinel.h:23
RooMPSentinel::~RooMPSentinel
virtual ~RooMPSentinel()
Destructor.
Definition:
RooMPSentinel.cxx:53