All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
point_isolation_test.fcl
Go to the documentation of this file.
1 #
2 # File: point_isolation_test.fcl
3 # Purpose: Test of RemoveIsolatedSpacePoints module
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: June 3rd, 2016
6 # Version: 1.0
7 #
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.
13 #
14 # Dependencies:
15 # - geometry service
16 #
17 # Expected result: pass
18 #
19 # Changes:
20 # 20160603 (petrillo@fnal.gov) [v1.0]
21 # original version
22 #
23 
25 
26 process_name: IsolTest
27 
28 
29 services: {
30  TimeTracker: { printSummary: true }
31  @table::lartpcdetector_geometry_services
32 }
33 
34 source: {
35  module_type: EmptyEvent
36  maxEvents: 1
37 }
38 
39 
40 physics: {
41  producers: {
42 
43  createInput: {
44  module_type: SpacePointMaker
45 
46  spacing: 20 # cm
47 
48  } # SpacePointMaker["createInput"]
49 
50 
51  looseIsolTest: {
52  module_type: RemoveIsolatedSpacePoints
53 
54  # input space points
55  spacePoints: "createInput"
56 
57  # SpacePointIsolationAlg configuration
58  isolation: {
59  radius: 30 # cm (same unit as space point coordinates)
60  }
61 
62  } # RemoveIsolatedSpacePoints["looseIsolTest"]
63 
64 
65  tightIsolTest: {
66  module_type: RemoveIsolatedSpacePoints
67 
68  # input space points
69  spacePoints: "createInput"
70 
71  # SpacePointIsolationAlg configuration
72  isolation: {
73  radius: 10 # cm (same unit as space point coordinates)
74  }
75 
76  } # RemoveIsolatedSpacePoints["tightIsolTest"]
77 
78  } # producers
79 
80  analyzers: {
81 
82  checkTightIsol: {
83 
84  module_type: "CheckDataProductSize"
85 
86  inputLabel: tightIsolTest
87  expectedSize: 0
88 
89  } # checkTightIsol
90 
91 
92  checkLooseIsol: {
93 
94  module_type: "CheckDataProductSize"
95 
96  inputLabel: looseIsolTest
97  sameSizeAs: createInput
98 
99  } # checkTightIsol
100 
101 
102  } # analyzers
103 
104  test: [ createInput, looseIsolTest, tightIsolTest ]
105  check: [ checkLooseIsol, checkTightIsol ]
106 
107  trigger_paths: [ test ]
108  end_paths: [ check ]
109 
110 } # physics
111 
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
coordinates
Definition: geo_types.h:121
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
process_name looseIsolTest
process_name tightIsolTest check
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name analyzers
BEGIN_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree showermakertwo END_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree sequence::inline_paths sequence::inline_paths sequence::inline_paths showermakers test
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name