Skip to content

Commit 5f18db7

Browse files
authored
Merge pull request #305 from fmauger/feature-calocalib_with_option_for_corrs
Mock calibration for calo supports various energy correction modes
2 parents 5d6924d + 087ee61 commit 5f18db7

File tree

4 files changed

+811
-670
lines changed

4 files changed

+811
-670
lines changed

resources/snemo/demonstrator/reconstruction/3.0/pipelines/official-3.0.conf

+16-7
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,26 @@
4343

4444
[name="CalibrateCalorimeters" type="snemo::processing::mock_calorimeter_s2c_module"]
4545
#@config A mock calorimeter calibration module
46-
Geo_label : string = "geometry"
47-
random.seed : integer = 12345
48-
store_mc_hit_id : boolean = true
49-
hit_categories : string[3] = "calo" "xcalo" "gveto"
5046

51-
calorimeter_regime_database_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/calorimeter_regime_database_v0.db"
47+
SD_label : string = "SD" # Input data bank (optional)
48+
CD_label : string = "CD" # Output data bank (optional)
49+
random.seed : integer = 12345 # Random seed for energy/time resolution smearing
50+
store_mc_hit_id : boolean = true # Store a reference ID for MC truth hits
51+
# Hit categories to be considered
52+
hit_categories : string[3] = "calo" "xcalo" "gveto"
5253

54+
# Various paths to some data table used by per-OM based calibration procedures
55+
calorimeter_regime_database_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/calorimeter_regime_database_v0.db"
5356
pol3d_parameters_mwall_8inch_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_MW_8inch.db"
5457
pol3d_parameters_mwall_5inch_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_MW_5inch.db"
55-
pol3d_parameters_xwall_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_XW.db"
56-
pol3d_parameters_gveto_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_GV.db"
58+
pol3d_parameters_xwall_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_XW.db"
59+
pol3d_parameters_gveto_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_GV.db"
60+
61+
# Save OM's calibrated energy with some correction(s):
62+
energy_corrections : string = "" # No correction (default)
63+
# energy_corrections : string = "u" # Only non-uniformity (surface) energy correction
64+
# energy_corrections : string = "bc" # Only Birk-Cerenkov (bulk) energy correction
65+
# energy_corrections : string = "bcu" # Birk-Cerenkov (bulk) + non-uniformity (surface) energy corrections
5766

5867

5968
[name="CATTrackerClusterizer" type="snemo::reconstruction::cat_tracker_clustering_module"]

resources/snemo/demonstrator/reconstruction/3.0/pipelines/official-4.0.conf

+16-7
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,26 @@
7575

7676
[name="CalibrateCalorimeters" type="snemo::processing::mock_calorimeter_s2c_module"]
7777
#@config A mock calorimeter calibration module
78-
Geo_label : string = "geometry"
79-
random.seed : integer = 12345
80-
store_mc_hit_id : boolean = true
81-
hit_categories : string[3] = "calo" "xcalo" "gveto"
8278

83-
calorimeter_regime_database_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/calorimeter_regime_database_v0.db"
79+
SD_label : string = "SD" # Input data bank (optional)
80+
CD_label : string = "CD" # Output data bank (optional)
81+
random.seed : integer = 12345 # Random seed for energy/time resolution smearing
82+
store_mc_hit_id : boolean = true # Store a reference ID for MC truth hits
83+
# Hit categories to be considered
84+
hit_categories : string[3] = "calo" "xcalo" "gveto"
8485

86+
# Various paths to some data table used by per-OM based calibration procedures
87+
calorimeter_regime_database_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/calorimeter_regime_database_v0.db"
8588
pol3d_parameters_mwall_8inch_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_MW_8inch.db"
8689
pol3d_parameters_mwall_5inch_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_MW_5inch.db"
87-
pol3d_parameters_xwall_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_XW.db"
88-
pol3d_parameters_gveto_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_GV.db"
90+
pol3d_parameters_xwall_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_XW.db"
91+
pol3d_parameters_gveto_path : string as path = "@falaise:snemo/demonstrator/reconstruction/db/fit_parameters_10D_GV.db"
92+
93+
# Save OM's calibrated energy with some correction(s):
94+
energy_corrections : string = "" # No correction (default)
95+
# energy_corrections : string = "u" # Only non-uniformity (surface) energy correction
96+
# energy_corrections : string = "bc" # Only Birk-Cerenkov (bulk) energy correction
97+
# energy_corrections : string = "bcu" # Birk-Cerenkov (bulk) + non-uniformity (surface) energy corrections
8998

9099

91100
[name="CATTrackerClusterizer" type="snemo::reconstruction::cat_tracker_clustering_module"]

0 commit comments

Comments
 (0)