cosmictagger.fcl
Go to the documentation of this file.
1 #include "clusteralgorithms.fcl"
2 #include "trackfindermodules.fcl"
3 #include "cosmicremovalmodules.fcl"
4 #include "services_microboone.fcl"
5 #include "opticaldetectormodules_microboone.fcl"
6 #include "photpropservices_microboone.fcl"
7 
8 process_name: FindCosmicsANA
9 
10 services:
11 {
12 # Load the service that manages root files for histograms.
13  TFileService: { fileName: "cosmicOverlayonlyANA.root" }
14 # scheduler: { wantTracer: true wantSummary: true }
15 # MessageLogger:
16 # {
17 # destinations: ["detailedInfo"]
18 # categories: ["Summary"]
19 # debugModules: ["*"]
20 # detailedInfo: {threshold: "Info"}
21 # }
22 
23  message: {}
24  TimeTracker: {}
25  RandomNumberGenerator: {} #ART native random number generator
26  message: @local::standard_info
27  @table::microboone_services_reco
28 }
29 
30 services.PhotonVisibilityService: @local::microboone_photonvisibilityservice
31 
32 #source is now a root file
33 source:
34 {
35  module_type: RootInput
36  maxEvents: -1 # Number of events to create
37 }
38 
39 
40 
41 # Define and configure some modules to do work on each event.
42 # First modules are defined; they are scheduled later.
43 # Modules are grouped by type.
44 physics:
45 {
46 
47  producers:
48  {
49  cosmictaggerKHit: @local::microboone_cosmictracktagger
50  cosmictaggerBezier: @local::microboone_cosmictracktagger
51  flashTrackMatchkHit: @local::microboone_beamflashtrackmatchtagger
52  flashTrackMatchBezier: @local::microboone_beamflashtrackmatchtagger
53  }
54 
55  analyzers:
56  {
57  #cosmictaggerana: @local::microboone_cosmicremovalana
58  }
59 
60  #define the producer and filter modules for this path, order matters,
61  #filters reject all following items. see lines starting physics.producers below
62  reco: [ cosmictaggerKHit, cosmictaggerBezier, flashTrackMatchkHit, flashTrackMatchBezier ]
63  ana: [ ]
64 
65 
66  #define the output stream, there could be more than one if using filters
67  stream1: [ out1 ]
68 
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 
75  #end_paths is a keyword and contains the paths that do not modify the art::Event,
76  #ie analyzers and output streams. these all run simultaneously
77  #end_paths: [stream1, ana]
78  end_paths: [stream1]
79 
80 }
81 
82 #block to define where the output goes. if you defined a filter in the physics
83 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
84 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
85 outputs:
86 {
87  out1:
88  {
89  module_type: RootOutput
90  fileName: "tagger_flash_match_cosmics.root" #default file name, can override from command line with -o or --output
91  compressionLevel: 1
92  }
93 }
94 
95 physics.producers.cosmictaggerKHit.TrackModuleLabel: "trackkalmanhit"
96 physics.producers.cosmictaggerKHit.ClusterModuleLabel: "fuzzycluster"
97 
98 physics.producers.cosmictaggerBezier.TrackModuleLabel: "beziertracker"
99 physics.producers.cosmictaggerBezier.ClusterModuleLabel: "fuzzycluster"
100 
101 physics.producers.flashTrackMatchkHit.TrackModuleLabel: "trackkalmanhit"
102 physics.producers.flashTrackMatchkHit.FlashModuleLabel: "opflash"
103 #physics.producers.flashTrackMatchkHit.BeamFlashTrackMatchAlgParams.RunDebugMode: true
104 
105 physics.producers.flashTrackMatchBezier.TrackModuleLabel: "beziertracker"
106 physics.producers.flashTrackMatchBezier.FlashModuleLabel: "opflash"