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
PhysicsAnalysis
AnalysisCommon
PileupReweighting
scripts
Namespaces
|
Functions
|
Variables
PURW_create_mc_default_profile.py File Reference
Go to the source code of this file.
Namespaces
PURW_create_mc_default_profile
Functions
def
PURW_create_mc_default_profile.include
(s)
Variables
PURW_create_mc_default_profile.parser
= argparse.ArgumentParser(
description
='Create
a
default config
file
for
a
specific mu profile
file
')
PURW_create_mc_default_profile.type
PURW_create_mc_default_profile.help
PURW_create_mc_default_profile.default
PURW_create_mc_default_profile.int
PURW_create_mc_default_profile.str
PURW_create_mc_default_profile.args
= parser.parse_args()
bool
PURW_create_mc_default_profile.RunDMC_testing_configuration
=
True
PURW_create_mc_default_profile.tool
= ROOT.CP.TPileupReweighting("tool")
PURW_create_mc_default_profile.f
= ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE")
PURW_create_mc_default_profile.t
= ROOT.TTree("LumiMetaData","LumiMetaData")
PURW_create_mc_default_profile.RunNbr
= array('
I
',[args.lcRunNum])
PURW_create_mc_default_profile.AvergeInteractionPerXing
= array('f',[0.])
PURW_create_mc_default_profile.IntLumi
= array('f',[0.])
PURW_create_mc_default_profile.LBStart
= array('
I
',[0])
PURW_create_mc_default_profile.testTool
= ROOT.ToolHandle['
CP::IPileupReweightingTool
']("CP::PileupReweightingTool/tool")
PURW_create_mc_default_profile.weight
= testTool.expert().GetCombinedWeight(d['
run
'],45,d['mu'])
PURW_create_mc_default_profile.rrn
= testTool.expert().GetRandomRunNumber(d['
run
'],d['mu'])
Generated on Sun Mar 30 2025 21:25:16 for ATLAS Offline Software by
1.8.18