Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Reconstruction
Jet
JetValidation
scripts
runJetValidation.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
4
from
glob
import
glob
5
6
def
GetCustomAthArgs
():
7
from
argparse
import
ArgumentParser
8
parser = ArgumentParser(description=
'Parser for JetTagDQA configuration'
)
9
parser.add_argument(
"--filesInput"
, required=
True
)
10
parser.add_argument(
"--outputFile"
, help=
'Name of output file'
,default=
"M_output.root"
)
11
return
parser.parse_args()
12
13
# Parse the arguments
14
MyArgs =
GetCustomAthArgs
()
15
16
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
17
flags =
initConfigFlags
()
18
flags.Input.Files = []
19
for
path
in
MyArgs.filesInput.split(
','
):
20
flags.Input.Files += glob(path)
21
flags.PhysVal.OutputFileName = MyArgs.outputFile
22
23
flags.lock()
24
25
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
26
acc =
MainServicesCfg
(flags)
27
from
AthenaPoolCnvSvc.PoolReadConfig
import
PoolReadCfg
28
acc.merge(
PoolReadCfg
(flags))
29
30
from
JetValidation.JetValidationConfig
import
PhysValJetCfg
31
from
PhysValMonitoring.PhysValMonitoringConfig
import
PhysValMonitoringCfg
32
acc.merge(
PhysValMonitoringCfg
(flags, tools=[acc.popToolsAndMerge(
PhysValJetCfg
(flags))]))
33
34
acc.printConfig(withDetails=
True
)
35
36
# Execute and finish
37
sc = acc.run(maxEvents=-1)
38
39
# Success should be 0
40
import
sys
41
sys.exit(
not
sc.isSuccess())
PhysValMonitoringConfig.PhysValMonitoringCfg
def PhysValMonitoringCfg(flags, name="PhysValMonManager", tools=None, **kwargs)
Definition:
PhysValMonitoringConfig.py:81
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition:
MainServicesConfig.py:260
python.JetValidationConfig.PhysValJetCfg
def PhysValJetCfg(flags, **kwargs)
Definition:
JetValidationConfig.py:9
runJetValidation.GetCustomAthArgs
def GetCustomAthArgs()
Definition:
runJetValidation.py:6
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
python.PoolReadConfig.PoolReadCfg
def PoolReadCfg(flags)
Definition:
PoolReadConfig.py:69
Generated on Tue Apr 1 2025 21:17:58 for ATLAS Offline Software by
1.8.18