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...
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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 41 of file RooMPSentinel.cxx.

◆ ~RooMPSentinel()

RooMPSentinel::~RooMPSentinel ( )
virtual

Destructor.

Terminate all parallel processes still registered with the sentinel

Definition at line 51 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 63 of file RooMPSentinel.cxx.

◆ Class()

static TClass * RooMPSentinel::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooMPSentinel::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t RooMPSentinel::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 40 of file RooMPSentinel.h.

◆ DeclFileName()

static const char * RooMPSentinel::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 40 of file RooMPSentinel.h.

◆ IsA()

virtual TClass * RooMPSentinel::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 40 of file RooMPSentinel.h.

◆ remove()

void RooMPSentinel::remove ( RooRealMPFE mpfe)
protected

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

Definition at line 73 of file RooMPSentinel.cxx.

◆ Streamer()

virtual void RooMPSentinel::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooMPSentinel::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 40 of file RooMPSentinel.h.

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: