The Gaudi Framework  v36r1 (3e2fb5a8)
GaudiHive.precedence Namespace Reference

Classes

class  CruncherSequence
 
class  RealTimeValue
 
class  RndBiasedBooleanValue
 
class  UniformBooleanValue
 
class  UniformTimeValue
 

Functions

def _buildFilePath (filePath)
 

Variables

 message
 
 category
 

Function Documentation

◆ _buildFilePath()

def GaudiHive.precedence._buildFilePath (   filePath)
private

Definition at line 29 of file precedence.py.

29 def _buildFilePath(filePath):
30 
31  if not os.path.exists(filePath):
32  __fullFilePath__ = os.path.realpath(
33  os.path.join(
34  os.environ.get('ENV_CMAKE_SOURCE_DIR', ''), "GaudiHive",
35  "data", filePath))
36  if not os.path.exists(__fullFilePath__):
37  __fullFilePath__ = os.path.realpath(
38  os.path.join(
39  os.environ.get('ENV_CMAKE_SOURCE_DIR', ''), "Gaudi",
40  "GaudiHive", "data", filePath))
41  if not os.path.exists(__fullFilePath__):
42  print("\nERROR: invalid file path '%s'. "
43  "It must be either absolute, or relative to "
44  "'$ENV_CMAKE_SOURCE_DIR/GaudiHive/data/' or to "
45  "'$ENV_CMAKE_SOURCE_DIR/Gaudi/GaudiHive/data/'." %
46  filePath)
47  sys.exit(1)
48  else:
49  __fullFilePath__ = filePath
50 
51  return __fullFilePath__
52 
53 

Variable Documentation

◆ category

GaudiHive.precedence.category

Definition at line 21 of file precedence.py.

◆ message

GaudiHive.precedence.message

Definition at line 21 of file precedence.py.

GaudiHive.precedence._buildFilePath
def _buildFilePath(filePath)
Definition: precedence.py:29