garg4anajob.fcl
Go to the documentation of this file.
1 #NuTools Services
2 #include "magfield.fcl"
3 #include "seedservice.fcl"
4 
5 #GArSoft Services
6 #include "DetectorClocks.fcl"
7 #include "DetectorProperties.fcl"
8 #include "GArProperties.fcl"
9 #include "Geometry.fcl"
10 #include "RunHistory.fcl"
11 #include "BackTracker.fcl"
12 
13 #Plugins
14 #include "GArG4Ana.fcl"
15 
16 # eventually will need to include configuration to simulate the electronics
17 
18 process_name: GArG4AnaProcess
19 
20 services:
21 {
22  # Load the service that manages root files for histograms.
23  TFileService: { fileName: "single_hist.root" }
24  TimeTracker: {}
25  RandomNumberGenerator: {} #ART native random number generator
26  #See Geometry.fcl for the list of geometries available
27  GeometryGAr: @local::nd_hall_mpd_only_SPYv3_geo
28  ExptGeoHelperInterface: @local::standard_geometry_helper
29  DetectorClocks: @local::standard_clocks
30  DetectorProperties: @local::standard_detproperties
31  GArProperties: @local::standard_garproperties
32  NuRandomService: @local::standard_NuRandomService
33  BackTracker: @local::standard_backtracker
34  MagneticField: @local::standard_mag_garsoft
35  #RunHistory: @local::standard_runhistory
36 }
37 
38 
39 #Start each new event with an empty event.
40 source:
41 {
42  module_type: RootInput
43 }
44 
45 # Define and configure some modules to do work on each event.
46 # First modules are defined; they are scheduled later.
47 # Modules are grouped by type.
48 physics:
49 {
50 
51 analyzers:
52 {
53  g4ana: @local::standard_garg4ana
54 }
55 
56 #define the output stream, there could be more than one if using filters
57 stream1: [ g4ana ]
58 
59 }