TPEAC.h

Go to the documentation of this file.
00001 // @(#)root/peac:$Id: TPEAC.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Maarten Ballintijn    21/10/2004
00003 // Author: Kris Gulbrandsen      21/10/2004
00004 
00005 /*************************************************************************
00006  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00007  * All rights reserved.                                                  *
00008  *                                                                       *
00009  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00010  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00011  *************************************************************************/
00012 
00013 #ifndef ROOT_TPEAC
00014 #define ROOT_TPEAC
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TPEAC                                                                //
00019 //                                                                      //
00020 // Setup of a PROOF session using PEAC                                  //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 #ifndef ROOT_TObject
00025 #include "TObject.h"
00026 #endif
00027 
00028 #ifndef ROOT_TString
00029 #include "TString.h"
00030 #endif
00031 
00032 
00033 class TGM;
00034 class TDSet;
00035 class TProof;
00036 
00037 
00038 class TPEAC : public TObject {
00039 
00040 private:
00041    TGM           *fGM;        //global manager object
00042    TString        fSessionID; //session id gotten from clarens
00043    TString        fDataSet;   //dataset used to create session
00044    TProof        *fProof;     //proof session started in StartSession
00045 
00046    TPEAC();
00047 
00048 public:
00049    virtual ~TPEAC();
00050 
00051    static void    Init();
00052    TDSet         *StartSession(const Char_t *dataset);
00053    void           EndSession();
00054    void           EndSessionCallback();
00055 
00056    ClassDef(TPEAC,0)  // Manage PROOF sessions using PEAC
00057 };
00058 
00059 
00060 R__EXTERN TPEAC *gPEAC;
00061 
00062 #endif

Generated on Tue Jul 5 14:27:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1