1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "tools_dune.fcl"
10 TFileService: { fileName: "realistic_noise_hist.root" }
12 MemoryTracker: {} # default is one
13 RandomNumberGenerator: {} #ART native random number generator
14 FileCatalogMetadata: @local::art_file_catalog_mc
15 NuRandomService: @local::random_NuRandomService # seedservice.fcl
16 @table::dunefddphase_simulation_services_legacy
19 services.Geometry: @local::dunedphase10kt_workspace_geo
21 #source is now a root file
23 module_type: RootInput
24 maxEvents: 10 # Number of events to create
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
32 daq: @local::dune_detsim
33 rns: { module_type: "RandomNumberSaver" }
35 simulate: [ rns, daq ]
37 trigger_paths: [simulate]
43 module_type: RootOutput
44 fileName: "%ifb_detsim.root"
45 dataTier: "detector-simulated"
51 #services.SimChannelExtractService: @local::scxgeneric
52 services.ChannelNoiseService: @local::chnoiseold
53 services.PedestalAdditionService: @local::padprovided
54 services.AdcDistortService: @local::stuckbits
55 #services.AdcSuppressService: @local::zslegacy
56 services.AdcSuppressService: @local::zsonline
57 #services.AdcCompressService: @local::cmpblock
58 services.AdcCompressService: @local::cmpreplace
60 # Use fixed values instead of DB for pedestals.
61 services.DetPedestalService: @local::dunedp_fixedpeds
62 services.DetPedestalService.FixedDetPedestal.PedMeanErrY: 0
63 services.DetPedestalService.FixedDetPedestal.PedMeanErrZ: 0
64 services.DetPedestalService.FixedDetPedestal.PedMeanY: 60 #from 3x1x1 data
65 services.DetPedestalService.FixedDetPedestal.PedMeanZ: 60 #from 3x1x1 data
66 services.DetPedestalService.FixedDetPedestal.PedRmsErrY: 0
67 services.DetPedestalService.FixedDetPedestal.PedRmsErrZ: 0
68 services.DetPedestalService.FixedDetPedestal.PedRmsY: 0
69 services.DetPedestalService.FixedDetPedestal.PedRmsZ: 0
72 physics.producers.daq.NoiseOn: true
73 physics.producers.daq.PedestalOn: true
74 physics.producers.daq.DistortOn: false
75 physics.producers.daq.SuppressOn: false #false when noise on
77 # Disable bad channels.
78 #services.IChannelStatusService.BadChannels: [ ]
80 services.ChannelNoiseService:{
81 service_provider: DPhaseRealisticNoiseService
82 NoiseModel: "$MRB_SOURCE/dunetpc/dune/DetSim/NoiseModels/729-0_fft_mirror.root"
83 RandomizeX: 15.0 #amplitude randomization sigma
84 RandomizeY: 15.0 #amplitude randomization sigma
85 Smooth: 1000 #smoothing factor when mirroring
86 SetFirst0: false #set first bin of the fft model to 0
87 SetBaseline: false #if true, baseline added to real noise model
88 NoiseArrayPoints: 1000 #number of pre-generated waveforms
89 OldNoiseIndex: false #From ExponentialChannelNoiseService. Keep false