1 # opdet_multidetsim_dune10kt_1x2x6
6 # Job fhicl for running multiple variants of the photon detector simulation simulatneously
7 # Runs a single variant of TPC detsim as well
9 #include "services_refactored_pdune.fcl"
10 #include "services_dune.fcl"
11 #include "detsimmodules_dune.fcl"
12 #include "opticaldetectormodules_dune.fcl"
13 #include "OpDetMultisim.fcl"
15 #include "tools_dune.fcl"
22 @table::dunefd_simulation_services
23 TFileService: { fileName: "%ifb_detsim_hist.root" }
25 MemoryTracker: { } # default is one
26 RandomNumberGenerator: {} #ART native random number generator
27 FileCatalogMetadata: @local::art_file_catalog_mc
28 NuRandomService: @local::random_NuRandomService # seedservice.fcl
29 message: @local::dune_message_services_prod
32 ### Use the 1x2x6 geometry ###
33 services.Geometry: @local::dune10kt_1x2x6_geo
35 #source is now a root file
37 module_type: RootInput
38 maxEvents: 10 # Number of events to create
41 # Define and configure some modules to do work on each event.
42 # First modules are defined; they are scheduled later.
43 # Modules are grouped by type.
46 # daq: @local::dune_detsim
48 module_type : WireCellToolkit
53 plugins: ["WireCellPgraph", "WireCellGen","WireCellSio","WireCellLarsoft"]
55 # needs to be found via your WIRECELL_PATH
56 #configs: ["pgrapher/experiment/pdsp/wcls-sim-drift-simchannel.jsonnet"]
57 configs: ["pgrapher/experiment/dune10kt-1x2x6/wcls-sim-drift-simchannel.jsonnet"]
59 # Contract note: these exact "type:name" must be used to identify
60 # the configuration data structures for these components in the Jsonnet.
62 inputers: ["wclsSimDepoSource:"]
64 "wclsSimChannelSink:postdrift",
65 "wclsFrameSaver:simdigits"
68 # Make available parameters via Jsonnet's std.extVar()
72 # Longitudinal diffusion constant [cm2/s]
74 # Transverse diffusion constant [cm2/s]
76 # Electron lifetime [ms]
78 # Electron drift speed, assumes a certain applied E-field [mm/us]
84 @table::pd_detsim_modules
85 rns: { module_type: "RandomNumberSaver" }
87 # simulate: [ rns, daq, @sequence::pd_detsim_path ]
88 simulate: [ rns, tpcrawdecoder, @sequence::pd_detsim_path ]
90 trigger_paths: [simulate]
96 module_type: RootOutput
97 fileName: "%ifb_detsim.root"
98 dataTier: "detector-simulated"
103 # Use fixed values instead of DB for pedestals.
104 services.DetPedestalService: @local::dune_fixedpeds
107 physics.producers.daq.NoiseOn: true
108 physics.producers.daq.PedestalOn: true
109 physics.producers.daq.DistortOn: false
110 physics.producers.daq.SuppressOn: true
113 services.SimChannelExtractService: @local::scxgeneric
114 services.ChannelNoiseService: @local::chnoiseold
115 services.PedestalAdditionService: @local::padprovided
116 services.AdcDistortService: @local::stuckbits
117 services.AdcSuppressService: @local::zslegacy
118 services.AdcCompressService: @local::cmpblock
120 # Disable bad channels.
121 #services.IChannelStatusService.BadChannels: [ ]
123 ### Supernova detsim noise levels ###
124 ### What value do I want for the Noise Level?
125 services.ChannelNoiseService.NoiseNormU: 5.75
126 services.ChannelNoiseService.NoiseNormV: 5.75
127 services.ChannelNoiseService.NoiseNormZ: 4.5
129 #configs: ["pgrapher/experiment/pdsp/wcls-sim-drift-simchannel.jsonnet"]
130 #=> configs: ["pgrapher/experiment/dune10kt-1x2x6/wcls-sim-drift-simchannel.jsonnet"]