ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
HDF5Utils
util
treeCopyOpts.h
Go to the documentation of this file.
1
/*
2
Copyright (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
13
namespace
H5Utils
{
14
15
const
size_t
CHUNK_SIZE
= 128;
16
17
struct
TreeCopyOpts
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
;
24
int
print_interval
;
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
35
struct
AppOpts
36
{
37
TreeCopyOpts
tree
;
38
IOOpts
file
;
39
int
exit_code
{0};
40
};
41
42
AppOpts
getTreeCopyOpts
(
int
argc
,
char
*
argv
[]);
43
44
}
45
46
#endif
H5Utils::TreeCopyOpts
Definition:
treeCopyOpts.h:18
H5Utils::CHUNK_SIZE
const size_t CHUNK_SIZE
Definition:
treeCopyOpts.h:15
H5Utils::getTreeCopyOpts
AppOpts getTreeCopyOpts(int argc, char *argv[])
Definition:
treeCopyOpts.cxx:12
H5Utils::AppOpts
Definition:
treeCopyOpts.h:36
H5Utils::AppOpts::tree
TreeCopyOpts tree
Definition:
treeCopyOpts.h:37
H5Utils::IOOpts
Definition:
treeCopyOpts.h:29
H5Utils::TreeCopyOpts::chunk_size
size_t chunk_size
Definition:
treeCopyOpts.h:21
H5Utils::TreeCopyOpts::selection
std::string selection
Definition:
treeCopyOpts.h:25
H5Utils::AppOpts::file
IOOpts file
Definition:
treeCopyOpts.h:38
H5Utils::TreeCopyOpts::n_entries
size_t n_entries
Definition:
treeCopyOpts.h:22
H5Utils::IOOpts::in
std::vector< std::string > in
Definition:
treeCopyOpts.h:30
LArCellNtuple.argv
argv
Definition:
LArCellNtuple.py:152
H5Utils::TreeCopyOpts::verbose
bool verbose
Definition:
treeCopyOpts.h:23
DQHistogramMergeRegExp.argc
argc
Definition:
DQHistogramMergeRegExp.py:20
H5Utils
HDF5 Tuple Writer.
Definition:
common.h:20
H5Utils::AppOpts::exit_code
int exit_code
Definition:
treeCopyOpts.h:39
H5Utils::TreeCopyOpts::branch_regex
std::string branch_regex
Definition:
treeCopyOpts.h:19
H5Utils::IOOpts::out
std::string out
Definition:
treeCopyOpts.h:31
H5Utils::IOOpts::tree
std::string tree
Definition:
treeCopyOpts.h:32
H5Utils::TreeCopyOpts::vector_lengths
std::vector< size_t > vector_lengths
Definition:
treeCopyOpts.h:20
H5Utils::TreeCopyOpts::print_interval
int print_interval
Definition:
treeCopyOpts.h:24
Generated on Thu Nov 7 2024 21:29:19 for ATLAS Offline Software by
1.8.18