LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
example_vtxid_job.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "imagepatternalgs.fcl"
3 
4 # Example configuration of job applying CNN-based selection of
5 # EM-like activity (3 outputs: [track, em, none]) on the level
6 # of tracks / clusters / single hits.
7 # The same configuration can be used for other CNN models, trained
8 # to distinguish also Michel electrons or tagging vertices.
9 # Configured for ProtoDUNE, hopefully straight-forward to adopt
10 # to other experiments.
11 
12 process_name: EmTrackId
13 
14 services:
15 {
16  # Load the service that manages root files for histograms.
17  TFileService: { fileName: "reco_hist.root" }
18  MemoryTracker: {}
19  TimeTracker: {}
20  RandomNumberGenerator: {} #ART native random number generator
21  message: @local::dune_message_services_prod_debug
22  FileCatalogMetadata: @local::art_file_catalog_mc
23  @table::protodune_services
24 }
25 
26 source:
27 {
28  module_type: RootInput
29  maxEvents: -1 # Number of events to create
30 }
31 
32 physics:
33 {
34  producers:
35  {
36  decayid: @local::standard_particledecayid
37  }
38 
39  reco: [ decayid ]
40  stream1: [ out1 ]
41 
42  trigger_paths: [ reco ]
43  end_paths: [ stream1 ]
44 }
45 
46 outputs:
47 {
48  out1:
49  {
50  module_type: RootOutput
51  fileName: "%ifb_%tc_reco.root"
52  dataTier: "full-reconstructed"
53  compressionLevel: 1
54  }
55 }
56 
57 physics.producers.decayid.PointIdAlg.NNetModelFile: "/home/your_dir/your_cnn_model.nnet" # your model (there is no default one in repository!)
58 physics.producers.decayid.PointIdAlg.PatchSizeW: 32 # how many wires in patch
59 physics.producers.decayid.PointIdAlg.PatchSizeD: 44 # how many downsampled ADC entries
60 physics.producers.decayid.PointIdAlg.DriftWindow: 6 # downsampling window in drift ticks
61 physics.producers.decayid.PointIdAlg.DownscaleFn: "mean" # downsampling function
62 physics.producers.decayid.TrackModuleLabel: "pmtrack" # tracks to be processed
63 physics.producers.decayid.PointThreshold: 0.998 # threshold on p(decay) used to select decay candidates
64