exploder_disturbed_artexception.fcl
Go to the documentation of this file.
1 #
2 # File: exploder_disturbed_artexception.fcl
3 # Purpose: Run a module eventually throwing a art::Exception
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: March 21, 2018
6 #
7 # Before the art::Exception exception is thrown, many more are also thrown
8 # and caught.
9 #
10 
11 process_name: DAE
12 
13 source: {
14  module_type: EmptyEvent
15  maxEvents: 1
16 } # source
17 
18 
19 physics: {
20  producers: {
21 
22  disturber: {
23 
24  module_type: "larexamples/DebuggingExamples/CatchException/Disturbance"
25 
26  NArtExceptions: 500
27 
28  } # disturber
29 
30  } # producers
31 
32  analyzers: {
33 
34  exploder: {
35 
36  module_type: "larexamples/DebuggingExamples/CatchException/Exploder"
37 
38  # catch everything until the art exception
39  ManageBadAlloc: true
40  ManageOutOfRange: true
41  ManageArtException: false
42 
43  } # exploder
44 
45  } # analyzers
46 
47  first: [ "disturber" ]
48  then: [ "exploder" ]
49 
50  trigger_paths: [ first ]
51  end_paths: [ then ]
52 
53 } # physics
54