prodndkGolden.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "nuance.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "mccheatermodules.fcl"
6 #include "caldata_dune.fcl"
7 ##include "cluster_dune.fcl"
8 
9 
10 process_name: NdkGen
11 
12 services:
13 {
14  # Load the service that manages root files for histograms.
15  TFileService: { fileName: "ndk_hist_p2K+nubar.root" }
16  TimeTracker: {}
17  MemoryTracker: { } # default is one
18  RandomNumberGenerator: {} #ART native random number generator
19  @table::dunefd_simulation_services
20 }
21 
22 services.LArFFT.FFTOption: ""
23 services.Geometry.GDML: "dune4apa36deg.gdml"
24 services.Geometry.ROOT: "dune4apa36deg.gdml"
25 
26 #Start each new event with an empty event.
27 source:
28 {
29  module_type: EmptyEvent
30  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
31  maxEvents: 4000
32 }
33 
34 # Define and configure some modules to do work on each event.
35 # First modules are defined; they are scheduled later.
36 # Modules are grouped by type.
37 physics:
38 {
39 
40  producers:
41  {
42  generator: @local::argoneut_nuance
43  largeant: @local::dunefd_largeant
44  daq: @local::dunefd_simwire
45  backtrack: @local::standard_backtrackerloader
46  caldata: @local::dunefd_calwire
47  gaushit: @local::dunefd_gaushitfinder
48  hitcheat: @local::dunefd_hitcheater
49  apahit: @local::dunefd_apahitfinder
50 # fuzzy: @local::dunefd_fuzzycluster
51  rns: { module_type: "RandomNumberSaver" }
52  }
53 
54  analyzers:
55  {
56  largana: @local::microboone_largeantana
57  }
58 
59  #define the producer and filter modules for this path, order matters,
60  #filters reject all following items. see lines starting physics.producers below
61  simulate: [ generator, largeant, daq, backtrack, caldata, gaushit, hitcheat, apahit, rns ]
62  larana: [ largana ]
63 
64  #define the output stream, there could be more than one if using filters
65  stream1: [ out1 ]
66 
67  #trigger_paths is a keyword and contains the paths that modify the art::event,
68  #ie filters and producers
69  trigger_paths: [simulate]
70 
71  #end_paths is a keyword and contains the paths that do not modify the art::Event,
72  #ie analyzers and output streams. these all run simultaneously
73  end_paths: [larana, stream1]
74 }
75 
76 #block to define where the output goes. if you defined a filter in the physics
77 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
78 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
79 outputs:
80 {
81  out1:
82  {
83  module_type: RootOutput
84  fileName: "p2K+nubar_2.root" #default file name, can override from command line with -o or --output
85  }
86 }
87 
88 physics.producers.generator.module_type: "NDKGen"
89 physics.producers.generator.NdkFile: "/dune/app/users/echurch/lgm/in/ndkGolden.out"
90 physics.producers.generator.fseed: 314159
91 #physics.producers.largeant.DumpParticleList: true