Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ReadSpeedCLI.cxx File Reference
#include "ReadSpeedCLI.hxx"
#include <ROOT/TTreeProcessorMT.hxx>
#include <iostream>
#include <cstring>
Include dependency graph for ReadSpeedCLI.cxx:

Variables

const auto argUsageText
 
const auto fullUsageText
 
const auto usageText
 

Variable Documentation

◆ argUsageText

const auto argUsageText
Initial value:
=
"Arguments:\n"
" Specifying files and trees:\n"
" --files fname1 [fname2...]\n"
" The list of ROOT files to read from.\n"
"\n"
" --trees tname1 [tname2...]\n"
" The list of TTrees to read from the files.\n"
" If only one TTree is provided then it will be used for all files.\n"
" If multiple TTrees are specified, each TTree is read from the respective file.\n"
"\n"
" Specifying branches:\n"
" Branches can be specified using one of the following flags. Currently only one can be used at a time.\n"
"\n"
" --all-branches\n"
" Reads every branch from the specified files and TTrees.\n"
" --branches bname1 [bname2...]\n"
" Reads the branches with matching names. Will error if any of the branches are not found.\n"
" --branches-regex bregex1 [bregex2 ...]\n"
" Reads any branches with a name matching the provided regex. Will error if any provided regex does not match "
"at least one branch.\n"
"\n"
" Meta arguments:\n"
" --threads nthreads\n"
" The number of threads to use for file reading. Will automatically cap to the number of available threads on "
"the machine.\n"
" --tasks-per-worker ntasks\n"
" The number of tasks to generate for each worker thread when using multithreading."

Definition at line 33 of file ReadSpeedCLI.cxx.

◆ fullUsageText

const auto fullUsageText

Definition at line 62 of file ReadSpeedCLI.cxx.

◆ usageText

const auto usageText
Initial value:
= "Usage:\n"
" rootreadspeed --files fname1 [fname2 ...]\n"
" --trees tname1 [tname2 ...]\n"
" (--all-branches | --branches bname1 [bname2 ...] | --branches-regex bregex1 "
"[bregex2 ...])\n"
" [--threads nthreads]\n"
" [--tasks-per-worker ntasks]\n"
" rootreadspeed (--help|-h)\n"
" \n"
" Use -h for usage help, --help for detailed information.\n"

Definition at line 22 of file ReadSpeedCLI.cxx.