sp_fd_adcdump_job_example.fcl
Go to the documentation of this file.
1 #
2 # Job configuration for SP FD geometry, dumping ADC images with downsampling x6 in drift.
3 # R.Sulej, Oct. 2017
4 #
5 
6 #include "services_dune.fcl"
7 #include "multitpcdump.fcl"
8 #include "calorimetry_dune10kt.fcl"
9 
10 process_name: DataDump
11 
12 services:
13 {
14  TFileService: { fileName: "reco_hist.root" }
15  MemoryTracker: {}
16  TimeTracker: {}
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
21 }
22 
23 source:
24 {
25  module_type: RootInput
26  maxEvents: -1 # Number of events to create
27 }
28 
29 physics:
30 {
31  analyzers:
32  {
33  # module making ADC + MC-truth data dumps
34  datadump: @local::standard_spmultitpcdump
35  }
36 
37  anadata: [ datadump ]
38 
39  trigger_paths: [ ]
40  end_paths: [ anadata ]
41 }
42 
43 # Data preparation settings:
44 #
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
50 
51 # Output content:
52 #
53 physics.analyzers.datadump.SaveDepositMap: false
54 physics.analyzers.datadump.SavePdgMap: false
55 
56 # Calibration:
57 #
58 physics.analyzers.datadump.TrainingDataAlg.CalorimetryAlg: @local::dune10kt_calorimetryalgmc
59 physics.analyzers.datadump.TrainingDataAlg.CalibrateAmpl: true
60 
61 # Scaling to signed byte range:
62 #
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
67