getProductsCrossPaths_t1.fcl
Go to the documentation of this file.
1 # This configuration is used to verify that products created in one
2 # path cannot be retrieved from another. The 'IntReaderThenProducer'
3 # module checks to see if a product is present, and if so, it adds to
4 # it a delta value. With the below configuration, we should get an
5 # exception throw because of the cross-path dependencies.
6 
7 # However, even though the 'IntReaderThenProducer' uses the 'consumes'
8 # interface, an exception is *not* thrown because the data-dependency
9 # checker allows for the possibility of the product originating from
10 # the source, which would not be an error.
11 
12 # To generate an error, the inputTag should have the 'current_process'
13 # special process name included as the process name.
14 
15 source.module_type: EmptyEvent
16 
17 physics: {
18  producers: {
19  m1: {
20  module_type: IntReaderThenProducer
21  inputTag: "m2"
22  deltaValue: 0
23  shouldSucceed: false
24  }
25  m2: {
26  module_type: IntReaderThenProducer
27  inputTag: "m1"
28  deltaValue: 0
29  shouldSucceed: false
30  }
31  }
32 
33  p1: [m1]
34  p2: [m2]
35 }