19 const char *fh1[] = {
"http://root.cern.ch/files/h1/dstarmb.root",
20 "http://root.cern.ch/files/h1/dstarp1a.root",
21 "http://root.cern.ch/files/h1/dstarp1b.root",
22 "http://root.cern.ch/files/h1/dstarp2.root"};
24 int mp103_processSelector(){
30 selectorPath +=
"/tree/h1analysis.C+";
31 std::cout <<
"selector used is: "<< selectorPath<<
"\n";
40 #if defined(__reproduce_davix) 48 #if defined(__reproduce_davix) 50 out = pool.ProcTree(*tree, *sel);;
56 out = pool.ProcTree(fh1[0], *sel,
"h1");
61 std::vector<std::string> files;
62 for (
int i = 0; i < 4; i++) {
63 files.push_back(fh1[i]);
69 out = pool.ProcTree(files, *sel,
"h1");
73 out = pool.ProcTree(fc, *sel);
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=1, Int_t netopt=0)
Create / open a file.
static struct mg_connection * fc(struct mg_context *ctx)
Int_t Add(TFileInfo *info)
Add TFileInfo to the collection.
static TSelector * GetSelector(const char *filename)
The code in filename is loaded (interpreted or compiled, see below), filename must contain a valid cl...
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
A TTree object has a header with a name and a title.
Class describing a generic file including meta information.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
virtual TList * GetOutputList() const