exploder_badalloc.fcl
Go to the documentation of this file.
1 #
2 # File: exploder_badalloc.fcl
3 # Purpose: Run a module throwing a std::bad_alloc exception
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: March 21, 2018
6 #
7 
8 process_name: LengthError
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  # don't catch any exception
25  ManageBadAlloc: false
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