test_geometry_dunefd.fcl
Go to the documentation of this file.
1 #
2 # Geometry test module on DUNE full detector geometry
3 #
4 # Version: 1.1
5 #
6 
7 #include "geometry_dune.fcl"
8 
9 process_name: testGeo
10 
11 services: {
12 
13  Geometry: @local::dune10kt_workspace_geo
14  ExptGeoHelperInterface: @local::dune_geometry_helper
15  GeometryConfigurationWriter: {}
16 
17  message: {
18  destinations: {
19  LogDebugFile: {
20  type: "file"
21  filename: "geometry_dunefd.txt"
22  append: false
23  threshold: "INFO"
24  categories:{
25  default: { limit: 0 }
26  GeometryTest: { limit: -1 }
27  }
28  }
29  LogStandardOut: {
30  type: "cout"
31  threshold: "INFO"
32  categories:{
33  default:{ limit: -1 }
34  RecoBaseDefaultCtor: { limit: 0 }
35  AnaBaseDefaultCtor: { limit: 0 }
36  GeometryBadInputPoint: { limit: 5 timespan: 1000}
37  }
38  }
39  LogStandardError: {
40  type: "cerr"
41  threshold: "ERROR"
42  categories:{
43  default:{ }
44  }
45  }
46  }
47  }
48 }
49 
50 source: {
51  module_type: EmptyEvent
52  maxEvents: 1 # Number of events to create
53 }
54 
55 outputs: { }
56 
57 physics: {
58 
59  analyzers: {
60  geotest: {
61  module_type: "GeometryTest"
62 
63  # Tests can be selected individually using a list of strings called
64  # RunTests.
65  # See GeometryTestAlg documentation for specific strings in case new tests
66  # are added.
67  RunTests: [
68  # run the default test suite (actually unnecessary):
69  "@default",
70  # in addition (overriding the default): print wires
71  "+PrintWires",
72 
73  # - WireIntersection fails because the test is not always able to compute
74  # the correct expected distance from the intersection;
75  # this is a bug related to having a point not lying on a z wire together
76  # with the presence of planes in which the wire doesn;t increase with z;
77  # the test needs to be fixed
78  "-WireIntersection"
79  ]
80 
81  # expected wire pitches; empty to check just that they are all the same
82  # ExpectedWirePitches: [ 0.487811, 0.500144, 0.449055 ]
83  ExpectedWirePitches: [ ]
84  # plane pitches (#0 -> #1, #1 -> #2)
85  ExpectedPlanePitch: [ 0.5, 0.5 ]
86 
87  # The test feeds a out-of-world coordinate to NearestWire() and expects
88  # an exception to be thrown; DUNE currently prefers to cap the wire ID to
89  # a valid wire.
90  # Therefore we disable that part of the test.
91  DisableWireBoundaryCheck: true
92  }
93  }
94 
95  ana: [ geotest ]
96 
97  trigger_paths: [ ]
98  end_paths: [ ana ]
99 }