standard_detsim_dune10kt_legacy.fcl
Go to the documentation of this file.
1 # standard_detsim_dune10kt_legacy.fcl
2 
3 # David Adams
4 # April 2016
5 #
6 # Top level FCL for production of 35-ton simulated data.
7 
8 #include "services_dune.fcl"
9 #include "detsimmodules_dune.fcl"
10 #include "opticaldetectormodules_dune.fcl"
11 
12 #include "tools_dune.fcl"
13 
14 process_name: detsim
15 
16 services: @local::dunefd_simulation_services_legacy
17 services.TFileService: { fileName: "detsim_hist.root" }
18 services.TimeTracker: {}
19 services.MemoryTracker: { } # default is one
20 services.RandomNumberGenerator: {} #ART native random number generator
21 services.FileCatalogMetadata: @local::art_file_catalog_mc
22 services.NuRandomService: @local::random_NuRandomService # seedservice.fcl
23 
24 #source is now a root file
25 source: {
26  module_type: RootInput
27  maxEvents: 10 # Number of events to create
28 }
29 
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
33 physics: {
34  producers: {
35  daq: @local::dune_detsim
36  opdigi: @local::dune35t_opdigi
37  rns: { module_type: "RandomNumberSaver" }
38  }
39  simulate: [ rns, daq, opdigi ]
40  stream1: [ out1 ]
41  trigger_paths: [simulate]
42  end_paths: [stream1]
43 }
44 
45 outputs: {
46  out1: {
47  module_type: RootOutput
48  fileName: "%ifb_detsim.root"
49  dataTier: "detector-simulated"
50  compressionLevel: 1
51  }
52 }
53 
54 # Use fixed values instead of DB for pedestals.
55 services.DetPedestalService: @local::dune_fixedpeds
56 
57 # DetSim flags.
58 physics.producers.daq.NoiseOn: true
59 physics.producers.daq.PedestalOn: true
60 physics.producers.daq.DistortOn: false
61 physics.producers.daq.SuppressOn: true
62 
63 # DetSim services.
64 services.SimChannelExtractService: @local::scxgeneric
65 services.ChannelNoiseService: @local::chnoiseold
66 services.PedestalAdditionService: @local::padprovided
67 services.AdcDistortService: @local::stuckbits
68 services.AdcSuppressService: @local::zslegacy
69 services.AdcCompressService: @local::cmpblock
70 
71 # Disable bad channels.
72 #services.IChannelStatusService.BadChannels: [ ]
73