LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
mcrecomodule.fcl
Go to the documentation of this file.
1 # microboone_optical_sim.fcl
2 # Prepared July-2013 by William Seligman <seligman@nevis.columbia.edu>
3 
4 # This is an example job for running the MicroBooNE PMT ADC and FEM simulation.
5 # The input file can come from any standard detector-simulation job
6 # that includes a LArG4 (largeant) step. The output will include digitized,
7 # discriminated, and triggered PMT ADC counts; see the OpticalDetectorData
8 # package for the data products added to the event.
9 
10 #include "services_microboone.fcl"
11 #include "mcreco.fcl"
12 
13 process_name: MCReco
14 
15 services:
16 {
17  # Load the service that manages root files for histograms.
18  TFileService: { fileName: "ana_hist.root" }
19  TimeTracker: {}
20  RandomNumberGenerator: {} #ART native random number generator
21  message: @local::standard_warning
22 # message: @local::standard_debug # If you turn this on, uncomment the debug lines below
23  @table::microboone_services
24 }
25 
26 source:
27 {
28  module_type: RootInput
29  maxEvents: -1 # Number of events to create
30 }
31 
32 # Define and configure some modules to do work on each event.
33 # First modules are defined; they are scheduled later.
34 # Modules are grouped by type.
35 physics:
36 {
37 
38  producers:
39  {
40  mcreco: @local::standard_mcreco
41  }
42 
43  analyzers:
44  {
45 
46  }
47 
48  simulate: [ mcreco ]
49  analyzeIt: [ ]
50 
51  #define the output stream, there could be more than one if using filters
52  stream1: [ out1 ]
53 
54  #trigger_paths is a keyword and contains the paths that modify the art::event,
55  #ie filters and producers
56  trigger_paths: [simulate]
57 
58  #end_paths is a keyword and contains the paths that do not modify the art::Event,
59  #ie analyzers and output streams. these all run simultaneously
60  end_paths: [ stream1]
61 }
62 
63 outputs:
64 {
65  out1:
66  {
67  module_type: RootOutput
68  fileName: "mcreco.root" #default file name, can override from command line with -o or --output
69  }
70 }
71 
72 # LocalWords: microboone