16 std::string_view treeName,
bool verboseOutput,
19 auto source = std::make_unique<RDataSource>(fileNameGlob, treeName);
20 source->setVerboseOutput(verboseOutput);
21 source->setAuxMode(auxmode);
22 return ROOT::RDataFrame(std::move(source));
25ROOT::RDataFrame
MakeDataFrame(
const std::vector<std::string>& fileNames,
26 std::string_view treeName,
bool verboseOutput,
29 auto source = std::make_unique<RDataSource>(fileNames, treeName);
30 source->setVerboseOutput(verboseOutput);
31 source->setAuxMode(auxmode);
32 return ROOT::RDataFrame(std::move(source));
ROOT::RDataFrame MakeDataFrame(std::string_view fileNameGlob, std::string_view treeName, bool verboseOutput, TEvent::EAuxMode auxmode)
Helper function for creating an xAOD reading data frame.