SFrame 3.6
SFrameHelpers Namespace Reference

: SFrame - ROOT-based analysis framework for ATLAS # # More...

Functions

def CreateInput
 Function creating <In ...
def CreateDataInput
 Function creating <In ...

Detailed Description

: SFrame - ROOT-based analysis framework for ATLAS # #

Author:
Stefan Ask <Stefan.Ask@cern.ch> - Manchester #
David Berge <David.Berge@cern.ch> - CERN #
Johannes Haller <Johannes.Haller@cern.ch> - Hamburg #
A. Krasznahorkay <Attila.Krasznahorkay@cern.ch> - CERN/Debrecen # # Collection of SFrame related python functions

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.


Function Documentation

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".)

Parameters:
filesList of input files
outputName of the output file
treeName of the main TTree in the files
prefixPrefix 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.

Parameters:
crossSectionCross section of the Monte Carlo
filesList of input files
outputName of the output file
treeName of the main TTree in the files
prefixPrefix to be put before the file paths. E.g. root://mymachine/

Definition at line 44 of file SFrameHelpers.py.