ROOT » TREE » TREE » TQueryResult

class TQueryResult: public TNamed


A container class for query results.

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b = 0)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Long64_tGetBytes() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TDatimeGetEndTime() const
Long64_tGetEntries() const
Long64_tGetFirst() const
virtual const char*TObject::GetIconName() const
Float_tGetInitTime() const
TObject*GetInputObject(const char* classname) const
const char*GetLibList() const
TMacro*GetLogFile() const
Float_tGetMergeTime() const
virtual const char*TNamed::GetName() const
Int_tGetNumMergers() const
Int_tGetNumWrks() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const char*GetOptions() const
const char*GetParList() const
Float_tGetPrepTime() const
Float_tGetProcTime() const
Float_tGetRecvTime() const
const char*GetResultFile() const
TMacro*GetSelecHdr() const
TMacro*GetSelecImp() const
Int_tGetSeqNum() const
TDatimeGetStartTime() const
TQueryResult::EQueryStatusGetStatus() const
Float_tGetTermTime() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tGetUsedCPU() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsArchived() const
virtual Bool_tIsDone() const
Bool_tIsDraw() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsFinalized() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tMatches(const char* ref)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TQueryResult&operator=(const TQueryResult&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TQueryResult(const TQueryResult&)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidAddInput(TObject* obj)
voidAddLogLine(const char* logline)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidRecordEnd(TQueryResult::EQueryStatus status, TList* outlist = 0)
voidSaveSelector(const char* selec)
voidSetArchived(const char* archfile)
virtual voidSetFinalized()
virtual voidSetInputList(TList* in, Bool_t adopt = kTRUE)
voidSetMergeTime(Float_t mergetime)
voidSetNumMergers(Int_t nmergers)
virtual voidSetOutputList(TList* out, Bool_t adopt = kTRUE)
voidSetPrepTime(Float_t preptime)
virtual voidSetProcessInfo(Long64_t ent, Float_t cpu = 0., Long64_t siz = -1, Float_t inittime = 0., Float_t proctime = 0.)
voidSetRecvTime(Float_t recvtime)
voidSetTermTime(Float_t termtime)
TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, const char* selec)

Data Members

static TQueryResult::EQueryStatuskAborted
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TQueryResult::EQueryStatuskCompleted
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TQueryResult::EQueryStatuskRunning
static TObject::(anonymous)TObject::kSingleKey
static TQueryResult::EQueryStatuskStopped
static TQueryResult::EQueryStatuskSubmitted
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
Bool_tfArchivedwhether the query has been archived
Long64_tfBytesnumber of bytes processed
Bool_tfDrawtrue if draw action query
TDatimefEndtime when processing ended
Long64_tfEntriesnumber of entries processed
Bool_tfFinalizedwhether Terminate has been run
Long64_tfFirstfirst entry processed
Float_tfInitTimeInitialization time (seconds) (millisec precision)
TList*fInputListinput list; contains also data sets, entry list, ...
TStringfLibListblank-separated list of libs loaded at fStart
TMacro*fLogFilefile with log messages from the query
Float_tfMergeTimeMerging time (seconds) (millisec precision)
TStringTNamed::fNameobject identifier
Int_tfNumMergersNumber of submergers
Int_tfNumWrksNumber of workers at start
TStringfOptionsprocessing options + aclic mode (<opt>#<aclic_mode>)
TList*fOutputListoutput list
TStringfParListcolon-separated list of PAR loaded at fStart
Float_tfPrepTimePrepare time (seconds) (millisec precision)
Float_tfProcTimeProcessing time (seconds) (millisec precision)
Float_tfRecvTimeTransfer-to-client time (seconds) (millisec precision)
TStringfResultFileURL of the file where results have been archived
TMacro*fSelecHdrselector header file
TMacro*fSelecImpselector implementation file
Int_tfSeqNumquery unique sequential number
TDatimefStarttime when processing started
TQueryResult::EQueryStatusfStatusquery status
Float_tfTermTimeTerminate time (seconds) (millisec precision)
TStringTNamed::fTitleobject title
Float_tfUsedCPUreal CPU time used (seconds)

Class Charts

Inheritance Chart:

Function documentation

TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, const char* selec)
 Main constructor.
