trkkalSPS_uboone.fcl
Go to the documentation of this file.
1 #include "services_microboone.fcl"
2 #include "largeantmodules.fcl"
3 #include "mccheatermodules.fcl"
4 #include "trackfinderservices.fcl"
5 #include "trackfindermodules.fcl"
6 #include "filters.fcl"
7 
8 process_name: TrkKal
9 
10 services:
11 {
12  TFileService: { fileName: "recon_hist_Kal_mu.root" } # yer fave input file w SpacePoints.
13  TimeTracker {}
14  MemoryTracker: { } # default is one
15  RandomNumberGenerator: {} #ART native random number generator
16  @table::microboone_simulation_services
17 }
18 services.SpacePointService: @local::microboone_spacepointservice
19 
20 source:
21 {
22  module_type: RootInput
23  fileNames: [ " ../trk/recon_trk_mu.root" ]
24  maxEvents: 1000 # Number of events to create
25  skipEvents: 0
26 }
27 
28 outputs:
29 {
30  out1:
31  {
32  module_type: RootOutput
33  fileName: "recon_Kal_mu.root" #default file name, can override from command line with -o or --output
34  }
35 }
36 
37 # Define and configure some modules to do work on each event.
38 # First modules are defined; they are scheduled later.
39 # Modules are grouped by type.
40 physics:
41 {
42 
43  producers:
44  {
45  trackkal: @local::microboone_kalman
46  }
47 
48  filters:
49  {
50  badevts: @local::evtfilter
51  }
52 
53  analyzers:
54  {
55  largana: @local::microboone_largeantana
56  sptana: @local::microboone_spacepoint
57  }
58 
59  recon: [ trackkal ] # badevts,
60  analyze: [ sptana, largana ] # trkana
61  #define the output stream, there could be more than one if using filters
62  stream1: [ out1 ]
63 
64  #trigger_paths is a keyword and contains the paths that modify the art::event,
65  #ie filters and producers
66  trigger_paths: [ recon ]
67 
68  #end_paths is a keyword and contains the paths that do not modify the art::Event,
69  #ie analyzers and output streams. these all run simultaneously
70  end_paths: [ analyze ] # let's drop ", stream1".
71 }
72 
73 # set some parameters. Check the smallness of the x position, as is the case.
74 physics.producers.trackkal.PosErr3: [0.05, 0.1, 0.1] // cm
75 // 0.3,0.3,0.3; 0.2,0.2,0.4 does evt 1, but gives tiny p for evt 2.
76 physics.producers.trackkal.MomErr3: [.01, .01, .03] // GeV
77 physics.producers.trackkal.MomStart3: [0.5, 0.5, 1.8] // GeV
78 #physics.producers.trackkal.DoFit: false // !!!!!
79 #physics.producers.trackkal.PerpLimit: 4.5 // Perp outliers to PC1 to omit
80 physics.producers.trackkal.PerpLimit: 1000. // Perp outliers to PC1 to omit
81 physics.producers.trackkal.PdgCode: -13 // mu+
82 physics.producers.trackkal.ErrScale: 1.0 // !!!!!
83 physics.producers.trackkal.DecimateC: 40 // ! Contained decimation
84 physics.producers.trackkal.MaxUpdateC: 0.1 // ! Contained cutoff on Kal update.
85 physics.producers.trackkal.DecimateU: 100 // ! Uncontained decimation
86 physics.producers.trackkal.MaxUpdateU: 0.02 //Unontained cutoff on Kal update.
87 
88 
89 #physics.filters.badevts.BadEvents: [24, 160, 174, 179, 186, 225 ] // BadEvents,BadRuns must be vectors
90 #physics.filters.badevts.BadRuns: [1, 1, 1, 1, 1, 1 ] // of equal length.
91 
92 physics.analyzers.sptana.ClusterModuleLabel: "dbscan"
93 physics.analyzers.sptana : @local::microboone_spacepoint
94 physics.analyzers.sptana.UseMC: false
95