#include <memory>
const auto file0 = "http://root.cern/files/h1/dstarmb.root";
const std::vector<std::string> files = {file0,
"http://root.cern/files/h1/dstarp1a.root",
"http://root.cern/files/h1/dstarp1b.root",
"http://root.cern/files/h1/dstarp2.root"};
int mp103_processSelector()
{
selectorPath += "/tree/h1analysis.C+";
std::cout << "selector used is: " << selectorPath << "\n";
#if defined(__reproduce_davix)
auto tree = fp->Get<
TTree>(
"h42");
#endif
#if defined(__reproduce_davix)
out = pool.Process(*tree, *
sel);
sel->GetOutputList()->Delete();
#endif
out = pool.Process(file0, *
sel,
"h42");
sel->GetOutputList()->Delete();
for (auto &&file : files) {
}
out = pool.Process(files, *
sel,
"h42");
sel->GetOutputList()->Delete();
sel->GetOutputList()->Delete();
sel->GetOutputList()->Delete();
return 0;
}
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
This class provides an interface to process a TTree dataset in parallel with multi-process technology...
A chain is a collection of files containing TTree objects.
virtual Int_t Add(TChain *chain)
Add all files referenced by the passed chain to this chain.
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
Int_t Add(TFileInfo *info)
Add TFileInfo to the collection.
Class describing a generic file including meta information.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
static TSelector * GetSelector(const char *filename)
The code in filename is loaded (interpreted or compiled, see below), filename must contain a valid cl...
A TTree represents a columnar dataset.