File tree Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,7 @@ class TChain : public TTree {
127127 bool InPlaceClone (TDirectory *newdirectory, const char *options = " " ) override ;
128128 Int_t LoadBaskets (Long64_t maxmemory) override ;
129129 Long64_t LoadTree (Long64_t entry) override ;
130- void Lookup (bool force = false );
131- virtual void Loop (Option_t *option=" " , Long64_t nentries=kMaxEntries , Long64_t firstentry=0 ); // *MENU*
130+ void Lookup (bool force = false );
132131 void ls (Option_t *option=" " ) const override ;
133132 virtual Long64_t Merge (const char *name, Option_t *option = " " );
134133 Long64_t Merge (TCollection *list, Option_t *option = " " ) override ;
Original file line number Diff line number Diff line change @@ -1854,50 +1854,6 @@ void TChain::Lookup(bool force)
18541854 SafeDelete (stg);
18551855}
18561856
1857- // //////////////////////////////////////////////////////////////////////////////
1858- // / Loop on nentries of this chain starting at firstentry. (NOT IMPLEMENTED)
1859-
1860- void TChain::Loop (Option_t* option, Long64_t nentries, Long64_t firstentry)
1861- {
1862- Error (" Loop" , " Function not yet implemented" );
1863-
1864- if (option || nentries || firstentry) { } // keep warnings away
1865-
1866- #if 0
1867- if (LoadTree(firstentry) < 0) return;
1868-
1869- if (firstentry < 0) firstentry = 0;
1870- Long64_t lastentry = firstentry + nentries -1;
1871- if (lastentry > fEntries-1) {
1872- lastentry = fEntries -1;
1873- }
1874-
1875- GetPlayer();
1876- GetSelector();
1877- fSelector->Start(option);
1878-
1879- Long64_t entry = firstentry;
1880- Int_t tree,e0,en;
1881- for (tree=0;tree<fNtrees;tree++) {
1882- e0 = fTreeOffset[tree];
1883- en = fTreeOffset[tree+1] - 1;
1884- if (en > lastentry) en = lastentry;
1885- if (entry > en) continue;
1886-
1887- LoadTree(entry);
1888- fSelector->BeginFile();
1889-
1890- while (entry <= en) {
1891- fSelector->Execute(fTree, entry - e0);
1892- entry++;
1893- }
1894- fSelector->EndFile();
1895- }
1896-
1897- fSelector->Finish(option);
1898- #endif
1899- }
1900-
19011857// //////////////////////////////////////////////////////////////////////////////
19021858// / List the chain.
19031859
You can’t perform that action at this time.
0 commit comments