#include "htaskset.h"

HTaskSet


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

class HTaskSet : public HTask

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HTaskSet
<-
HHodoTaskSet
HKickTaskSet
HMdcTaskSet
HPidTaskSet
HRichIPUTaskSet
HRichTaskSet
HRpcTaskSet
HShowerTaskSet
HShowerTofinoTaskSet
HSplineTaskSet
 [more...]

    public:
HTaskSet() HTaskSet(HTaskSet& ts) HTaskSet(Text_t* name, Text_t* title) ~HTaskSet() Bool_t add(HTask*) virtual void Browse(TBrowser* b) static TClass* Class() virtual void Clear(Option_t* opt) Bool_t connect(HTask*) Bool_t connect(HTask*, HTask*, Int_t n = kGOFORWARD) Bool_t connect(HTask*, Text_t* where, Int_t n = kGOFORWARD) Bool_t connect(Text_t* task, Text_t* where, Int_t n = 0) virtual Bool_t connectTask(HTask*, Int_t n) virtual Bool_t finalize() virtual HTask* getComposite() Int_t* getIds(Int_t& size) TOrdCollection* getSetOfTask() virtual HTask* getTask(Char_t* name) virtual Bool_t init() virtual TClass* IsA() const virtual Bool_t IsFolder() const virtual void isTimed(Bool_t flag = kTRUE) HTask* make(const char* select, Option_t* option) virtual HTask* next(Int_t& errCode) HTask* next(Int_t& errCode, Int_t id) HTask* operator()(Int_t& errCode) void print() virtual void printTimer() virtual Bool_t reinit() virtual void resetTimer() void setIds(Int_t i0, Int_t i1 = -1, Int_t i2 = -1, Int_t i3 = -1, Int_t i4 = -1, Int_t i5 = -1, Int_t i6 = -1, Int_t i7 = -1) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TOrdCollection fTasks Tasks in this set HTask* fNextTask HTask* fFirstTask Int_t ids[8]

Class Description

 HTaskSet

 This HTask is in fact a set of tasks arbitrarily connected among themselves.

 The tasks are connected such that when a task is finished a pointer to
 the next task is retrieved; note that the tasks must not necessarily be
 connected in a linear fashion.


HTaskSet(Text_t name[],Text_t title[]) : HTask(name,title)
 Constructor

HTaskSet(void)
 Default constructor

HTaskSet(HTaskSet &ts)
 Copy constructor.

~HTaskSet(void)
 Destructor.

HTask* getTask(Char_t *name)
 return pointer to first task of given name found

Bool_t add( HTask* task )
 For the moment only elementary task are added

Bool_t connect(HTask *task)
 Connects "task" as the first task to be performed in the set.

Bool_t connect(HTask *task,HTask *where,Int_t n)
 connects task "task" to the task "where" with parameter "n"

Bool_t connect(HTask *task,Text_t *where,Int_t n)
 Connects task "task" to the task with name "where" using "n" as parameter.

Bool_t connect(Text_t task[],Text_t where[],Int_t n)
 Connects the task named "task" to the one named "where" using "n" as
 parameter.

void Clear(Option_t *opt)

Bool_t init(void)
 Calls the init function for each of the tasks in the task set.

Bool_t reinit(void)
 Calls the init function for each of the tasks in the task set.

Bool_t finalize(void)
 Calls the finalize function for each of the tasks in the set

void print(void)
 Dumps dependencies for each of the tasks in the set

void setIds(Int_t i0, Int_t i1, Int_t i2, Int_t i3, Int_t i4, Int_t i5, Int_t i6, Int_t i7)
 set event ids for which this task set should execute


HTask* next(Int_t &errCode, Int_t evtId)
 do tasks only if evtId matches with one of the 8 tabulated ids


HTask* next(Int_t &errCode)
 Iterates throught the task set. When the iteration is finished it
 returns a pointer to the next task as set by connectTask()

Bool_t connectTask(HTask *task,Int_t)
 Connects "task" as the next task to be performed; n is ignored.

Bool_t IsFolder(void) const
 Returns true. This tells the Root browser to show HTaskSet as a folder
 holding other objects

void Browse(TBrowser *b)
 Adds the tasks in the this taskset to the current ROOT browser.

 This function is called by Root when browsing gHades with the Root browser


void isTimed(Bool_t flag)
 Set timing flag for all tasks in set

void resetTimer(void)
 Calls the reset function for each of the task timers in the task set.

void printTimer(void)
 Calls the print function for each of the task timers in the task set.

void Streamer(TBuffer &R__b)
 Stream an object of class HTaskSet.



Inline Functions


                 HTask* make(const char* select, Option_t* option)
                 HTask* operator()(Int_t& errCode)
                 HTask* getComposite()
        TOrdCollection* getSetOfTask()
                 Int_t* getIds(Int_t& size)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void StreamerNVirtual(TBuffer& b)


Author: Manuel Sanchez
Last update: Mon Feb 5 16:53:15 2007


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.