All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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: {
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: {
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
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
void DumpGTruth(Stream &&out, simb::GTruth const &truth, std::string indent, std::string firstIndent)
Dumps the content of the GENIE truth in the output stream.
Definition: MCDumpers.h:379
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
process_name gaushitTPC3 gaushitTPC3 filters
BEGIN_PROLOG could also be dds filename
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
void DumpMCTruth(Stream &&out, simb::MCTruth const &truth, unsigned int pointsPerLine, std::string indent, std::string firstIndent)
Dumps the content of the specified MC truth in the output stream.
Definition: MCDumpers.h:346
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name analyzers
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name