2 # File: standard_detsim_sbnd.fcl
3 # Purpose: Simulates readout response to induced and collected charge
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: December 23, 2016
8 # This configuration runs event generation, simulation of propagation through
9 # matter and readout simulation.
12 # - output from LArG4 module (in particular, SimChannels)
15 # - daq: RawDigit collection with simulated TPC readout response as waveforms
16 # - includes the whole input data
20 # - uses the bundle of SBND simulation services for readout simulation
23 # 20160601 (petrillo@fnal.gov) [v1.0]
26 # 20161223 (petrillo@fnal.gov) [v1.1]
27 # - adopted shared root output configuration
35 #include "simulationservices_sbnd.fcl"
36 #include "messages_sbnd.fcl"
42 #include "detsimmodules_sbnd.fcl"
43 #include "crtsimmodules_sbnd.fcl"
44 #include "rootoutput_sbnd.fcl"
45 #include "opdetdigitizer_sbnd.fcl"
46 #include "simulationservices_sbnd.fcl"
47 #include "config_genericCRT.fcl"
49 process_name: CRTTranslation
53 TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
54 @table::sbnd_detsim_services
55 FileCatalogMetadata: @local::sbnd_file_catalog_mc
56 AuxDetExptGeoHelperInterface: { service_provider: "sbndcode/CRT/CRTGeometryHelper" }
57 AuxDetGeometry: { @table::sbnd_geo_source }
63 module_type: RootInput
67 # Define and configure some modules to do work on each event.
68 # First modules are defined; they are scheduled later.
69 # Modules are grouped by type.
75 rns: { module_type: "RandomNumberSaver" }
76 daq: @local::sbnd_simwire
77 crt: @local::sbnd_genericCRT
78 opdaq: @local::sbnd_opdetdigitizer
81 #define the producer and filter modules for this path, order matters,
82 simulate: [ rns, crt, daq, opdaq]
83 # simulate: [ rns, daq, opdaq]
85 #define the output stream, there could be more than one if using filters
88 #ie analyzers and output streams. these all run simultaneously
92 # block to define where the output goes. if you defined a filter in the physics
93 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
94 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
99 @table::sbnd_rootoutput # inherit shared settings
100 dataTier: "simulated"
101 compressionLevel: 1 # TODO better to use no compression here and Huffman encoding
105 physics.producers.daq.DriftEModuleLabel: "simdrift"
106 physics.producers.opdaq.InputModule: "PDFastSim"