Logo ROOT  
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
RooRealMPFE
RooRealMPFE is the multi-processor front-end for parallel calculation of RooAbsReal objects.
Definition: RooRealMPFE.h:30
RooMPSentinel::RooMPSentinel
RooMPSentinel()
Constructor.
Definition: RooMPSentinel.cxx:43
RooArgSet.h
RooMPSentinel::RooMPSentinel
RooMPSentinel(const RooMPSentinel &)
Definition: RooMPSentinel.h:35
RooMPSentinel::_mpfeSet
RooArgSet _mpfeSet
Definition: RooMPSentinel.h:38
RooMPSentinel
RooMPSentinel is a singleton class that keeps track of all parellel execution processes for goodness-...
Definition: RooMPSentinel.h:23
RooMPSentinel::remove
void remove(RooRealMPFE &mpfe)
Remove given multi-processor front-end object from the sentinel.
Definition: RooMPSentinel.cxx:78
RooMPSentinel::add
void add(RooRealMPFE &mpfe)
Register given multi-processor front-end object with the sentinel.
Definition: RooMPSentinel.cxx:68
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
RooMPSentinel::~RooMPSentinel
virtual ~RooMPSentinel()
Destructor.
Definition: RooMPSentinel.cxx:53
Rtypes.h
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:29