TJAlienMasterJob.h 1.89 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// @(#)root/alien:$Id$
// Author: Jan Fiete Grosse-Oetringhaus  27/10/2004

/*************************************************************************
 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TJAlienMasterJob
#define ROOT_TJAlienMasterJob

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TJAlienMasterJob                                                      //
//                                                                      //
// Special Grid job which contains a master job which controls          //
// underlying jobs resulting from job splitting.                        //
//                                                                      //
// Related classes are TJAlienJobStatus.                                 //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGridJob
#include "TGridJob.h"
#endif


class TJAlienMasterJob : public TGridJob {

public:
    TJAlienMasterJob(TString jobID) : TGridJob(jobID) { }
    virtual ~TJAlienMasterJob() { }

    virtual TGridJobStatus *GetJobStatus() const;

    void   Print(Option_t *) const;
    Bool_t Merge();
    Bool_t Merge(const char *inputname, const char *mergeoutput = 0);
    void   Browse(TBrowser* b);

    ClassDef(TJAlienMasterJob, 1) // Special Alien grid job controlling results of job splitting
};

#endif