SFrame 3.6
|
: SFrame - ROOT-based analysis framework for ATLAS # # More...
Functions | |
def | CreateInput |
Function creating <In ... | |
def | CreateDataInput |
Function creating <In ... |
: SFrame - ROOT-based analysis framework for ATLAS # #
This package is a collection of python functions useful for SFrame. They can either be used from an interactive python session by executing
>>> import SFrameHelpers
or using the script(s) shipped with SFrame.
def SFrameHelpers::CreateDataInput | ( | files, | |
output, | |||
tree, | |||
prefix, | |||
real_filenames | |||
) |
Function creating <In ...
/> configuration nodes
The function checks the specified input files and writes the XML nodes with their information to the specified output file. It assumes that the input files are data files, so it just puts a dummy "1.0" as the luminosity for them. (The luminosities are disregarded in the event weight calculation when the InputData type is set to "data".)
files | List of input files |
output | Name of the output file |
tree | Name of the main TTree in the files |
prefix | Prefix to be put before the file paths. E.g. root://mymachine/ |
Definition at line 131 of file SFrameHelpers.py.
def SFrameHelpers::CreateInput | ( | crossSection, | |
files, | |||
output, | |||
tree, | |||
prefix, | |||
real_filenames | |||
) |
Function creating <In ...
/> configuration nodes
The function checks the specified input files and writes the XML nodes with their information to the specified output file. Their luminosity is calculated using the specified cross section.
crossSection | Cross section of the Monte Carlo |
files | List of input files |
output | Name of the output file |
tree | Name of the main TTree in the files |
prefix | Prefix to be put before the file paths. E.g. root://mymachine/ |
Definition at line 44 of file SFrameHelpers.py.