ATLAS Offline Software
Functions | Variables
ChangeHistoRange Namespace Reference

Functions

def GetKeyNames (self, dir="")
 

Variables

 inFile = TFile.Open(sys.argv[1],"READ")
 
 outFile = TFile.Open(sys.argv[2],"RECREATE")
 
 histName = sys.argv[3]
 
 axis = sys.argv[4]
 
 lowBound = float(sys.argv[5])
 
 highBound = float(sys.argv[6])
 
 changeLow = not (fabs(lowBound+999) < 1.e-4)
 
 changeHigh = not (fabs(highBound+999) < 1.e-4)
 
 hist = inFile.Get(aHist)
 
list binsX = []
 
list binsY = []
 
list binsZ = []
 
 refBins = None
 
list newBins = []
 
list binPairs = []
 
 newHist = None
 

Function Documentation

◆ GetKeyNames()

def ChangeHistoRange.GetKeyNames (   self,
  dir = "" 
)

Definition at line 9 of file ChangeHistoRange.py.

9 def GetKeyNames(self,dir=""):
10  self.cd(dir)
11  return [key.GetName() for key in gDirectory.GetListOfKeys()]
12 TFile.GetKeyNames = GetKeyNames
13 

Variable Documentation

◆ axis

ChangeHistoRange.axis = sys.argv[4]

Definition at line 28 of file ChangeHistoRange.py.

◆ binPairs

list ChangeHistoRange.binPairs = []

Definition at line 113 of file ChangeHistoRange.py.

◆ binsX

list ChangeHistoRange.binsX = []

Definition at line 56 of file ChangeHistoRange.py.

◆ binsY

list ChangeHistoRange.binsY = []

Definition at line 59 of file ChangeHistoRange.py.

◆ binsZ

list ChangeHistoRange.binsZ = []

Definition at line 63 of file ChangeHistoRange.py.

◆ changeHigh

ChangeHistoRange.changeHigh = not (fabs(highBound+999) < 1.e-4)

Definition at line 32 of file ChangeHistoRange.py.

◆ changeLow

ChangeHistoRange.changeLow = not (fabs(lowBound+999) < 1.e-4)

Definition at line 31 of file ChangeHistoRange.py.

◆ highBound

ChangeHistoRange.highBound = float(sys.argv[6])

Definition at line 30 of file ChangeHistoRange.py.

◆ hist

ChangeHistoRange.hist = inFile.Get(aHist)

Definition at line 50 of file ChangeHistoRange.py.

◆ histName

ChangeHistoRange.histName = sys.argv[3]

Definition at line 27 of file ChangeHistoRange.py.

◆ inFile

ChangeHistoRange.inFile = TFile.Open(sys.argv[1],"READ")

Definition at line 25 of file ChangeHistoRange.py.

◆ lowBound

ChangeHistoRange.lowBound = float(sys.argv[5])

Definition at line 29 of file ChangeHistoRange.py.

◆ newBins

list ChangeHistoRange.newBins = []

Definition at line 89 of file ChangeHistoRange.py.

◆ newHist

ChangeHistoRange.newHist = None

Definition at line 135 of file ChangeHistoRange.py.

◆ outFile

ChangeHistoRange.outFile = TFile.Open(sys.argv[2],"RECREATE")

Definition at line 26 of file ChangeHistoRange.py.

◆ refBins

list ChangeHistoRange.refBins = None

Definition at line 69 of file ChangeHistoRange.py.

ChangeHistoRange.GetKeyNames
def GetKeyNames(self, dir="")
Definition: ChangeHistoRange.py:9