20 const char *fh1[] = {
"http://root.cern.ch/files/h1/dstarmb.root",
21 "http://root.cern.ch/files/h1/dstarp1a.root",
22 "http://root.cern.ch/files/h1/dstarp1b.root",
23 "http://root.cern.ch/files/h1/dstarp2.root"};
25 int mp103_processSelector(){
31 selectorPath +=
"/tree/h1analysis.C+";
32 std::cout <<
"selector used is: "<< selectorPath<<
"\n";
41 #if defined(__reproduce_davix) 49 #if defined(__reproduce_davix) 51 out = pool.Process(*tree, *sel);;
57 out = pool.Process(fh1[0], *sel,
"h42");
63 std::vector<std::string> files;
64 for (
int i = 0; i < 4; i++) {
65 files.push_back(fh1[i]);
72 out = pool.Process(files, *sel,
"h42");
76 out = pool.Process(fc, *sel);
80 out = pool.Process(ch, *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)
This class provides an interface to process a TTree dataset in parallel with multi-process technology...
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 chain is a collection of files containing TTree objects.
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
virtual Int_t Add(TChain *chain)
Add all files referenced by the passed chain to this chain.