library: libRooFit #include "RooRealMPFE.h"

# RooRealMPFE

class description - source file - inheritance tree (.pdf)

## class RooRealMPFE : public RooAbsReal

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsArg`

<-

`RooAbsReal`

<-

`RooRealMPFE`

        protected:

              virtual void constOptimize(RooAbsArg::ConstOpCode opcode)
          virtual Double_t evaluate() const
                      void initialize()
                      void initVars()
                      void serverLoop()

        public:

                           RooRealMPFE(const char* name, const char* title, RooAbsReal& arg, Bool_t calcInline = kFALSE)
                           RooRealMPFE(const RooRealMPFE& other, const char* name = "0")
                   virtual ~RooRealMPFE()
                      void calculate() const
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
          virtual Double_t getVal(const RooArgSet* nset = 0) const
           virtual TClass* IsA() const
                      void setVerbose(Bool_t clientFlag = kTRUE, Bool_t serverFlag = kTRUE)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
                      void standby()
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

            RooRealMPFE::State _state
                  RooRealProxy _arg              Function to calculate in parallel process
                  RooListProxy _vars             Variables
                    RooArgList _saveVars         Copy of variables
                        Bool_t _calcInProgress
                        Bool_t _verboseClient
                        Bool_t _verboseServer
                        Bool_t _inlineMode
                        Bool_t _forceCalc
                         Int_t _pipeToClient[2]  Pipe to client process
                         Int_t _pipeToServer[2]  Pipe to server process
          static RooMPSentinel _sentinel

        public:

            static const RooRealMPFE::State Initialize
            static const RooRealMPFE::State Client
            static const RooRealMPFE::State Server
            static const RooRealMPFE::State Inline
          static const RooRealMPFE::Message SendReal
          static const RooRealMPFE::Message SendCat
          static const RooRealMPFE::Message Calculate
          static const RooRealMPFE::Message Retrieve
          static const RooRealMPFE::Message ReturnValue
          static const RooRealMPFE::Message Terminate
          static const RooRealMPFE::Message ConstOpt
          static const RooRealMPFE::Message Verbose

## Class Description

RooRealMPFE(const char *name, const char *title, RooAbsReal& arg, Bool_t calcInline) : RooAbsReal(name,title), _state(Initialize), _arg("arg","arg",this,arg), _vars("vars","vars",this), _verboseClient(kFALSE), _verboseServer(kFALSE), _inlineMode(calcInline)

RooRealMPFE(const RooRealMPFE& other, const char* name) : RooAbsReal(other, name), _state(other._state), _arg("arg",this,other._arg), _vars("vars",this,other._vars), _verboseClient(other._verboseClient), _verboseServer(other._verboseServer), _inlineMode(other._inlineMode), _forceCalc(other._forceCalc)

     Copy constructor

~RooRealMPFE()

     Destructor

void initVars()

     Initialize variable list

void initialize()

void serverLoop()

void calculate() const

     Start asynchronous calculation of arg value

Double_t getVal(const RooArgSet* /*nset*/) const

Double_t evaluate() const

     Retrieve value of arg

void standby()

void constOptimize(ConstOpCode opcode)

void setVerbose(Bool_t clientFlag, Bool_t serverFlag)

### Inline Functions

               TObject* clone(const char* newname) const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:14:49 2005
Copyright (c) 2000-2005, Regents of the University of California *