![]() |
ATLAS Offline Software
|
Classes | |
| class | ShutUp |
Functions | |
| MakexAODDataFrame (inputs) | |
| separateSources (filenames) | |
| Separate the source and header files based on their names. | |
| dictionaryHeaders (filenames) | |
| Find the headers needed for dictionary generation. | |
| dictionaryClasses (filenames) | |
| Function collecting the class names to create a dictionary for. | |
| writeLinkDefFile (filename, classnames, headers=[]) | |
| Function writing a LinkDef file. | |
| makeRootCorePackageSkeleton (directory, name) | |
| Create the directory structure for a RootCore package. | |
| makeSFramePackageSkeleton (directory, name) | |
| Create an SFrame package skeleton. | |
| ROOTSetup (batch=False) | |
| release_metadata () | |
| str | get_release_setup (Logger logger, no_setup=False) |
| None | list_changed_packages (Logger logger, no_setup=False) |
| List[str] | warnings_count (Path file_name) |
| python.Helpers.dictionaryClasses | ( | filenames | ) |
Function collecting the class names to create a dictionary for.
This function can parse all headers of the generated sources to collect the class names for which a CINT dictionary should be generated.
| filenames | Header file names (as returned by dictionaryHeaders(...)) |
Definition at line 80 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.
| python.Helpers.dictionaryHeaders | ( | filenames | ) |
Find the headers needed for dictionary generation.
This function can be used to find the headers from the specified file names that should be given to rootcint for dictionary generation.
| filenames | A list of file names |
Definition at line 48 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.
| str python.Helpers.get_release_setup | ( | Logger | logger, |
| no_setup = False ) |
Get release setup.
Definition at line 9 of file Tools/WorkflowTestRunner/python/Helpers.py.
List packages that have changed.
Definition at line 41 of file Tools/WorkflowTestRunner/python/Helpers.py.
| python.Helpers.makeRootCorePackageSkeleton | ( | directory, | |
| name ) |
Create the directory structure for a RootCore package.
This function can be used to create the directory structure for a RootCore package.
| directory | The directory where the package is to be created |
| name | The name for the RootCore package |
0 in case of success, something else in case of failure Definition at line 279 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.
| python.Helpers.makeSFramePackageSkeleton | ( | directory, | |
| name ) |
Create an SFrame package skeleton.
This function can be used to create the directory structure for an SFrame package. It does as similar job as SFrame's sframe_new_package.sh script.
| directory | The directory where the package is to be created |
| name | The name for the SFrame package |
0 in case of success, something else in case of failure Definition at line 345 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.
| python.Helpers.MakexAODDataFrame | ( | inputs | ) |
Helper function creating a ROOT::RDataFrame object reading xAOD files
The function returns an instance of ROOT::RDataFrame that uses
xAOD::RDataSource for reading its inputs.
Keyword arguments:
inputs -- A single string, or a list of string selecting the input file(s)
Note that the string(s) may contain wildcards and environment
variables as well.
Definition at line 6 of file Control/xAODDataSource/python/Helpers.py.
| python.Helpers.release_metadata | ( | ) |
Returns information about the current release based on ReleaseData
Definition at line 129 of file Tools/PyUtils/python/Helpers.py.
| python.Helpers.ROOTSetup | ( | batch = False | ) |
At this point this function just makes sure the ROOT batch mode is set correctly when someone imports ROOT
Definition at line 18 of file Tools/PyUtils/python/Helpers.py.
| python.Helpers.separateSources | ( | filenames | ) |
Separate the source and header files based on their names.
This function can be used to separate a list of file names into header and source files just based on their names.
| filename | A simple list of the names of all the files |
Definition at line 17 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.
| List[str] python.Helpers.warnings_count | ( | Path | file_name | ) |
Run a WARNING helper function.
Definition at line 69 of file Tools/WorkflowTestRunner/python/Helpers.py.
| python.Helpers.writeLinkDefFile | ( | filename, | |
| classnames, | |||
| headers = [] ) |
Function writing a LinkDef file.
This function can be used to generate a LinkDef file based on the class names for which a dictionary needs to be generated.
| filename | The name of the output LinkDef file |
| classname | A list of the class names to generate a dictionary for |
| headers | Header file names that are to be included |
0 in case of success, something else in case of failure Definition at line 172 of file PhysicsAnalysis/D3PDMaker/D3PDMakerReader/python/Helpers.py.