ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetUncertainties
testingMacros
InputScripts
January2018_specialStatTerms
CopyJERHists.py
Go to the documentation of this file.
1
from
ROOT
import
*
2
from
array
import
array
3
import
sys
4
import
os
5
import
glob
6
import
re
7
import
math
8
9
from
ParseCurrentFile
import
ReadCurrentHistograms
10
11
def
ReadJERHistograms
(fileToRead) :
12
13
print
"Beginning readJERHistograms"
14
15
# Now read the histograms
16
print
"Reading JER hists from input..."
17
# For now, everything except flavour and cross calibration inputs
18
# are read in from the final 2012 calibration files.
19
# Input file and jet types
20
theCurrentHistos = ReadCurrentHistograms(fileToRead)
21
22
for
jettype
in
theCurrentHistos.keys() :
23
for
systname
in
theCurrentHistos[jettype].keys() :
24
if
not
systname.startswith(
"JER_"
) :
25
del theCurrentHistos[jettype][systname]
26
27
return
theCurrentHistos
CopyJERHists.ReadJERHistograms
ReadJERHistograms(fileToRead)
Definition
CopyJERHists.py:11
Generated on
for ATLAS Offline Software by
1.17.0