standard_detsim_dunevd10kt.fcl
Go to the documentation of this file.
1 # standard_detsim_dunevd10kt.fcl
2 
3 # Dom Brailsford
4 #
5 #
6 # Job fcl for running the VD detector simulation
7 
8 ##include "wirecell_dune.fcl"
9 ##include "services_dune.fcl"
10 ##include "detsimmodules_dune.fcl"
11 ##include "opticaldetectormodules_dune.fcl"
12 #include "workflow_detsim_dunevd10kt.fcl"
13 
14 #include "tools_dune.fcl"
15 
16 process_name: detsim
17 
18 
19 services:
20 {
21  TFileService: { fileName: "%ifb_detsim_hist.root" }
22  TimeTracker: {}
23  MemoryTracker: { } # default is one
24  RandomNumberGenerator: {} #ART native random number generator
25  FileCatalogMetadata: @local::art_file_catalog_mc
26  @table::dunefdvd_simulation_services
27  message: @local::dune_message_services_prod
28 }
29 
30 #source is now a root file
31 source: {
32  module_type: RootInput
33  maxEvents: 10 # Number of events to create
34 }
35 
36 # Define and configure some modules to do work on each event.
37 # First modules are defined; they are scheduled later.
38 # Modules are grouped by type.
39 physics: {
40  producers: {
41  @table::dunefd_vertdrift_producers
42  }
43 # simulate: [ rns, daq, @sequence::pd_detsim_path ]
44  simulate: [ @sequence::dunefd_vertdrift_detsim_tpc_only ]
45  stream1: [ out1 ]
46  trigger_paths: [simulate]
47  end_paths: [stream1]
48 }
49 
50 outputs: {
51  out1: {
52  module_type: RootOutput
53  fileName: "%ifb_detsim.root"
54  dataTier: "detector-simulated"
55  compressionLevel: 1
56  }
57 }
58 
59 ## Use fixed values instead of DB for pedestals.
60 #services.DetPedestalService: @local::dune_fixedpeds
61 #
62 ## DetSim flags.
63 #physics.producers.daq.NoiseOn: true
64 #physics.producers.daq.PedestalOn: true
65 #physics.producers.daq.DistortOn: false
66 #physics.producers.daq.SuppressOn: true
67 #
68 ## DetSim services.
69 #services.SimChannelExtractService: @local::scxgeneric
70 #services.ChannelNoiseService: @local::chnoiseold
71 #services.PedestalAdditionService: @local::padprovided
72 #services.AdcDistortService: @local::stuckbits
73 #services.AdcSuppressService: @local::zslegacy
74 #services.AdcCompressService: @local::cmpblock
75 #
76 ## Disable bad channels.
77 ##services.IChannelStatusService.BadChannels: [ ]
78 #
79 #### Supernova detsim noise levels ###
80 #### What value do I want for the Noise Level?
81 #services.ChannelNoiseService.NoiseNormU: 5.75
82 #services.ChannelNoiseService.NoiseNormV: 5.75
83 #services.ChannelNoiseService.NoiseNormZ: 4.5
84 
85 #configs: ["pgrapher/experiment/pdsp/wcls-sim-drift-simchannel.jsonnet"]
86 #=> configs: ["pgrapher/experiment/dune10kt-1x2x6/wcls-sim-drift-simchannel.jsonnet"]