dump_mcparticles.fcl
Go to the documentation of this file.
1 #
2 # File: dump_mcparticles.fcl
3 # Purpose: Dump on screen MC particle content
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: December 3rd, 2015
6 # Version: 1.0
7 #
8 # Service dependencies:
9 # - message facility
10 #
11 
12 process_name: DumpMCParticles
13 
14 services: {
15 
16  message: {
17  # debugModules: [ "*" ]
18  destinations: {
19 
20  # grab all the "DumpMCParticles" messages and put them in DumpMCParticles.log
21  DumpMCParticles: {
22  append: false
23  categories: {
24  DumpMCParticles: { limit: -1 }
25  default: { limit: 0 }
26  }
27  filename: "DumpMCParticles.log"
28  threshold: "INFO"
29  type: "file"
30  } # DumpMCParticles
31 
32  LogStandardOut: {
33  categories: {
34  AnaBaseDefaultCtor: { limit: 0 }
35  GeometryBadInputPoint: {
36  limit: 5
37  timespan: 1000
38  }
39  RecoBaseDefaultCtor: { limit: 0 }
40  DumpMCParticles: { limit: 0 }
41  default: {}
42  }
43  threshold: "WARNING"
44  type: "cout"
45  } # LogStandardOut
46 
47  } # destinations
48  } # message
49 } # services
50 
51 
52 source: {
53  module_type: RootInput
54 } # source
55 
56 
57 physics: {
58  producers:{}
59  filters: {}
60  analyzers: {
61  dumpmcparticles: {
62  module_label: dumpmcparticles
63  module_type: DumpMCParticles
64 
65  # output category ("OutputCategory" by default), useful for filtering (see above)
66  OutputCategory: "DumpMCParticles"
67 
68  # specify the label of the simb::MCParticle data product (or producer)
69  InputParticles: "geant"
70 
71  # print this many trajectory points per output line (default: 3; 0 skips all)
72  PointsPerLine: 2
73 
74  } # dumpmcparticles
75  } # analyzers
76 
77  dumpers: [ dumpmcparticles ]
78 
79  trigger_paths: []
80  end_paths: [ dumpers ]
81 
82 } # physics