recojob.fcl
Go to the documentation of this file.
1 #NuTools Services
2 #include "seedservice.fcl"
3 
4 #GArSoft Services
5 #include "DetectorClocks.fcl"
6 #include "DetectorProperties.fcl"
7 #include "GArProperties.fcl"
8 #include "ECALProperties.fcl"
9 #include "Geometry.fcl"
10 #include "RunHistory.fcl"
11 #include "BackTracker.fcl"
12 
13 #Plugins
14 #include "EventInit.fcl"
15 #include "CompressedHitFinder.fcl"
16 #include "TPCHitCluster.fcl"
17 #include "tpcvechitfinder2.fcl"
18 #include "tpcpatrec2.fcl"
19 #include "tpctrackfit2.fcl"
20 #include "tpccathodestitch.fcl"
21 #include "vertexfinder1.fcl"
22 #include "veefinder1.fcl"
23 #include "SiPMHitFinder.fcl"
24 #include "CaloClustering.fcl"
25 #include "CaloStripSplitter.fcl"
26 #include "TPCECALAssociation.fcl"
27 
28 process_name: RecoProc
29 
30 services:
31 {
32 # Load the service that manages root files for histograms.
33 TFileService: { fileName: "reco_hist.root" }
34 TimeTracker: {}
35 RandomNumberGenerator: {} #ART native random number generator
36  #See Geometry.fcl for the list of geometries available
37 GeometryGAr: @local::nd_hall_mpd_only_SPYv3_geo
38 GeometryGArConfigurationWriter: {}
39 ExptGeoHelperInterface: @local::standard_geometry_helper
40 DetectorClocks: @local::standard_clocks
41 DetectorProperties: @local::standard_detproperties
42 GArProperties: @local::standard_garproperties
43 ECALProperties: @local::standard_ecalproperties
44 NuRandomService: @local::standard_NuRandomService
45 MagneticField: @local::standard_mag_garsoft
46 BackTracker: @local::standard_backtracker
47 #RunHistory: @local::standard_runhistory
48 }
49 
50 
51 #Start each new event with an empty event.
52 source:
53 {
54 module_type: RootInput
55 }
56 
57 # Define and configure some modules to do work on each event.
58 # First modules are defined; they are scheduled later.
59 # Modules are grouped by type.
60 physics:
61 {
62 
63 producers:
64 {
65 init: @local::standard_EventInit
66 hit: @local::standard_CompressedHitFinder
67 tpcclusterpass1: @local::standard_TPCHitCluster
68 vechit: @local::standard_tpcvechitfinder2
69 patrec: @local::standard_tpcpatrec2
70 trackpass1: @local::standard_tpctrackfit2
71 vertexpass1: @local::standard_vertexfinder1
72 tpccluster: @local::standard_tpccathodestitch # use unusual name to keep backward compatibility as this module produces tpc clusters
73 track: @local::standard_tpctrackfit2
74 vertex: @local::standard_vertexfinder1
75 veefinder1: @local::standard_veefinder1
76 sipmhit: @local::standard_SiPMHitFinder
77 sipmhitmuid: @local::standard_SiPMHitFinder_MuID
78 sscalohit: @local::standard_CaloStripSplitter
79 sscalohitmuid: @local::standard_CaloStripSplitter_MuID
80 calocluster: @local::standard_CaloClustering
81 caloclustermuid: @local::standard_CaloClustering_MuID
82 trkecalassn: @local::standard_TPCECALAssociation
83 }
84 analyzers:
85 {
86 }
87 
88 #Define the producer and filter modules for this path, order matters. Put init 1st!
89 #Filters reject all following items. ee lines starting physics.producers below
90 reco: [init,hit,tpcclusterpass1,vechit,patrec,trackpass1,vertexpass1,tpccluster,track,vertex,veefinder1,sipmhit,sipmhitmuid,sscalohit,sscalohitmuid,calocluster,caloclustermuid,trkecalassn]
91 
92 #define the output stream, there could be more than one if using filters
93 stream1: [ out1 ]
94 
95 #trigger_paths is a keyword and contains the paths that modify the ::art::event,
96 #ie filters and producers
97 trigger_paths: [ reco ]
98 }
99 
100 #block to define where the output goes. if you defined a filter in the physics
101 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
102 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
103 outputs:
104 {
105 out1:
106 {
107 module_type: RootOutput
108 fileName: "reco.root" #default file name, can override from command line with -o or --output
109 }
110 }
111 
112 physics.producers.track.PatRecLabel: "tpccluster" # from the stitch step, input to second-pass fit
113 physics.producers.vertex.TrackLabel: "track"
114 physics.producers.sipmhit.UseTimePositionReco: false
115 physics.producers.sipmhitmuid.UseTimePositionReco: false