Logo ROOT  
Reference Guide
RooMPSentinel Class Reference

RooMPSentinel is a singleton class that keeps track of all parellel execution processes for goodness-of-fit calculations. The primary task of RooMPSentinel is to terminate all server processes when the main ROOT process is exiting.

Definition at line 23 of file RooMPSentinel.h.

Public Member Functions

 RooMPSentinel ()
 Constructor. More...
 
virtual ~RooMPSentinel ()
 Destructor. More...
 

Protected Member Functions

 RooMPSentinel (const RooMPSentinel &)
 
void add (RooRealMPFE &mpfe)
 Register given multi-processor front-end object with the sentinel. More...
 
void remove (RooRealMPFE &mpfe)
 Remove given multi-processor front-end object from the sentinel. More...
 

Protected Attributes

RooArgSet _mpfeSet
 

Friends

class RooRealMPFE
 

#include <RooMPSentinel.h>

Constructor & Destructor Documentation

◆ RooMPSentinel() [1/2]

RooMPSentinel::RooMPSentinel ( )

Constructor.

Definition at line 43 of file RooMPSentinel.cxx.

◆ ~RooMPSentinel()

RooMPSentinel::~RooMPSentinel ( )
virtual

Destructor.

Terminate all parallel processes still registered with the sentinel

Definition at line 53 of file RooMPSentinel.cxx.

◆ RooMPSentinel() [2/2]

RooMPSentinel::RooMPSentinel ( const RooMPSentinel )
inlineprotected

Definition at line 35 of file RooMPSentinel.h.

Member Function Documentation

◆ add()

void RooMPSentinel::add ( RooRealMPFE mpfe)
protected

Register given multi-processor front-end object with the sentinel.

Definition at line 68 of file RooMPSentinel.cxx.

◆ remove()

void RooMPSentinel::remove ( RooRealMPFE mpfe)
protected

Remove given multi-processor front-end object from the sentinel.

Definition at line 78 of file RooMPSentinel.cxx.

Friends And Related Function Documentation

◆ RooRealMPFE

friend class RooRealMPFE
friend

Definition at line 31 of file RooMPSentinel.h.

Member Data Documentation

◆ _mpfeSet

RooArgSet RooMPSentinel::_mpfeSet
protected

Definition at line 38 of file RooMPSentinel.h.

Libraries for RooMPSentinel:
[legend]

The documentation for this class was generated from the following files: