pid.fcl
Go to the documentation of this file.
1 #include "services.fcl"
2 
3 #include "caldata.fcl"
4 #include "filters.fcl"
5 #include "hitfindermodules.fcl"
6 #include "clustermodules.fcl"
7 
8 #include "trackfindermodules.fcl"
9 #include "matchtracksmodule.fcl"
10 #include "vertexfindermodules.fcl"
11 #include "calorimetry.fcl"
12 #include "particleid.fcl"
13 #include "analysistreemodule.fcl"
14 
15 process_name: Reco
16 
17 services:
18 {
19  # Load the service that manages root files for histograms.
20  TFileService: { fileName: "pid_hist.root" }
21  TimeTracker: {}
22  MemoryTracker: { } # default is one
23  RandomNumberGenerator: {} #ART native random number generator
24  @table::argoneut_services
25 }
26 
27 
28 #source is now a root file
29 source:
30 {
31  module_type: RootInput
32  maxEvents: -1 # Number of events to create
33 }
34 
35 outputs:
36 {
37  out1:
38  {
39  module_type: RootOutput
40  fileName: "standard_reco.root" #default file name, can override from command line with -o or --output
41  SelectEvents: {SelectEvents: [reco] }
42  }
43 
44 
45 }
46 
47 # Define and configure some modules to do work on each event.
48 # First modules are defined; they are scheduled later.
49 # Modules are grouped by type.
50 physics:
51 {
52 
53  producers:{}
54 
55  filters:{}
56 
57  analyzers:{}
58 
59  #define the producer and filter modules for this path, order matters,
60  #filters reject all following items. see lines starting physics.producers below
61  # reco: [ scanfilt, caldata, ffthit, dbcluster, hough, linemerger, track3d ]
62  reco: [ filter, caldata, ffthit, dbcluster, hough, linemerger, vertex2d, spacepts, matchtracks, calo, pid ]
63 # reco: [ caldata, ffthit, dbcluster, hough, linemerger, track3d ]
64  # reco: [ scanfilt ]
65  ana: [ analysistree ]
66 # ana: [matchtracks]
67  #define the output stream, there could be more than one if using filters
68  stream1: [ out1 ]
69 
70  #trigger_paths is a keyword and contains the paths that modify the art::event,
71  #ie filters and producers
72  trigger_paths: [reco]
73 
74  #end_paths is a keyword and contains the paths that do not modify the art::Event,
75  #ie analyzers and output streams. these all run simultaneously
76  #end_paths: [ stream1, ana ]
77  end_paths: [ ana ]
78 }
79 
80 # define the list of LArSoft modules to run through the simulate path
81 #physics.filters.scanfilt: @local::argoneut_scanfilter
82 physics.producers.filter: @local::evtfilter
83 physics.producers.caldata: @local::argoneut_calwire
84 physics.producers.ffthit: @local::argoneut_hitfinder
85 physics.producers.dbcluster: @local::argoneut_dbcluster
86 physics.producers.hough: @local::argoneut_houghlinefinder
87 physics.producers.linemerger: @local::argoneut_linemerger
88 physics.producers.vertex2d: @local::argoneut_vertex2d
89 physics.producers.spacepts: @local::argoneut_spacepts
90 physics.producers.matchtracks: @local::argoneut_matchtracks
91 physics.producers.calo: @local::argoneut_calo
92 physics.producers.pid: @local::argoneut_chi2pid
93 physics.analyzers.analysistree: @local::argoneut_analysistree
94 physics.producers.filter.BadEvents: [5]
95 physics.producers.filter.BadRuns: [10]
96 physics.producers.matchtracks.lartracks: "spacepts"
97 physics.producers.calo.TrackModuleLabel: "spacepts"
98 physics.analyzers.pid.TrackModuleLabel: "spacepts"
99 physics.analyzers.analysistree.TrackModuleLabel: "spacepts"
100