Logo ROOT   6.18/05
Reference Guide
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"
21class RooRealMPFE ;
22
24public:
25
27 virtual ~RooMPSentinel() ;
28
29protected:
30
31 friend class RooRealMPFE ;
32 void add(RooRealMPFE& mpfe) ;
33 void remove(RooRealMPFE& mpfe) ;
34
36 // Default constructor
37 }
39
40 ClassDef(RooMPSentinel,1) // Singleton class that terminate MP server processes when parent exists
41};
42
43#endif
#define ClassDef(name, id)
Definition: Rtypes.h:326
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
RooMPSentinel is a singleton class that keeps track of all parellel execution processes for goodness-...
Definition: RooMPSentinel.h:23
RooMPSentinel(const RooMPSentinel &)
Definition: RooMPSentinel.h:35
void remove(RooRealMPFE &mpfe)
Remove given multi-processor front-end object from the sentinel.
RooArgSet _mpfeSet
Definition: RooMPSentinel.h:38
void add(RooRealMPFE &mpfe)
Register given multi-processor front-end object with the sentinel.
RooMPSentinel()
Constructor.
virtual ~RooMPSentinel()
Destructor.
RooRealMPFE is the multi-processor front-end for parallel calculation of RooAbsReal objects.
Definition: RooRealMPFE.h:30