ATLAS Offline Software
Functions
mergeIDPVM Namespace Reference
Functions
def
getArgs
()
def
main
()
Function Documentation
◆
getArgs()
def mergeIDPVM.getArgs
(
)
Definition at line
8
of file
mergeIDPVM.py
.
8
def
getArgs
():
9
args= argparse.ArgumentParser()
10
args.add_argument(
'--filesInput'
, required=
True
)
11
args.add_argument(
'--outputFile'
, required=
True
)
12
return
args.parse_args()
13
14
◆
main()
def mergeIDPVM.main
(
)
Definition at line
15
of file
mergeIDPVM.py
.
15
def
main
():
16
args =
getArgs
()
17
18
inputs = []
19
for
path
in
args.filesInput.split(
','
):
20
inputs += glob.glob(path)
21
22
23
cmd_1 = [
'hadd'
, args.outputFile] + inputs
24
print
(f
"Running: {' '.join(cmd_1)}"
)
25
subprocess.run(cmd_1, check=
True
)
26
27
cmd_2 = [
'postProcessIDPVMHistos'
, args.outputFile]
28
print
(f
"Running: {' '.join(cmd_2)}"
)
29
subprocess.run(cmd_2, check=
True
)
30
31
print
void print(char *figname, TCanvas *c1)
Definition:
TRTCalib_StrawStatusPlots.cxx:25
getArgs
Args getArgs(int nargs, char *argv[])
Definition:
test_lwtnn_fastgraph.cxx:16
mergeIDPVM.main
def main()
Definition:
mergeIDPVM.py:15
Generated on Sun Dec 22 2024 22:02:54 for ATLAS Offline Software by
1.8.18