#include <FWTEventList.h>
Definition at line 12 of file FWTEventList.h.
FWTEventList::FWTEventList |
( |
| ) |
|
|
inline |
FWTEventList::FWTEventList |
( |
const char * |
name, |
|
|
const char * |
title = "" , |
|
|
Int_t |
initsize = 0 , |
|
|
Int_t |
delta = 0 |
|
) |
| |
|
inline |
virtual FWTEventList::~FWTEventList |
( |
| ) |
|
|
inlinevirtual |
void FWTEventList::Add |
( |
const TEventList * |
list | ) |
|
|
virtual |
Definition at line 7 of file FWTEventList.cc.
References fileCollector2::fList, and i.
Referenced by FWFileEntry::updateFilters().
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());
void FWTEventList::Enter |
( |
Long64_t |
entry | ) |
|
|
virtual |