opdet_multidetsim_dune10kt_1x2x6_legacy.fcl
Go to the documentation of this file.
1 # opdet_multidetsim_dune10kt_1x2x6
2 
3 # Alex Himmel
4 # March 2019
5 #
6 # Job fhicl for running multiple variants of the photon detector simulation simulatneously
7 # Runs a single variant of TPC detsim as well
8 
9 #include "services_dune.fcl"
10 #include "detsimmodules_dune.fcl"
11 #include "opticaldetectormodules_dune.fcl"
12 #include "OpDetMultisim.fcl"
13 
14 #include "tools_dune.fcl"
15 
16 process_name: detsim
17 
18 
19 services:
20 {
21  @table::dunefd_simulation_services_legacy
22  TFileService: { fileName: "%ifb_detsim_hist.root" }
23  TimeTracker: {}
24  MemoryTracker: { } # default is one
25  RandomNumberGenerator: {} #ART native random number generator
26  FileCatalogMetadata: @local::art_file_catalog_mc
27  NuRandomService: @local::random_NuRandomService # seedservice.fcl
28  message: @local::dune_message_services_prod
29 }
30 
31 ### Use the 1x2x6 geometry ###
32 services.Geometry: @local::dune10kt_1x2x6_geo
33 
34 
35 #source is now a root file
36 source: {
37  module_type: RootInput
38  maxEvents: 10 # Number of events to create
39 }
40 
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.
44 physics: {
45  producers: {
46  daq: @local::dune_detsim
47  @table::pd_detsim_modules
48  rns: { module_type: "RandomNumberSaver" }
49  }
50  simulate: [ rns, daq, @sequence::pd_detsim_path ]
51  stream1: [ out1 ]
52  trigger_paths: [simulate]
53  end_paths: [stream1]
54 }
55 
56 outputs: {
57  out1: {
58  module_type: RootOutput
59  fileName: "%ifb_detsim.root"
60  dataTier: "detector-simulated"
61  compressionLevel: 1
62  }
63 }
64 
65 # Use fixed values instead of DB for pedestals.
66 services.DetPedestalService: @local::dune_fixedpeds
67 
68 # DetSim flags.
69 physics.producers.daq.NoiseOn: true
70 physics.producers.daq.PedestalOn: true
71 physics.producers.daq.DistortOn: false
72 physics.producers.daq.SuppressOn: true
73 
74 # DetSim services.
75 services.SimChannelExtractService: @local::scxgeneric
76 services.ChannelNoiseService: @local::chnoiseold
77 services.PedestalAdditionService: @local::padprovided
78 services.AdcDistortService: @local::stuckbits
79 services.AdcSuppressService: @local::zslegacy
80 services.AdcCompressService: @local::cmpblock
81 
82 # Disable bad channels.
83 #services.IChannelStatusService.BadChannels: [ ]
84 
85 ### Supernova detsim noise levels ###
86 ### What value do I want for the Noise Level?
87 services.ChannelNoiseService.NoiseNormU: 5.75
88 services.ChannelNoiseService.NoiseNormV: 5.75
89 services.ChannelNoiseService.NoiseNormZ: 4.5