run_pandora.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 "ECALProperties.fcl"
10 #include "Geometry.fcl"
11 #include "RunHistory.fcl"
12 #include "BackTracker.fcl"
13 
14 #Plugins
15 #include "PandoraInterface.fcl"
16 
17 process_name: PandoraProc
18 
19 services:
20 {
21  # Load the service that manages root files for histograms.
22  TFileService: { fileName: "reco_hist.root" }
23  TimeTracker: {}
24  RandomNumberGenerator: {} #ART native random number generator
25  #See Geometry.fcl for the list of geometries available
26  GeometryGAr: @local::nd_hall_mpd_only_SPYv3_geo
27  ExptGeoHelperInterface: @local::standard_geometry_helper
28  DetectorClocks: @local::standard_clocks
29  DetectorProperties: @local::standard_detproperties
30  GArProperties: @local::standard_garproperties
31  ECALProperties: @local::standard_ecalproperties
32  NuRandomService: @local::standard_NuRandomService
33  MagneticField: @local::standard_mag_garsoft
34  BackTracker: @local::standard_backtracker
35 #RunHistory: @local::standard_runhistory
36  RootGraphicsEnablingService: {}
37 }
38 
39 
40 #Start each new event with an empty event.
41 source:
42 {
43  module_type: RootInput
44 }
45 
46 # Define and configure some modules to do work on each event.
47 # First modules are defined; they are scheduled later.
48 # Modules are grouped by type.
49 physics:
50 {
51 
52  producers:
53  {
54  pandora: @local::standard_pandora
55  }
56  analyzers:
57  {
58  }
59 
60  #Define the producer and filter modules for this path, order matters. Put init 1st!
61  #Filters reject all following items. ee lines starting physics.producers below
62  reco: [pandora]
63 
64  #define the output stream, there could be more than one if using filters
65  stream1: [ out1 ]
66 
67  #trigger_paths is a keyword and contains the paths that modify the ::art::event,
68  #ie filters and producers
69  trigger_paths: [ reco ]
70 }
71 
72 #block to define where the output goes. if you defined a filter in the physics
73 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
74 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
75 outputs:
76 {
77  out1:
78  {
79  module_type: RootOutput
80  fileName: "reco.root" #default file name, can override from command line with -o or --output
81  }
82 }