ATLAS Offline Software
Loading...
Searching...
No Matches
treeCopyOpts.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TREE_COPY_OPTS_HH
6#define TREE_COPY_OPTS_HH
7
8#include <string>
9#include <vector>
10
11#include "TTreeFormula.h"
12
13namespace H5Utils {
14
15 const size_t CHUNK_SIZE = 128;
16
18 {
19 std::string branch_regex;
20 std::vector<size_t> vector_lengths;
21 size_t chunk_size;
22 size_t n_entries;
23 bool verbose;
25 std::string selection;
26 };
27
28 struct IOOpts
29 {
30 std::vector<std::string> in;
31 std::string out;
32 std::string tree;
33 };
34
41
42 AppOpts getTreeCopyOpts(int argc, char* argv[]);
43
44}
45
46#endif
HDF5 Tuple Writer.
Definition common.h:20
AppOpts getTreeCopyOpts(int argc, char *argv[])
const size_t CHUNK_SIZE
TreeCopyOpts tree
std::string tree
std::vector< std::string > in
std::string out
std::string branch_regex
std::vector< size_t > vector_lengths