12 #ifndef ROOT_TProofChain
13 #define ROOT_TProofChain
31 class TProofChain :
public TChain {
35 enum { kOwnsChain = BIT(19) };
39 void FillDrawAttributes(TProof *p);
47 TProofChain(TChain *chain, Bool_t gettreeheader);
48 TProofChain(TDSet *dset, Bool_t gettreeheader);
49 virtual ~TProofChain();
51 virtual void Browse(TBrowser *b);
52 Int_t Debug()
const {
return fDebug;}
53 virtual Long64_t Draw(
const char *varexp,
const TCut &selection, Option_t *option=
""
54 ,Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0);
55 virtual Long64_t Draw(
const char *varexp,
const char *selection, Option_t *option=
""
56 ,Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0);
57 virtual void Draw(Option_t *opt) { Draw(opt,
"",
"", TTree::kMaxEntries, 0); }
58 virtual TBranch *FindBranch(
const char *name);
59 virtual TLeaf *FindLeaf(
const char *name);
60 virtual TBranch *GetBranch(
const char *name);
61 virtual Bool_t GetBranchStatus(
const char *branchname)
const;
62 virtual Long64_t GetEntries()
const;
63 virtual Long64_t GetEntries(
const char *sel);
64 virtual TList *GetListOfClones() {
return 0; }
65 virtual TObjArray *GetListOfBranches() {
return (fTree ? fTree->GetListOfBranches() : (TObjArray *)0); }
66 virtual TObjArray *GetListOfLeaves() {
return (fTree ? fTree->GetListOfLeaves() : (TObjArray *)0);}
67 virtual TList *GetListOfFriends()
const {
return 0;}
68 virtual TList *GetListOfAliases()
const {
return 0;}
72 Int_t GetMakeClass()
const {
return fMakeClass;}
74 TVirtualTreePlayer *GetPlayer();
75 virtual Long64_t GetReadEntry()
const;
76 Bool_t HasTreeHeader()
const {
return (fTree ? kTRUE : kFALSE); }
77 virtual Long64_t Process(
const char *filename, Option_t *option=
"",
78 Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0);
79 virtual void Progress(Long64_t total, Long64_t processed);
80 virtual Long64_t Process(TSelector *selector, Option_t *option=
"",
81 Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0);
82 virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999);
83 virtual void SetEventList(TEventList *evlist) { fEventList = evlist; }
84 virtual void SetEntryList(TEntryList *enlist,
const Option_t *) { fEntryList = enlist; }
85 virtual void SetName(
const char *name);
86 virtual void ConnectProof();
87 virtual void ReleaseProof();
89 ClassDef(TProofChain,0)