60 if (gettreeheader &&
fSet)
78 if (gettreeheader && dset)
108 if ((p = dynamic_cast<TProof *>(o)))
143 Error(
"Draw",
"no active PROOF session");
176 Error(
"Draw",
"no active PROOF session");
211 while ((nm = (
TNamed *)nxa())) {
224 nmo->SetTitle(names.
Data());
248 Error(
"FillDrawAttributes",
"invalid PROOF or mother chain pointers!");
270 Info(
"FillDrawAttributes",
"line: color:%d, style:%d, width:%d",
272 Info(
"FillDrawAttributes",
"marker: color:%d, style:%d, size:%f",
274 Info(
"FillDrawAttributes",
"area: color:%d, style:%d",
340 return fSet->
Process(filename, option, nentries, firstentry);
357 return fSet->
Process(selector, option, nentries, firstentry);
399 Warning(
"GetEntries",
"GetEntries(selection) not yet implemented");
432 this,
"Progress(Long64_t,Long64_t)");
441 gProof->
Connect(
"Progress(Long64_t,Long64_t)",
"TProofChain",
442 this,
"Progress(Long64_t,Long64_t)");
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 const char * GetTitle() const
Returns title of object.
virtual Style_t GetLineStyle() const
virtual Style_t GetFillStyle() const
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual TList * GetListOfAliases() const
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void RemoveChain(TChain *chain)
Remove chain from data set.
virtual Double_t GetWeight() const
Return the chain weight.
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.
This class implements a data set to be used for PROOF processing.
void SetParameter(const char *par, const char *value)
Set input list parameter.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999)
See TTree::SetDebug.
TDirectory * fDirectory
Object to be notified when loading a Tree.
static const char * filename()
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
virtual void ConnectProof()
Connects the proof "Progress" signal.
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
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.
TVirtualTreePlayer * GetPlayer()
Load the TTreePlayer (if not already done).
virtual TBranch * GetBranch(const char *name)
Forwards the execution to the dummy tree header.
TTree * fTree
If true, TProcessIDs are deleted when closing a file.
virtual void Progress(Long64_t total, Long64_t processed)
Changes the number of processed entries.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Browse(TBrowser *b)
Forwards the execution to the dummy tree header.
const char * Data() const
Manages an element of a TDSet.
void StopProcess(Bool_t abort, Int_t timeout=-1)
Send STOPPROCESS message to master and workers.
The TNamed class is the base class for all named ROOT classes.
void FillDrawAttributes(TProof *p)
Communicate the drawing attributes for this chain to the input list so that the draw selectors can us...
TList * GetListOfElements() const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void ReleaseProof()
Releases PROOF. Disconnect the "progress" signal.
A specialized string object used for TTree selections.
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
void AddChain(TChain *chain)
Add chain to data set.
Using a TBrowser one can browse all ROOT objects.
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...
TEntryList * fEntryList
Pointer to event selection list (if one)
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 Size_t GetMarkerSize() const
virtual Long64_t GetMaxEntryLoop() const
Long64_t fReadEntry
Offset of 1st entry of this Tree in a TChain.
virtual Color_t GetFillColor() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
Bool_t TestBit(UInt_t f) const
virtual void SetName(const char *name)
See TTree::GetName.
virtual TLeaf * FindLeaf(const char *name)
Find leaf..
virtual const char * GetName() const
Returns name of object.
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.
virtual Color_t GetLineColor() const
void AddInput(TObject *obj)
Add objects that might be needed during the processing of the selector (see Process()).
virtual Int_t AddFile(const char *name, Long64_t nentries=TTree::kMaxEntries, const char *tname="")
Add a new file to this chain.
virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999)
Set the debug level and the debug range.
TVirtualTreePlayer * GetPlayer()
Forwards the execution to the dummy tree header.
virtual Long64_t GetReadEntry() const
Returns the number of processed entries.
TList * GetInputList()
Get input list.
R__EXTERN TProof * gProof
virtual Int_t GetSize() const
virtual ~TProofChain()
Destructor.
virtual TBranch * FindBranch(const char *name)
Forwards the execution to the dummy tree header.
virtual void SetEntryList(TObject *aList)
Set entry (or event) list for this data set.
ClassImp(TProofChain) TProofChain
Crates a new PROOF chain proxy.
This class controls a Parallel ROOT Facility, PROOF, cluster.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
virtual TTree * GetTreeHeader(TDSet *tdset)
Creates a tree header (a tree with nonexisting files) object for the DataSet.
virtual Bool_t GetBranchStatus(const char *branchname) const
Forwards the execution to the dummy tree header.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Mother of all ROOT objects.
void AddAliases()
Aliases are added to the input list.
virtual Color_t GetMarkerColor() const
Abstract base class defining the interface for the plugins that implement Draw, Scan, Process, MakeProxy, etc.
A chain is a collection of files containg TTree objects.
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 GetEntries() const
A TTree is a list of TBranches.
virtual Bool_t GetBranchStatus(const char *branchname) const
Return status of branch with name branchname.
virtual Style_t GetMarkerStyle() const
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
virtual Width_t GetLineWidth() const
virtual void SetName(const char *name)
Change the name of this tree.
virtual TLeaf * FindLeaf(const char *name)
Forwards the execution to the dummy tree header.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.