TQueryResult * CloneInfo()
 Return an instance of TQueryResult containing only the local
 info fields, i.e. no outputlist, liblist, dset, selectors, etc..
 Used for fast retrieve of information about existing queries
 and their status.
void SaveSelector(const char* selec)
 Save the selector header and implementation into the dedicated
 TMacro instances. The header is searched for in the same directory
 of the implementation file.
void RecordEnd(TQueryResult::EQueryStatus status, TList* outlist = 0)
 End of query settings.
void SetProcessInfo(Long64_t ent, Float_t cpu = 0., Long64_t siz = -1, Float_t inittime = 0., Float_t proctime = 0.)
 Set processing info.
void AddLogLine(const char* logline)
 Fill log file.
void AddInput(TObject* obj)
 Add obj to the input list
void SetArchived(const char* archfile)
 Set (or update) query in archived state.
void Print(Option_t* opt = "") const
 Print query content. Use opt = "F" for a full listing.
void Browse(TBrowser* b = 0)
 To support browsing of the results.
void SetInputList(TList* in, Bool_t adopt = kTRUE)
 Set / change the input list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned. If adopted, object ownership is transferred to this object.
 The internal fInputList will always be owner of its objects.
void SetOutputList(TList* out, Bool_t adopt = kTRUE)
 Set / change the output list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned.  If adopted, object ownership is transferred to this object.
 The internal fOutputList will always be owner of its objects.
Bool_t Matches(const char* ref)
 Return TRUE if reference ref matches.
TObject * GetInputObject(const char* classname) const
 Return first instance of class 'classname' in the input list.
 Usefull to access TDSet, TEventList, ...
TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, const char* selec)
void SetFinalized()
void SetPrepTime(Float_t preptime)
{ fPrepTime = preptime; }
void SetMergeTime(Float_t mergetime)
{ fMergeTime = mergetime; }
void SetRecvTime(Float_t recvtime)
{ fRecvTime = recvtime; }
void SetTermTime(Float_t termtime)
{ fTermTime = termtime; }
void SetNumMergers(Int_t nmergers)
{ fNumMergers = nmergers; }
{ }
Int_t GetSeqNum() const
{ return fSeqNum; }
EQueryStatus GetStatus() const
{ return fStatus; }
TDatime GetStartTime() const
{ return fStart; }
TDatime GetEndTime() const
{ return fEnd; }
const char * GetOptions() const
{ return fOptions; }
TList * GetInputList()
{ return fInputList; }
Long64_t GetEntries() const
{ return fEntries; }
Long64_t GetFirst() const
{ return fFirst; }
Long64_t GetBytes() const
{ return fBytes; }
Float_t GetUsedCPU() const
{ return fUsedCPU; }
TMacro * GetLogFile() const
{ return fLogFile; }
TMacro * GetSelecHdr() const
{ return fSelecHdr; }
TMacro * GetSelecImp() const
{ return fSelecImp; }
const char * GetLibList() const
{ return fLibList; }
const char * GetParList() const
{ return fParList; }
TList * GetOutputList()
{ return fOutputList; }
const char * GetResultFile() const
{ return fResultFile; }
Float_t GetPrepTime() const
{ return fPrepTime; }
Float_t GetInitTime() const
{ return fInitTime; }
Float_t GetProcTime() const
{ return fProcTime; }
Float_t GetMergeTime() const
{ return fMergeTime; }
Float_t GetRecvTime() const
{ return fRecvTime; }
Float_t GetTermTime() const
{ return fTermTime; }
Int_t GetNumWrks() const
{ return fNumWrks; }
Int_t GetNumMergers() const
{ return fNumMergers; }
Bool_t IsArchived() const
{ return fArchived; }
Bool_t IsDone() const
{ return (fStatus > kRunning); }
Bool_t IsDraw() const
{ return fDraw; }
Bool_t IsFinalized() const
{ return fFinalized; }