1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "tools_dune.fcl"
8 services: @local::dunedphase3x1x1_simulation_services_legacy
9 services.TFileService: { fileName: "detsim_hist.root" }
10 services.TimeTracker: {}
11 services.MemoryTracker: {} # default is one
12 services.RandomNumberGenerator: {} #ART native random number generator
13 services.FileCatalogMetadata: @local::art_file_catalog_mc
14 services.NuRandomService: @local::random_NuRandomService # seedservice.fcl
16 #source is now a root file
18 module_type: RootInput
19 maxEvents: -1 # Number of events to create
22 # Define and configure some modules to do work on each event.
23 # First modules are defined; they are scheduled later.
24 # Modules are grouped by type.
27 daq: @local::dune_detsim
28 rns: { module_type: "RandomNumberSaver" }
30 simulate: [ rns, daq ]
32 trigger_paths: [simulate]
38 module_type: RootOutput
39 fileName: "%ifb_detsim.root"
40 dataTier: "detector-simulated"
45 # Use fixed values instead of DB for pedestals.
46 services.DetPedestalService: @local::dunedp_fixedpeds
49 physics.producers.daq.NoiseOn: true
50 physics.producers.daq.PedestalOn: true
51 physics.producers.daq.DistortOn: false
52 physics.producers.daq.SuppressOn: false #false when noise on
53 physics.producers.daq.KeepEmptyChannels: true
56 services.PedestalAdditionService: @local::padprovided
58 services.DetPedestalService: @local::dunedp_fixedpeds
59 services.DetPedestalService.FixedDetPedestal.PedMeanErrY: 0
60 services.DetPedestalService.FixedDetPedestal.PedMeanErrZ: 0
61 services.DetPedestalService.FixedDetPedestal.PedMeanY: 10
62 services.DetPedestalService.FixedDetPedestal.PedMeanZ: 10
63 services.DetPedestalService.FixedDetPedestal.PedRmsErrY: 0
64 services.DetPedestalService.FixedDetPedestal.PedRmsErrZ: 0
65 services.DetPedestalService.FixedDetPedestal.PedRmsY: 0
66 services.DetPedestalService.FixedDetPedestal.PedRmsZ: 0
68 services.AdcDistortService: @local::stuckbits
69 services.AdcSuppressService: @local::zsonline
70 services.AdcCompressService: @local::cmpreplace
72 services.SimChannelExtractService.DPGainPerView: 2
75 #===================New noise module ===========================================
76 #Configure realistic noise service for DP detectors based on the 311 data
78 services.ChannelNoiseService:{
80 #Inchoerent noise only
81 #service_provider: DPhaseRealisticNoiseService
82 #NoiseModel: "$MRB_SOURCE/dunetpc/dune/DetSim/NoiseModels/729-0_fft_mirror.root" #path to the noise model root file
83 #RandomizeX: 15. #0.002
84 #RandomizeY: 15. #0.002
87 #SetBaseline: false #if true sum baseline to real noise model
88 #NoiseArrayPoints: 1000
89 #OldNoiseIndex: false #From ExponentialChannelNoiseService. Keep false
92 ervices.ChannelNoiseService:{
93 service_provider: DPhaseCoherentNoiseService
94 NoiseModel: "$MRB_SOURCE/dunetpc/dune/DetSim/NoiseModels/729-0-mirror-fft.root"
95 AmplitudeCut: 0 #select frequencies above this threshold
96 Normalization: 1025 #amplitude normalizations
97 Randomize: [ 1, 1 ] #rms amplitude [rms view , rms view 1]
98 PhaseShift: [ -1, 1 ] #phase shift per group of channels in radiants
99 ChannelGroup: [ 0, #list here the first channel of every significant correlation pattern group
130 1120, #corr pattern over the full lem (by empirical observation of 729)
131 1280 ] #corr pattern over the full lem (by empirical observation of 729)
132 InchoerentNoise: [ 0.7, 1.1, 0.7, 1.1 ] #rms and sigma of a small incohrent noise ( or very high frequency ) [ #mean view 0, rms view 0, mean view 1, rms view 1 ]. [] means no noise simulated
133 NumberOfPhases: 1000 #number of noise mask (channel vs time) to produce
134 LogLevel: 0 #Verbosity level