Logo ROOT   6.08/07
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"
21 class RooRealMPFE ;
22 
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 
36  // Default constructor
37  }
39 
40  ClassDef(RooMPSentinel,1) // Singleton class that terminate MP server processes when parent exists
41 };
42 
43 #endif
RooMPSentinel()
Constructor.
RooRealMPFE is the multi-processor front-end for parallel calculation of RooAbsReal objects...
Definition: RooRealMPFE.h:30
#define ClassDef(name, id)
Definition: Rtypes.h:254
RooArgSet _mpfeSet
Definition: RooMPSentinel.h:38
RooMPSentinel(const RooMPSentinel &)
Definition: RooMPSentinel.h:35
void add(RooRealMPFE &mpfe)
Register given multi-processor front-end object with the sentinel.
RooMPSentinel is a singleton class that keeps track of all parellel execution processes for goodness-...
Definition: RooMPSentinel.h:23
virtual ~RooMPSentinel()
Destructor.