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];
65 if (
fN>0 && entry==fList[
fN-1])
return;
68 Resize(newsize-fSize);
70 if(
fN==0 || entry>fList[
fN-1]) {
74 Int_t
pos = TMath::BinarySearch(
fN, fList, entry);
75 if(pos>=0 && entry==fList[pos])
78 memmove( &(fList[pos+1]), &(fList[pos]), 8*(
fN-pos));
void Enter(Long64_t entry) override
void Add(const TEventList *list) override