14 Int_t an = alist->GetN();
16 Long64_t *alst = alist->GetList();
18 fList =
new Long64_t[an];
19 for (i=0;i<an;i++)
fList[i] = alst[i];
24 Int_t newsize =
fN + an;
25 Long64_t *newlist =
new Long64_t[newsize];
29 while (alpos < an &&
fList[i] > alst[alpos]) {
30 newlist[newpos] = alst[alpos];
34 if (alpos < an &&
fList[i] == alst[alpos]) alpos++;
35 newlist[newpos] =
fList[
i];
39 newlist[newpos] = alst[alpos];
48 TCut orig = GetTitle();
49 TCut added = alist->GetTitle();
50 TCut updated = orig || added;
51 SetTitle(updated.GetTitle());
60 fList =
new Long64_t[fSize];
68 Resize(newsize-fSize);
74 Int_t pos = TMath::BinarySearch(
fN,
fList, entry);
75 if(pos>=0 && entry==
fList[pos])
virtual void Enter(Long64_t entry)
virtual void Add(const TEventList *list)