Skip to content

Commit 1acd310

Browse files
committed
Combine crt services for better maintenance
1 parent 0c90357 commit 1acd310

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

sbndcode/CRT/crt_services_sbnd.fcl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include "crt_geo_service_sbnd.fcl"
2+
#include "crt_channel_map_service_sbnd.fcl"
3+
#include "crt_calibration_database_service_sbnd.fcl"
4+
5+
BEGIN_PROLOG
6+
7+
crt_services_sbnd:
8+
{
9+
CRTGeoService: @local::crt_geo_service_sbnd
10+
CRTChannelMapService: @local::crt_channel_map_sbnd
11+
CRTCalibrationDatabase: @local::crt_calibration_database_service_sbnd
12+
}
13+
14+
crt_services_data_sbnd: @local::crt_services_sbnd
15+
crt_services_data_sbnd.CRTGeoService: @local::crt_geo_service_data_sbnd
16+
17+
END_PROLOG

sbndcode/Calibration/CRTDatabaseInterface/crtcalibrationdatabase_sbnd.fcl renamed to sbndcode/Calibration/CRTDatabaseInterface/crt_calibration_database_service_sbnd.fcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BEGIN_PROLOG
22

3-
sbnd_crtcalibrationdatabaseservice:
3+
crt_calibration_database_service_sbnd:
44
{
55
service_provider: "CRTCalibrationDatabaseService"
66

@@ -12,7 +12,7 @@ sbnd_crtcalibrationdatabaseservice:
1212
ChannelTableName: "crt_channel_calibration"
1313
}
1414

15-
Verbose: true
15+
Verbose: false
1616
}
1717

1818
END_PROLOG

sbndcode/ChannelMaps/CRT/crt_channel_map_service.fcl renamed to sbndcode/ChannelMaps/CRT/crt_channel_map_service_sbnd.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BEGIN_PROLOG
22

3-
crt_channel_map_standard:
3+
crt_channel_map_sbnd:
44
{
55
FileName: "SBNDCRTChannelMap_Commissioning_v5.txt"
66
}

sbndcode/Geometry/GeometryWrappers/crtgeoservice_sbnd.fcl renamed to sbndcode/Geometry/GeometryWrappers/crt_geo_service_sbnd.fcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
BEGIN_PROLOG
22

3-
crtgeoservice_sbnd:
3+
crt_geo_service_sbnd:
44
{
55
DefaultGain: 0.025
66
MC: true
77
}
88

9-
crtgeoservice_data_sbnd:
9+
crt_geo_service_data_sbnd:
1010
{
1111
DefaultGain: 0.025
1212
MC: false

0 commit comments

Comments
 (0)