// @(#)root/proof:$Name: $:$Id: TProofQueryResult.cxx,v 1.1 2005/09/16 08:48:38 rdm Exp $
// Author: G Ganis Sep 2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// TProofQueryResult //
// //
// TQueryResult version adapted to PROOF neeeds. //
// //
//////////////////////////////////////////////////////////////////////////
#include "TDSet.h"
#include "TError.h"
#include "TEventList.h"
#include "TProofQueryResult.h"
#include "TSystem.h"
ClassImp(TProofQueryResult)
//______________________________________________________________________________
TProofQueryResult::TProofQueryResult(Int_t sn, const char *opt, TList *inlist,
Long64_t ent, Long64_t fst, TDSet *dset,
const char *sel, TEventList *elist)
: TQueryResult(sn, opt, inlist, ent, fst, dset, sel, elist)
{
// Main constructor.
fStartLog = -1;
}
//______________________________________________________________________________
void TProofQueryResult::SetRunning(Int_t startlog, const char *par)
{
// Call when running starts.
fStatus = kRunning;
fStart.Set();
fEnd.Set(fStart.Convert()-1);
fParList = (par && (strlen(par) > 0)) ? par : "-";
fStartLog = startlog;
// Add header to log file
fLogFile->AddLine("+++");
fLogFile->AddLine(Form("+++ Start processing query # %d (log file offset: %d)",
fSeqNum, startlog));
fLogFile->AddLine("+++");
}
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.