TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
Public Member Functions | Protected Attributes | List of all members
JMEpaths Class Reference

C++ class. Parent class to handle shared attributes and methods among JESpaths and JERpaths. More...

Inheritance diagram for JMEpaths:
Inheritance graph
[legend]
Collaboration diagram for JMEpaths:
Collaboration graph
[legend]

Public Member Functions

str _GetPath (str tarfile, str jmefile)
 Extract jmefile from tarfile into a temporary directory and return the path to that directory. More...
 
str _GetTxtFileStr (str tarfile, str jmefile)
 Extract jmefile from tarfile into a string which is returned. More...
 
 JMEpaths ()
 Construct a new JMEpaths object.
 

Protected Attributes

const str _jmeArchivePath
 Full path to the tarball archives being accessed.
 
TempDir _tempdir
 Temporary directory object which makes and deletes a staging area for the extracted JME text files.
 
const str _timberPath
 Full path to TIMBER's home.
 

Detailed Description

C++ class. Parent class to handle shared attributes and methods among JESpaths and JERpaths.

Member Function Documentation

◆ _GetPath()

str _GetPath ( str  tarfile,
str  jmefile 
)

Extract jmefile from tarfile into a temporary directory and return the path to that directory.

Parameters
tarfileJME tarball file path.
jmefileJME file name inside the tarball.
Returns
str Path to the temporary location of the extracted file.

◆ _GetTxtFileStr()

str _GetTxtFileStr ( str  tarfile,
str  jmefile 
)

Extract jmefile from tarfile into a string which is returned.

Parameters
tarfileJME tarball file path.
jmefileJME file name inside the tarball.
Returns
str Path to the temporary location of the extracted file.

The documentation for this class was generated from the following files: