File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ PROD_ID: v0.1.0
4444# Change this to produce a different DL1b or DL2 sub-productions.
4545# Otherwise, keep it empty to use the common PROD-ID
4646DL1_PROD_ID: tailcut84
47+ DL1_PROD_ID_PREFIX: tailcut
4748DL2_PROD_ID: model2
4849
4950[lstchain]
Original file line number Diff line number Diff line change @@ -433,11 +433,12 @@ def get_dl1_prod_id(config_filename):
433433
434434 picture_thresh = data ["tailcuts_clean_with_pedestal_threshold" ]["picture_thresh" ]
435435 boundary_thresh = data ["tailcuts_clean_with_pedestal_threshold" ]["boundary_thresh" ]
436+ dl1_prod_id_prefix = cfg .get ("LST1" , "DL1_PROD_ID_PREFIX" )
436437
437438 if boundary_thresh == 4 :
438- return f"tailcut { picture_thresh } { boundary_thresh } "
439+ return f"{ dl1_prod_id_prefix } { picture_thresh } { boundary_thresh } "
439440 else :
440- return f"tailcut { picture_thresh } { boundary_thresh :02d} "
441+ return f"{ dl1_prod_id_prefix } { picture_thresh } { boundary_thresh :02d} "
441442
442443
443444def get_dl2_nsb_prod_id (rf_model : Path ) -> str :
You can’t perform that action at this time.
0 commit comments