hitcollectioncreator_test.fcl
Go to the documentation of this file.
1 #
2 # File: hitcollectioncreator_test.fcl
3 # Author: Gianluca Petrillo (petrillo@fnal.gov)
4 # Date: June 12, 2017
5 #
6 # Purpose: run all tests from HitCollectionCreatorTest module.
7 #
8 # hitCollCreatorTest creates a collection of hits using
9 # recob::HitCollectionCreator.
10 # This collection is checked by the analyzer checkHitColl.
11 #
12 
13 process_name: HitCollTest
14 
15 source: {
16  module_type: "EmptyEvent"
17  maxEvents: 2
18 }
19 
20 physics: {
21 
22  producers: {
23 
24  hitCollCreatorTest: {
25  module_type: "HitCollectionCreatorTest"
26  instanceName: "test"
27  } # hitCollCreatorTest
28 
29  } # producers
30 
31  analyzers: {
32  checkHitColl: {
33  module_type: "HitDataProductChecker"
34  hits:
35  [
36  {
37  name: "hitCollCreatorTest:test"
38  expected: 3
39  }
40  ] # hits
41  } # checkHitColl
42  } # analyzers
43 
44  test: [ "hitCollCreatorTest" ]
45  check: [ "checkHitColl" ]
46 
47  trigger_paths: [ "test" ]
48  end_paths: [ "check" ]
49 
50 } # physics