standard_detsim_dune35t.fcl
Go to the documentation of this file.
1 # standard_detsim_dune35t.fcl
2 
3 # David Adams
4 # April 2016
5 #
6 # Top level FCL for production of 35-ton simulated data.
7 
8 #include "services_dune.fcl"
9 #include "detsimmodules_dune.fcl"
10 #include "opticaldetectormodules_dune.fcl"
11 
12 #include "tools_dune.fcl"
13 
14 process_name: detsim
15 
16 services: @local::dune35t_detsim_services_legacy
17 services.TFileService: { fileName: "detsim_hist.root" }
18 services.TimeTracker: {}
19 MemoryTracker: {}
20 services.RandomNumberGenerator: {} #ART native random number generator
21 services.FileCatalogMetadata: @local::art_file_catalog_mc
22 services.NuRandomService: @local::random_NuRandomService # seedservice.fcl
23 
24 #source is now a root file
25 source: {
26  module_type: RootInput
27  maxEvents: 10 # Number of events to create
28 }
29 
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
33 physics: {
34  producers: {
35  daq: @local::dune_detsim
36  simcounter: @local::dune35t_simcounter
37  opdigi: @local::dune35t_opdigi
38  rns: { module_type: "RandomNumberSaver" }
39  }
40  simulate: [ rns, daq, simcounter, opdigi ]
41  stream1: [ out1 ]
42  trigger_paths: [simulate]
43  end_paths: [stream1]
44 }
45 
46 outputs: {
47  out1: {
48  module_type: RootOutput
49  fileName: "%ifb_%tc_detsim.root"
50  dataTier: "detector-simulated"
51  compressionLevel: 1
52  fastCloning: false
53  }
54 }
55 
56 # Use fixed values instead of DB for pedestals.
57 services.DetPedestalService: @local::dune_fixedpeds
58 
59 # DetSim flags.
60 physics.producers.daq.NoiseOn: true
61 physics.producers.daq.PedestalOn: true
62 physics.producers.daq.DistortOn: false
63 physics.producers.daq.SuppressOn: true
64 
65 # DetSim services.
66 services.SimChannelExtractService: @local::scxgeneric
67 services.ChannelNoiseService: @local::chnoise35t
68 services.PedestalAdditionService: @local::padprovided
69 services.AdcDistortService: @local::stuckbits
70 services.AdcSuppressService: @local::zslegacy
71 services.AdcCompressService: @local::cmpblock
72 
73 # Disable bad channels.
74 #services.IChannelStatusService.BadChannels: [ ]
75