Skip to content

Commit b3e7576

Browse files
committed
And make use of that
1 parent 1acd310 commit b3e7576

30 files changed

Lines changed: 76 additions & 92 deletions

sbndcode/CRT/CRTAna/run_crtana.fcl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#include "crtgeoservice_sbnd.fcl"
2-
#include "crt_channel_map_service.fcl"
1+
#include "crt_services_sbnd.fcl"
32
#include "crtana_sbnd.fcl"
43
#include "simulationservices_sbnd.fcl"
54

@@ -9,13 +8,12 @@ services:
98
{
109
TFileService: { fileName: "crtana_sbnd.root" }
1110
@table::sbnd_basic_services
11+
@table::crt_services_sbnd
1212
ParticleInventoryService: @local::sbnd_particleinventoryservice
1313
BackTrackerService: @local::sbnd_backtrackerservice
1414
DetectorClocksService: @local::sbnd_detectorclocks
1515
LArPropertiesService: @local::sbnd_properties
1616
DetectorPropertiesService: @local::sbnd_detproperties
17-
CRTGeoService: @local::crtgeoservice_sbnd
18-
CRTChannelMapService: @local::crt_channel_map_standard
1917
}
2018

2119
source:

sbndcode/CRT/CRTAna/run_crtana_calibntuples_data.fcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
services.ParticleInventoryService: @erase
44
services.BackTrackerService: @erase
55

6-
services.CRTGeoService: @local::crtgeoservice_data_sbnd
6+
services:
7+
{
8+
@table::services
9+
@table::crt_services_data_sbnd
10+
}
711

812
physics.analyzers.caloskim.G4producer: ""
913
physics.analyzers.caloskim.SimChannelproducer: ""

sbndcode/CRT/CRTAna/run_crtana_data.fcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
services.ParticleInventoryService: @erase
44
services.BackTrackerService: @erase
55

6-
services.CRTGeoService: @local::crtgeoservice_data_sbnd
6+
services:
7+
{
8+
@table::services
9+
@table::crt_services_data_sbnd
10+
}
711

812
physics.analyzers.crtana: @local::crtana_data_sbnd

sbndcode/CRT/CRTEventDisplay/run_crteventdisplay.fcl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#include "simulationservices_sbnd.fcl"
2-
#include "crtgeoservice_sbnd.fcl"
3-
#include "crt_channel_map_service.fcl"
2+
#include "crt_services_sbnd.fcl"
43
#include "crteventdisplay_sbnd.fcl"
54

65
process_name: CRTEventDisplay
76

87
services:
98
{
109
@table::sbnd_services
10+
@table::crt_services_sbnd
1111
ParticleInventoryService: @local::sbnd_particleinventoryservice
12-
CRTGeoService: @local::crtgeoservice_sbnd
13-
CRTChannelMapService: @local::crt_channel_map_standard
1412
}
1513

1614
source:
@@ -24,7 +22,7 @@ physics:
2422
{
2523
analyzers:
2624
{
27-
crtevd: @local::crteventdisplay_sbnd
25+
crtevd: @local::crteventdisplay_sbnd
2826
}
2927

3028
ana: [ crtevd ]

sbndcode/CRT/CRTEventDisplay/run_crteventdisplay_data.fcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#include "services_sbnd.fcl"
2+
#include "crt_services_sbnd.fcl"
23
#include "crteventdisplay_sbnd.fcl"
3-
#include "crtgeoservice_sbnd.fcl"
44

55
process_name: CRTEventDisplay
66

77
services:
88
{
99
@table::sbnd_services
10-
CRTGeoService: @local::crtgeoservice_data_sbnd
10+
@table::crt_services_data_sbnd
1111
}
1212

1313
source:
@@ -20,7 +20,7 @@ physics:
2020
{
2121
analyzers:
2222
{
23-
crtevd: @local::crteventdisplay_sbnd_data
23+
crtevd: @local::crteventdisplay_sbnd_data
2424
}
2525

2626
ana: [ crtevd ]

sbndcode/CRT/CRTReco/run_crtclustering.fcl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#include "services_sbnd.fcl"
22
#include "rootoutput_sbnd.fcl"
33
#include "crtrecoproducers_sbnd.fcl"
4-
#include "crtgeoservice_sbnd.fcl"
5-
#include "crt_channel_map_service.fcl"
4+
#include "crt_services_sbnd.fcl"
65

76
process_name: CRTClustering
87

98
services:
109
{
1110
@table::sbnd_services
12-
CRTGeoService: @local::crtgeoservice_sbnd
13-
CRTChannelMapService: @local::crt_channel_map_standard
11+
@table::crt_services_sbnd
1412
}
1513

1614
source:

sbndcode/CRT/CRTReco/run_crtreco.fcl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#include "services_sbnd.fcl"
22
#include "rootoutput_sbnd.fcl"
33
#include "crtrecoproducers_sbnd.fcl"
4-
#include "crtgeoservice_sbnd.fcl"
5-
#include "crt_channel_map_service.fcl"
4+
#include "crt_services_sbnd.fcl"
65

76
process_name: CRTReco
87

98
services:
109
{
1110
@table::sbnd_services
12-
CRTGeoService: @local::crtgeoservice_sbnd
13-
CRTChannelMapService: @local::crt_channel_map_standard
11+
@table::crt_services_sbnd
1412
}
1513

1614
source:

sbndcode/CRT/CRTReco/run_crtreco_data.fcl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#include "run_crtreco.fcl"
22

3-
services.message: @local::sbnd_message_services
4-
services.CRTGeoService: @local::crtgeoservice_data_sbnd
3+
services:
4+
{
5+
@table::services
6+
@table::crt_services_data_sbnd
7+
}
58

69
physics.producers.crtstrips: @local::crtstriphitproducer_data_sbnd
710
physics.producers.crtclustering: @local::crtclusterproducer_data_sbnd

sbndcode/CRT/CRTReco/run_crtrecoana.fcl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
#include "rootoutput_sbnd.fcl"
44
#include "crtrecoproducers_sbnd.fcl"
55
#include "crtana_sbnd.fcl"
6-
#include "crtgeoservice_sbnd.fcl"
7-
#include "crt_channel_map_service.fcl"
6+
#include "crt_services_sbnd.fcl"
87

98
process_name: CRTRecoAna
109

1110
services:
1211
{
1312
TFileService: { fileName: "crtana_sbnd.root" }
1413
@table::sbnd_basic_services
14+
@table::crt_services_sbnd
1515
ParticleInventoryService: @local::standard_particleinventoryservice
16-
CRTGeoService: @local::crtgeoservice_sbnd
17-
CRTChannelMapService: @local::crt_channel_map_standard
1816
}
1917

2018
source:

sbndcode/CRT/CRTReco/run_crtrecoana_data.fcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include "run_crtrecoana.fcl"
22

3-
services.CRTGeoService: @local::crtgeoservice_data_sbnd
3+
services:
4+
{
5+
@table::services
6+
@table::crt_services_data_sbnd
7+
}
48

59
physics.producers.crtstrips: @local::crtstriphitproducer_data_sbnd
610
physics.producers.crtclustering: @local::crtclusterproducer_data_sbnd

0 commit comments

Comments
 (0)