Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-01-09 09:25:44

0001 def test_basic():
0002     #! [Basic ODD construction]
0003     import acts.root
0004     from acts.examples.odd import getOpenDataDetectorDirectory, getOpenDataDetector
0005 
0006     odd_dir = getOpenDataDetectorDirectory()
0007     materialDecorator = acts.root.RootMaterialDecorator(
0008         fileName=str(odd_dir / "data/odd-material-maps.root"),
0009         level=acts.logging.INFO,
0010     )
0011     detector = getOpenDataDetector(materialDecorator=materialDecorator)
0012     trackingGeometry = detector.trackingGeometry()
0013     decorators = detector.contextDecorators()
0014     #! [Basic ODD construction]