Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
conftest Namespace Reference

Classes

class  RootHashAssertionError
 

Functions

def _parse_hash_file
 
def root_file_exp_hashes
 
def assert_root_hash
 
def pytest_terminal_summary
 
def kwargsConstructor
 
def configKwConstructor
 
def configPosConstructor
 
def conf_const
 
def rng
 
def basic_prop_seq
 
def trk_geo
 
def detector_config
 
def ptcl_gun
 
def fatras
 
def _do_material_recording
 
def material_recording_session
 
def material_recording
 

Variables

tuple errtype
 
 u acts.UnitConstants
 
list hash_assertion_failures []
 
tuple DetectorConfig
 

Function Documentation

def conftest._do_material_recording (   d)
private

Definition at line 367 of file conftest.py.

View newest version in sPHENIX GitHub at line 367 of file conftest.py

References acts.examples.odd.getOpenDataDetector(), common.getOpenDataDetectorDirectory(), ActsExamples.runMaterialRecording(), and str.

+ Here is the call graph for this function:

def conftest._parse_hash_file (   file)
private

Definition at line 72 of file conftest.py.

View newest version in sPHENIX GitHub at line 72 of file conftest.py

Referenced by root_file_exp_hashes().

+ Here is the caller graph for this function:

def conftest.basic_prop_seq (   rng)

Definition at line 200 of file conftest.py.

View newest version in sPHENIX GitHub at line 200 of file conftest.py

References acts.examples.ConcretePropagator(), and acts.Propagator().

Referenced by test_writer.test_obj_propagation_step_writer(), and test_writer.test_root_prop_step_writer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def conftest.configKwConstructor (   cls,
  args,
  kwargs 
)

Definition at line 166 of file conftest.py.

View newest version in sPHENIX GitHub at line 166 of file conftest.py

def conftest.configPosConstructor (   cls,
  args,
  kwargs 
)

Definition at line 177 of file conftest.py.

View newest version in sPHENIX GitHub at line 177 of file conftest.py

def conftest.detector_config (   request)

Definition at line 243 of file conftest.py.

View newest version in sPHENIX GitHub at line 243 of file conftest.py

References DetectorConfig, acts.examples.odd.getOpenDataDetector(), and common.getOpenDataDetectorDirectory().

+ Here is the call graph for this function:

def conftest.fatras (   ptcl_gun,
  trk_geo,
  rng 
)

Definition at line 323 of file conftest.py.

View newest version in sPHENIX GitHub at line 323 of file conftest.py

References ptcl_gun(), and str.

+ Here is the call graph for this function:

def conftest.kwargsConstructor (   cls,
  args,
  kwargs 
)

Definition at line 162 of file conftest.py.

View newest version in sPHENIX GitHub at line 162 of file conftest.py

def conftest.material_recording (   material_recording_session)

Definition at line 403 of file conftest.py.

View newest version in sPHENIX GitHub at line 403 of file conftest.py

def conftest.material_recording_session ( )

Definition at line 385 of file conftest.py.

View newest version in sPHENIX GitHub at line 385 of file conftest.py

def conftest.ptcl_gun (   rng)

Definition at line 292 of file conftest.py.

View newest version in sPHENIX GitHub at line 292 of file conftest.py

Referenced by fatras(), test_reader.test_csv_particle_reader(), test_writer.test_csv_particle_writer(), test_reader.test_edm4hep_particle_reader(), test_writer.test_edm4hep_particle_writer(), test_reader.test_root_particle_reader(), test_writer.test_root_particle_writer(), test_base.test_sequencer_multi_threaded(), and test_base.test_sequencer_single_threaded().

+ Here is the caller graph for this function:

def conftest.pytest_terminal_summary (   terminalreporter,
  exitstatus,
  config 
)

Definition at line 129 of file conftest.py.

View newest version in sPHENIX GitHub at line 129 of file conftest.py

def conftest.root_file_exp_hashes ( )

Definition at line 83 of file conftest.py.

View newest version in sPHENIX GitHub at line 83 of file conftest.py

References _parse_hash_file().

+ Here is the call graph for this function:

def conftest.trk_geo (   request)

Definition at line 224 of file conftest.py.

View newest version in sPHENIX GitHub at line 224 of file conftest.py

Variable Documentation

tuple conftest.DetectorConfig
Initial value:
1 namedtuple(
2  "DetectorConfig",
3  [
4  "detector",
5  "trackingGeometry",
6  "decorators",
7  "geometrySelection",
8  "digiConfigFile",
9  "name",
10  ],
11 )

Definition at line 229 of file conftest.py.

View newest version in sPHENIX GitHub at line 229 of file conftest.py

Referenced by detector_config().

tuple conftest.errtype
Initial value:
1 (
2  "negative"
3  if acts.logging.getFailureThreshold() < acts.logging.WARNING
4  else "positive"
5  )

Definition at line 41 of file conftest.py.

View newest version in sPHENIX GitHub at line 41 of file conftest.py

list conftest.hash_assertion_failures []

Definition at line 69 of file conftest.py.

View newest version in sPHENIX GitHub at line 69 of file conftest.py

conftest.u acts.UnitConstants

Definition at line 55 of file conftest.py.

View newest version in sPHENIX GitHub at line 55 of file conftest.py