#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 |
FWTEventList::~FWTEventList |
( |
| ) |
|
|
inlineoverride |
void FWTEventList::Add |
( |
const TEventList * |
list | ) |
|
|
override |
Definition at line 7 of file FWTEventList.cc.
References fileCollector2::fList, hcaldqm::quantity::fN, and mps_fire::i.
Referenced by FWFileEntry::updateFilters(), and ~FWTEventList().
13 Int_t an = alist->GetN();
16 Long64_t *alst = alist->GetList();
18 fList =
new Long64_t[an];
19 for (i = 0; i < an; i++)
25 Int_t newsize =
fN + an;
26 Long64_t *newlist =
new Long64_t[newsize];
29 for (i = 0; i <
fN; i++) {
30 while (alpos < an &&
fList[i] > alst[alpos]) {
31 newlist[newpos] = alst[alpos];
35 if (alpos < an &&
fList[i] == alst[alpos])
37 newlist[newpos] =
fList[
i];
41 newlist[newpos] = alst[alpos];
50 TCut orig = GetTitle();
51 TCut added = alist->GetTitle();
52 TCut updated = orig || added;
53 SetTitle(updated.GetTitle());
void FWTEventList::Enter |
( |
Long64_t |
entry | ) |
|
|
override |