dump_mctruth.fcl
Go to the documentation of this file.
1 #
2 # File: dump_mctruth.fcl
3 # Purpose: Dump on screen MC truth content
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: February 22nd, 2017
6 # Version: 1.1
7 #
8 # Service dependencies:
9 # - message facility
10 #
11 # Changes
12 # 20170222 (petrillo@fnal.gov) [v1.0]
13 # original version
14 # 20171103 (petrillo@fnal.gov) [v1.1]
15 # added dump of GENIE truth whenever available
16 #
17 
18 process_name: DumpMCTruth
19 
20 services: {
21 
22  message: {
23  # debugModules: [ "*" ]
24  destinations: {
25 
26  # grab all the "DumpMCTruth" messages and put them in DumpMCTruth.log
27  DumpMCTruth: {
28  append: false
29  categories: {
30  DumpMCTruth: { limit: -1 }
31  default: { limit: 0 }
32  }
33  filename: "DumpMCTruth.log"
34  threshold: "INFO"
35  type: "file"
36  } # DumpMCTruth
37 
38  LogStandardOut: {
39  categories: {
40  AnaBaseDefaultCtor: { limit: 0 }
41  GeometryBadInputPoint: {
42  limit: 5
43  timespan: 1000
44  }
45  RecoBaseDefaultCtor: { limit: 0 }
46  DumpMCTruth: { limit: 0 }
47  default: {}
48  }
49  threshold: "WARNING"
50  type: "cout"
51  } # LogStandardOut
52 
53  } # destinations
54  } # message
55 } # services
56 
57 
58 source: {
59  module_type: RootInput
60 } # source
61 
62 
63 physics: {
64  producers:{}
65  filters: {}
66  analyzers: {
67  dumpmctruth: {
68  module_type: DumpMCTruth
69 
70  # output category ("OutputCategory" by default), useful for filtering (see above)
71  OutputCategory: "DumpMCTruth"
72 
73  # specify the label of the simb::MCTruth data products (or producers)
74  # if not specified, will print all of them
75  # InputTruth: [ "generator" ]
76 
77  # print this many trajectory points per output line (default: 3; 0 skips all)
78  # PointsPerLine: 2
79 
80  } # dumpmctruth
81 
82  dumpgenietruth: {
83  module_type: DumpGTruth
84 
85  # output category ("OutputCategory" by default), useful for filtering (see above)
86  OutputCategory: "DumpMCTruth"
87 
88  # specify the label of the simb::MCTruth data products (or producers)
89  # if not specified, will print all of them
90  # InputTruth: [ "generator" ]
91 
92  # we don't take offense in the absence of GENIE truth in the event,
93  # since we might be dumping truth from other generators
94  # (omit this line also when explicitly listing the generator modules by InputTruth)
95  AllowNoTruth: true
96 
97  } # dumpgenietruth
98  } # analyzers
99 
100  dumpers: [ dumpmctruth, dumpgenietruth ]
101 
102  trigger_paths: []
103  end_paths: [ dumpers ]
104 
105 } # physics