ATLAS Offline Software
Functions
CopyJERHists Namespace Reference

Functions

def ReadJERHistograms (fileToRead)
 

Function Documentation

◆ ReadJERHistograms()

def CopyJERHists.ReadJERHistograms (   fileToRead)

Definition at line 11 of file CopyJERHists.py.

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
ParseCurrentFile.ReadCurrentHistograms
def ReadCurrentHistograms(aSystFile, newjetsdict=[])
Definition: ICHEP2016/ParseCurrentFile.py:15
CopyJERHists.ReadJERHistograms
def ReadJERHistograms(fileToRead)
Definition: CopyJERHists.py:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798