2 # File: point_isolation_test.fcl
3 # Purpose: Test of RemoveIsolatedSpacePoints module
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
8 # The job creates some input space points, then runs the removal module
9 # with a loose configuration (that should preserve all points) and a tight one
10 # (that should remove all of them).
11 # It uses the single-TPC LAr TPC "standard" detector.
12 # The spacing of 20 cm populates the only TPC with about 10000 space points.
17 # Expected result: pass
20 # 20160603 (petrillo@fnal.gov) [v1.0]
24 #include "geometry_lartpcdetector.fcl"
26 process_name: IsolTest
30 TimeTracker: { printSummary: true }
31 @table::lartpcdetector_geometry_services
35 module_type: EmptyEvent
44 module_type: SpacePointMaker
48 } # SpacePointMaker["createInput"]
52 module_type: RemoveIsolatedSpacePoints
55 spacePoints: "createInput"
57 # SpacePointIsolationAlg configuration
59 radius: 30 # cm (same unit as space point coordinates)
62 } # RemoveIsolatedSpacePoints["looseIsolTest"]
66 module_type: RemoveIsolatedSpacePoints
69 spacePoints: "createInput"
71 # SpacePointIsolationAlg configuration
73 radius: 10 # cm (same unit as space point coordinates)
76 } # RemoveIsolatedSpacePoints["tightIsolTest"]
84 module_type: "CheckDataProductSize"
86 inputLabel: tightIsolTest
94 module_type: "CheckDataProductSize"
96 inputLabel: looseIsolTest
97 sameSizeAs: createInput
104 test: [ createInput, looseIsolTest, tightIsolTest ]
105 check: [ checkLooseIsol, checkTightIsol ]
107 trigger_paths: [ test ]