-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(gx2f): add physmon truth tracking for the GX2F (#2966)
This PR adds the GX2F to the physmon. It runs stable even though the ODD uses 3D-measurements for the inner pixels. So far the GX2F supports only 1-2D measurements. blocked by: - #2972 - #2981
- Loading branch information
Showing
5 changed files
with
105 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
checks: | ||
"*": | ||
Chi2Test: | ||
threshold: 0.01 | ||
KolmogorovTest: | ||
threshold: 0.68 | ||
RatioCheck: | ||
threshold: 3 | ||
ResidualCheck: | ||
threshold: 3 | ||
IntegralCheck: | ||
threshold: 3 | ||
|
||
"nStates_*": | ||
KolmogorovTest: null | ||
"nMeasurements_*": | ||
KolmogorovTest: null | ||
|
||
pullmean_phi_vs_eta: | ||
IntegralCheck: | ||
threshold: 4 | ||
pullmean_theta_vs_eta: | ||
IntegralCheck: null | ||
pullmean_z0_vs_eta: | ||
IntegralCheck: null | ||
|
||
pullwidth_phi_vs_eta: | ||
IntegralCheck: | ||
threshold: 4.3 | ||
reswidth_d0_vs_eta: | ||
IntegralCheck: | ||
threshold: 4 | ||
resmean_d0_vs_eta: | ||
IntegralCheck: | ||
threshold: 4 | ||
|
||
pullwidth_*: | ||
Chi2Test: null | ||
KolmogorovTest: null | ||
pullmean_*: | ||
Chi2Test: null | ||
KolmogorovTest: null | ||
reswidth_*: | ||
Chi2Test: null | ||
KolmogorovTest: null | ||
resmean_*: | ||
Chi2Test: null | ||
KolmogorovTest: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env python3 | ||
import tempfile | ||
from pathlib import Path | ||
import shutil | ||
|
||
import acts | ||
from truth_tracking_gx2f import runTruthTrackingGx2f | ||
|
||
from physmon_common import makeSetup | ||
|
||
setup = makeSetup() | ||
|
||
with tempfile.TemporaryDirectory() as temp: | ||
s = acts.examples.Sequencer( | ||
events=10000, | ||
numThreads=-1, | ||
logLevel=acts.logging.INFO, | ||
) | ||
|
||
tp = Path(temp) | ||
runTruthTrackingGx2f( | ||
trackingGeometry=setup.trackingGeometry, | ||
field=setup.field, | ||
outputDir=tp, | ||
digiConfigFile=setup.digiConfig, | ||
s=s, | ||
) | ||
|
||
s.run() | ||
del s | ||
|
||
perf_file = tp / "performance_gx2f.root" | ||
assert perf_file.exists(), "Performance file not found" | ||
shutil.copy(perf_file, setup.outdir / "performance_gx2f.root") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters