addnoise_dune10kt_1x2x6_legacy.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "detsimmodules_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 
5 #include "tools_dune.fcl"
6 
7 process_name: detsim
8 
9 services: @local::dunefd_simulation_services_legacy
10 services.TFileService: { fileName: "detsim_hist.root" }
11 services.TimeTracker: {}
12 services.MemoryTracker: { } # default is one
13 services.RandomNumberGenerator: {} #ART native random number generator
14 services.FileCatalogMetadata: @local::art_file_catalog_mc
15 services.NuRandomService: @local::random_NuRandomService # seedservice.fcl
16 
17 #source is now a root file
18 source: {
19  module_type: RootInput
20  maxEvents: 10 # Number of events to create
21 }
22 
23 # Define and configure some modules to do work on each event.
24 # First modules are defined; they are scheduled later.
25 # Modules are grouped by type.
26 physics: {
27  producers: {
28  addnoise: {
29  module_type: "NoiseAdder"
30  SimChannelLabel: "noiseadd"
31  }
32 
33  rns: { module_type: "RandomNumberSaver" }
34  }
35  simulate: [ rns, addnoise ]
36  stream1: [ out1 ]
37  trigger_paths: [simulate]
38  end_paths: [stream1]
39 }
40 
41 outputs: {
42  out1: {
43  module_type: RootOutput
44  fileName: "%ifb_detsim.root"
45  dataTier: "detector-simulated"
46  compressionLevel: 1
47  }
48 }