dump_lartpcdetector_geometry.fcl
Go to the documentation of this file.
1 #
2 # File: dump_lartpcdetector_geometry.fcl
3 # Purpouse: Example of geometry dumping job
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: May 30, 2018
6 # Version: 1.0
7 #
8 # This configuration is intended mostly as example to dump the geometry
9 # as seen by LArSoft. Experiments may want to replace the geometry service
10 # configuration with their own, and change the name of the output file
11 # accordingly.
12 #
13 # Service dependencies:
14 # * Geometry service
15 # * message facility
16 #
17 
18 #include "geometry_lartpcdetector.fcl"
19 
20 
21 process_name: GeometryDump
22 
23 
24 services: {
25  # use a specific configuration which dumps the geometry on a file.
26  message: {
27  destinations: {
28  GeometryLog: {
29  type: file
30  filename: "LArTPCdetector-geometry.txt"
31  threshold: INFO
32  categories: {
33  DumpGeometry: { limit: -1 }
34  default: { limit: 0 }
35  }
36  }
37  CriticalLog: {
38  type: cerr
39  threshold: SYSTEM
40  }
41  } # destinations
42  } # message
43 
44  @table::lartpcdetector_geometry_services
45 
46 } # services
47 
48 
49 physics: {
50  analyzers: {
51  geometrydump: {
52  module_type: DumpGeometry
53 
54  # message facility category for the output (default: "DumpGeometry")
55  outputCategory: "DumpGeometry"
56  }
57  } # analyzers
58 
59  dumpers: [ geometrydump ]
60 
61  end_paths: [ dumpers ]
62 
63 } # physics
64