60 if (gettreeheader &&
fSet)
80 if (gettreeheader && dset)
118 if ((p =
dynamic_cast<TProof *
>(o)))
153 Error(
"Draw",
"no active PROOF session");
189 Error(
"Draw",
"no active PROOF session");
227 while ((nm = (
TNamed *)nxa())) {
240 nmo->SetTitle(names.
Data());
264 Error(
"FillDrawAttributes",
"invalid PROOF or mother chain pointers!");
286 Info(
"FillDrawAttributes",
"line: color:%d, style:%d, width:%d",
288 Info(
"FillDrawAttributes",
"marker: color:%d, style:%d, size:%f",
290 Info(
"FillDrawAttributes",
"area: color:%d, style:%d",
417 Warning(
"GetEntries",
"GetEntries(selection) not yet implemented");
450 this,
"Progress(Long64_t,Long64_t)");
459 gProof->
Connect(
"Progress(Long64_t,Long64_t)",
"TProofChain",
460 this,
"Progress(Long64_t,Long64_t)");
static unsigned int total
R__EXTERN TProof * gProof
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual Color_t GetLineColor() const
Return the line color.
virtual Width_t GetLineWidth() const
Return the line width.
virtual Style_t GetLineStyle() const
Return the line style.
virtual Style_t GetMarkerStyle() const
Return the marker style.
virtual Color_t GetMarkerColor() const
Return the marker color.
virtual Size_t GetMarkerSize() const
Return the marker size.
A TTree is a list of TBranches.
Using a TBrowser one can browse all ROOT objects.
A chain is a collection of files containing TTree objects.
virtual Int_t AddFile(const char *name, Long64_t nentries=TTree::kMaxEntries, const char *tname="")
Add a new file to this chain.
TTree * fTree
! Pointer to current tree (Note: We do not own this tree.)
virtual Double_t GetWeight() const
Return the chain weight.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
A specialized string object used for TTree selections.
Manages an element of a TDSet.
This class implements a data set to be used for PROOF processing.
virtual void SetEntryList(TObject *aList)
Set entry (or event) list for this data set.
virtual Long64_t Draw(const char *varexp, const char *selection, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)
Draw expression varexp for specified entries.
TObject * GetEntryList() const
TList * GetListOfElements() const
virtual Long64_t Process(TSelector *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0, TObject *enl=0)
Process TDSet on currently active PROOF session.
A List of entry numbers in a TTree or TChain.
A TEventList object is a list of selected events (entries) in a TTree.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual Long64_t Draw(const char *varexp, const TCut &selection, Option_t *option="", Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0)
Forwards the execution to the TDSet.
virtual void Progress(Long64_t total, Long64_t processed)
Changes the number of processed entries.
virtual void ConnectProof()
Connects the proof "Progress" signal.
TVirtualTreePlayer * GetPlayer()
Forwards the execution to the dummy tree header.
virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999)
See TTree::SetDebug.
virtual void Browse(TBrowser *b)
Forwards the execution to the dummy tree header.
virtual TBranch * GetBranch(const char *name)
Forwards the execution to the dummy tree header.
virtual void SetName(const char *name)
See TTree::GetName.
virtual Long64_t GetEntries() const
Returns the total number of entries in the TProofChain, which is the number of entries in the TDSet t...
virtual Long64_t GetReadEntry() const
Returns the number of processed entries.
virtual Bool_t GetBranchStatus(const char *branchname) const
Forwards the execution to the dummy tree header.
TProofChain()
Crates a new PROOF chain proxy.
virtual TLeaf * FindLeaf(const char *name)
Forwards the execution to the dummy tree header.
virtual void ReleaseProof()
Releases PROOF. Disconnect the "progress" signal.
virtual Long64_t Process(const char *filename, Option_t *option="", Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0)
Forwards the execution to the TDSet.
virtual ~TProofChain()
Destructor.
virtual TBranch * FindBranch(const char *name)
Forwards the execution to the dummy tree header.
void AddAliases()
Aliases are added to the input list.
void FillDrawAttributes(TProof *p)
Communicate the drawing attributes for this chain to the input list so that the draw selectors can us...
This class controls a Parallel ROOT Facility, PROOF, cluster.
void RemoveChain(TChain *chain)
Remove chain from data set.
void SetParameter(const char *par, const char *value)
Set input list parameter.
void StopProcess(Bool_t abort, Int_t timeout=-1)
Send STOPPROCESS message to master and workers.
virtual TTree * GetTreeHeader(TDSet *tdset)
Creates a tree header (a tree with nonexisting files) object for the DataSet.
void AddChain(TChain *chain)
Add chain to data set.
void AddInput(TObject *obj)
Add objects that might be needed during the processing of the selector (see Process()).
TList * GetInputList()
Get input list.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
const char * Data() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
virtual TBranch * FindBranch(const char *name)
Return the branch that correspond to the path 'branchname', which can include the name of the tree or...
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
TEventList * fEventList
! Pointer to event selection list (if one)
TVirtualTreePlayer * GetPlayer()
Load the TTreePlayer (if not already done).
virtual TList * GetListOfAliases() const
virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999)
Set the debug level and the debug range.
virtual Bool_t GetBranchStatus(const char *branchname) const
Return status of branch with name branchname.
virtual TEntryList * GetEntryList()
Returns the entry list assigned to this tree.
TEntryList * fEntryList
! Pointer to event selection list (if one)
virtual Long64_t GetEntries() const
TEventList * GetEventList() const
virtual void SetName(const char *name)
Change the name of this tree.
Long64_t fReadEntry
! Number of the entry being processed
virtual TLeaf * FindLeaf(const char *name)
Find leaf..
TDirectory * fDirectory
! Pointer to directory holding this tree
virtual Long64_t GetMaxEntryLoop() const
Abstract base class defining the interface for the plugins that implement Draw, Scan,...