exploder_outofrange.fcl
Go to the documentation of this file.
1 #
2 # File: exploder_outofrange.fcl
3 # Purpose: Run a module throwing a std::out_of_range exception
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: March 21, 2018
6 #
7 
8 process_name: OutOfRange
9 
10 source: {
11  module_type: EmptyEvent
12  maxEvents: 1
13 } # source
14 
15 
16 physics: {
17 
18  analyzers: {
19 
20  exploder: {
21 
22  module_type: "larexamples/DebuggingExamples/CatchException/Exploder"
23 
24  # catch everything until the std::out_of_range exception
25  ManageBadAlloc: true
26  ManageOutOfRange: false
27  ManageArtException: false
28 
29  } # exploder
30 
31  } # analyzers
32 
33  then: [ "exploder" ]
34 
35  trigger_paths: [ ]
36  end_paths: [ then ]
37 
38 } # physics