addnoise_and_dump.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "standard_detsim_dune10kt_1x2x6.fcl"
3 
4 process_name: AddNoiseAndDump
5 
6 services:
7 {
8  @table::dunefd_services
9  TFileService: { fileName: "deleteme.root" }
10  TimeTracker: {}
11  MemoryTracker: {} # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  FileCatalogMetadata: @local::art_file_catalog_mc
14  Geometry: @local::dune10kt_1x2x6_geo
15  NuRandomService: @local::per_event_NuRandomService # seedservice.fcl
16 }
17 
18 physics:
19 {
20  producers: {
21  simwire: {
22  module_type: "SimWireDUNE"
23  SimChannelLabel: "largeant"
24  NoiseOn: true
25  PedestalOn: true
26  DistortOn: false
27  SuppressOn: false
28  KeepEmptyChannels: true
29  AdcSimulator: "adcsim_ideal"
30  UseRawDigitInput: true
31  RawDigitInputLabel: "daq"
32  }
33 
34  rns: { module_type: "RandomNumberSaver" }
35  }
36 
37  analyzers:
38  {
39  waveformdump: {
40  module_type: WaveformDump
41  OutputFile: "event.txt"
42  InputTag: "simwire"
43  }
44  }
45 
46  ana: [ waveformdump ]
47  sim: [ rns, simwire ]
48  trigger_paths: [ sim ]
49  end_paths: [ ana ]
50 
51 }
52 
53 source:
54 {
55  module_type: RootInput
56  maxEvents: -1 # Number of events to create
57 }
58 
59 # DetSim services. These are used by SimWire to add noise and
60 # pedestals to the incoming (noise-free) waveforms
61 services.SimChannelExtractService: @local::scxgeneric
62 services.ChannelNoiseService: @local::chnoiseold
63 services.PedestalAdditionService: @local::padprovided
64 services.AdcDistortService: @local::stuckbits
65 services.AdcSuppressService: @local::zsnone
66 services.AdcCompressService: @local::cmpreplace
67 services.DetPedestalService: @local::dune_fixedpeds