Go Back to: C++ Manual General Site

LDMX.Detectors package

Submodules

LDMX.Detectors.make_path module

Helpful python configuration functions for getting the path to installed detector descriptions.

_make_path is meant to be internal to this module, but there is no reason a user could use it for a different purpose if desired

This file was configured by cmake for the installation of ldmx-sw at

/home/runner/work/ldmx-sw/ldmx-sw/install

LDMX.Detectors.make_path.make_detector_path(det_name)

Get the full path to the installed ldmx detector description

Parameters:

det_name (str) – Name of detector to get a path for (should match the name of one of the detector directories)

Returns:

full path to the installed detector gdml description

Return type:

str

Examples

Useful for use with the simulator producer:

from LDMX.Detector.makePath import * mySimulator.detector = make_detector_path( ‘ldmx-det-v12’ )

LDMX.Detectors.make_path.make_scoring_planes_path(det_name)

Get the full path to the installed ldmx scoring planes description

Parameters:

det_name (str) – Name of detector to get a path for (should match the name of one of the detector directories)

Returns:

full path to the installed scoring planes gdml description

Return type:

str

Examples

Useful for use with the simulator producer:

from LDMX.Detector.makePath import * mySimulator.scoring_planes = make_scoring_planes_path( ‘ldmx-det-v12’ )

Module contents