Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64bit index #6

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
upgrade index API to Long64_t
  • Loading branch information
mnowakgit committed Dec 18, 2013
commit f57540f21636de2b80d716035152af48521cc1bf
4 changes: 2 additions & 2 deletions tree/tree/inc/TTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ class TTree : public TNamed, public TAttLine, public TAttFill, public TAttMarker
virtual Int_t GetEntry(Long64_t entry = 0, Int_t getall = 0);
Int_t GetEvent(Long64_t entry = 0, Int_t getall = 0) { return GetEntry(entry, getall); }
virtual Int_t GetEntryWithIndex(Int_t major, Int_t minor = 0);
virtual Long64_t GetEntryNumberWithBestIndex(Int_t major, Int_t minor = 0) const;
virtual Long64_t GetEntryNumberWithIndex(Int_t major, Int_t minor = 0) const;
virtual Long64_t GetEntryNumberWithBestIndex(Long64_t major, Long64_t minor = 0) const;
virtual Long64_t GetEntryNumberWithIndex(Long64_t major, Long64_t minor = 0) const;
TEventList *GetEventList() const { return fEventList; }
virtual TEntryList *GetEntryList();
virtual Long64_t GetEntryNumber(Long64_t entry) const;
Expand Down
4 changes: 2 additions & 2 deletions tree/tree/src/TTree.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4969,7 +4969,7 @@ Long64_t TTree::GetEntryNumber(Long64_t entry) const
}

//______________________________________________________________________________
Long64_t TTree::GetEntryNumberWithBestIndex(Int_t major, Int_t minor) const
Long64_t TTree::GetEntryNumberWithBestIndex(Long64_t major, Long64_t minor) const
{
// Return entry number corresponding to major and minor number.
// Note that this function returns only the entry number, not the data
Expand All @@ -4993,7 +4993,7 @@ Long64_t TTree::GetEntryNumberWithBestIndex(Int_t major, Int_t minor) const
}

//______________________________________________________________________________
Long64_t TTree::GetEntryNumberWithIndex(Int_t major, Int_t minor) const
Long64_t TTree::GetEntryNumberWithIndex(Long64_t major, Long64_t minor) const
{
// Return entry number corresponding to major and minor number.
// Note that this function returns only the entry number, not the data
Expand Down