ATLAS Offline Software
DataQuality
DataQualityUtils
scripts
DQHistogramMergeRegExp.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4
5
import
DataQualityUtils.DQHistogramMergeMod
as
mod
6
import
sys, os
7
8
9
os.environ[
'TDAQ_ERS_NO_SIGNAL_HANDLERS'
] =
'1'
10
11
def
usage
():
12
cmd = sys.argv[0].
split
(
"/"
)[-1]
13
print
(
"Usage: "
, cmd,
"<input_list_file_name> <merged_file_name> [directory_regexp] [histogram_regexp] [run_post_processing [is_incremental_merge]]"
)
14
print
(
"If you don't give any regular expressions, this script will act like DQHistogramMerge.py <infilelist> <outfile> False"
)
15
16
17
18
if
__name__ ==
"__main__"
:
19
argc = len(sys.argv)
20
21
if
argc < 3
or
argc > 7:
22
usage
()
23
sys.exit(0)
24
25
dirRegex =
".*"
26
if
argc >= 4:
27
dirRegex = sys.argv[3]
28
29
histRegex =
".*"
30
if
argc >= 5:
31
histRegex = sys.argv[4]
32
33
runPostProcessing =
False
34
if
argc >= 6:
35
runPostProcessing = sys.argv[5]
in
[
"True"
,
"1"
]
36
37
isIncremental =
False
38
if
argc >= 7:
39
isIncremental = sys.argv[6]
in
[
"True"
,
"1"
]
40
41
mod.DQHistogramMerge(sys.argv[1], sys.argv[2], runPostProcessing, dirRegex, histRegex, isIncremental=isIncremental)
DQHistogramMergeRegExp.usage
def usage()
Get usable signal handlers.
Definition:
DQHistogramMergeRegExp.py:11
print
void print(char *figname, TCanvas *c1)
Definition:
TRTCalib_StrawStatusPlots.cxx:25
Trk::split
@ split
Definition:
LayerMaterialProperties.h:38
Generated on Sun Aug 31 2025 21:09:07 for ATLAS Offline Software by
1.8.18