lar20jdjmuons.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 ###include "simulationservices_dune.fcl"
4 #include "filemuons.fcl"
5 #include "largeantmodules_dune.fcl"
6 #include "detsimmodules_dune.fcl"
7 #include "mccheatermodules.fcl"
8 
9 process_name: SinglesJdJMuons
10 
11 services:
12 {
13  # Load the service that manages root files for histograms.
14  TFileService: { fileName: "out/dejong4580ft_WC_Muons_gen_hist.root" }
15  scheduler: { wantTracer: true wantSummary: true }
16  TimeTracker: {}
17  RandomNumberGenerator: {} #ART native random number generator
18  @table::dunefd_simulation_services
19 }
20 
21 #Start each new event with an empty event.
22 source:
23 {
24  module_type: EmptyEvent
25  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
26  maxEvents: 10000 # Number of events to create
27 }
28 
29 # Define and configure some modules to do work on each event.
30 # First modules are defined; they are scheduled later.
31 # Modules are grouped by type.
32 physics:
33 {
34 
35  # define the list of LArSoft modules to run through the simulate path
36  producers:
37  {
38  generator: @local::standard_singlemu
39  largeant: @local::dunefd_largeant
40  daq: @local::dunefd_simwire
41  backtrack: @local::standard_backtrackerloader
42  }
43 
44 # filters:{}
45 
46  analyzers:
47 {
48  largana: @local::dunefd_largeantana
49 }
50 
51  #define the producer and filter modules for this path, order matters,
52  #filters reject all following items. see lines starting physics.producers below
53  simulate: [ generator, largeant, daq, backtrack ]
54  larana: [ largana ]
55 
56  #define the output stream, there could be more than one if using filters
57  stream1: [ out1 ]
58 
59  #trigger_paths is a keyword and contains the paths that modify the art::event,
60  #ie filters and producers
61  trigger_paths: [simulate ]
62 
63  #end_paths is a keyword and contains the paths that do not modify the art::Event,
64  #ie analyzers and output streams. these all run simultaneously
65  end_paths: [larana, stream1]
66 
67 }
68 
69 #block to define where the output goes. if you defined a filter in the physics
70 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
71 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
72 outputs:
73 {
74  out1:
75  {
76  module_type: RootOutput
77 ###default file name, can override from command line with -o or --output
78  fileName: "out/dejong800ftMuons_gen.root"
79  }
80 }
81 
82 physics.producers.generator.FileName: "/dune/app/users/fpa06mr1/lardev_S2013.10.21_prof_dunefd/out/DUSEL-4850ft-costheta.root"