standard_reco.fcl
Go to the documentation of this file.
1 #include "services_argoneut.fcl"
2 #include "caldata.fcl"
3 #include "hitfindermodules.fcl"
4 #include "clustermodules.fcl"
5 #include "trackfindermodules.fcl"
6 
7 process_name: Reco
8 
9 services:
10 {
11  # Load the service that manages root files for histograms.
12  TFileService: { fileName: "reco_hist.root" }
13  TimeTracker: {}
14  RandomNumberGenerator: {} #ART native random number generator
15  message: @local::standard_warning
16  @table::argoneut_services
17 }
18 
19 
20 #source is now a root file
21 source:
22 {
23  module_type: RootInput
24  maxEvents: 10 # Number of events to create
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 
33  producers:
34  {
35  caldata: @local::argoneut_calwire
36  ffthit: @local::argoneut_hitfinder # note if job is for MC, use argoneut_mc_hitfinder
37  dbcluster: @local::argoneut_dbcluster
38  hough: @local::argoneut_houghlinefinder
39  linemerger: @local::argoneut_linemerger
40  track: @local::argoneut_track
41  harris: @local::argoneut_endpointmod
42  }
43 
44  analyzers:
45  {
46  dbclusterana: @local::argoneut_dbclusterana
47  }
48 
49  #define the producer and filter modules for this path, order matters,
50  #filters reject all following items. see lines starting physics.producers below
51  reco: [ caldata, ffthit, dbcluster, hough, linemerger, track, harris ]
52  ana: [ dbclusterana ]
53 
54  #define the output stream, there could be more than one if using filters
55  stream1: [ out1 ]
56 
57  #trigger_paths is a keyword and contains the paths that modify the art::event,
58  #ie filters and producers
59  trigger_paths: [reco]
60 
61  #end_paths is a keyword and contains the paths that do not modify the art::Event,
62  #ie analyzers and output streams. these all run simultaneously
63  end_paths: [ ana, stream1]
64 }
65 
66 #block to define where the output goes. if you defined a filter in the physics
67 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
68 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
69 outputs:
70 {
71  out1:
72  {
73  module_type: RootOutput
74  fileName: "standard_reco.root" #default file name, can override from command line with -o or --output
75  }
76 }
77