2 # Job configuration for SP FD geometry, dumping ADC images with downsampling x6 in drift.
6 #include "services_dune.fcl"
7 #include "multitpcdump.fcl"
8 #include "calorimetry_dune10kt.fcl"
10 process_name: DataDump
14 TFileService: { fileName: "reco_hist.root" }
17 RandomNumberGenerator: {} #ART native random number generator
18 message: @local::dune_message_services_prod_debug
19 FileCatalogMetadata: @local::art_file_catalog_mc
20 @table::dunefd_simulation_services
25 module_type: RootInput
26 maxEvents: -1 # Number of events to create
33 # module making ADC + MC-truth data dumps
34 datadump: @local::standard_spmultitpcdump
40 end_paths: [ anadata ]
43 # Data preparation settings:
45 physics.analyzers.datadump.TrainingDataAlg.SimulationLabel: "largeant"
46 physics.analyzers.datadump.TrainingDataAlg.SaveVtxFlags: true # save (or not) interaction and decay vertex info
47 physics.analyzers.datadump.TrainingDataAlg.DriftWindow: 6 # downsampling window in drift ticks
48 physics.analyzers.datadump.TrainingDataAlg.AdcDelayTicks: 0 # delay of ADC peak in drift ticks
49 physics.analyzers.datadump.TrainingDataAlg.DownscaleFn: "mean" # downsampling function
53 physics.analyzers.datadump.SaveDepositMap: false
54 physics.analyzers.datadump.SavePdgMap: false
58 physics.analyzers.datadump.TrainingDataAlg.CalorimetryAlg: @local::dune10kt_calorimetryalgmc
59 physics.analyzers.datadump.TrainingDataAlg.CalibrateAmpl: true
61 # Scaling to signed byte range:
63 physics.analyzers.datadump.TrainingDataAlg.AdcMax: 250.0 # fix the input range
64 physics.analyzers.datadump.TrainingDataAlg.AdcMin: -5.0 # - not much on the negative values
65 physics.analyzers.datadump.TrainingDataAlg.OutMax: 127.0 # fix the output range to one signed byte
66 physics.analyzers.datadump.TrainingDataAlg.OutMin: -128.0