dump_pfparticles.fcl
Go to the documentation of this file.
1 #
2 # File: dump_pfparticles.fcl
3 # Purpose: Dump on screen PFParticle content
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: September 25th, 2015
6 # Version: 1.1
7 #
8 # Service dependencies:
9 # - message facility
10 #
11 # Input:
12 # - collections of particle flow particles, vertices, space points and tracks
13 # from a module labelled "cluster3d"
14 #
15 # Output:
16 # - a single text file "DumpPFParticles.log" with the collections mentioned
17 # above dumped
18 #
19 #
20 # Changes:
21 # 20150925 (petrillo@fnal.gov) [v1.0]
22 # first version
23 # 20160908 (petrillo@fnal.gov) [v1.1]
24 # updated configuration for DumpPFParticles
25 #
26 
27 process_name: DumpPFParticles
28 
29 services: {
30 
31  message: {
32  # debugModules: [ "*" ]
33  destinations: {
34 
35  # grab all the "DumpPFParticles" messages and put them in DumpPFParticles.log
36  LogPFParticles: {
37  append: false
38  categories: {
39  DumpSeeds: { limit: -1 }
40  DumpVertices: { limit: -1 }
41  DumpTracks: { limit: -1 }
42  DumpPFParticles: { limit: -1 }
43  default: { limit: 0 }
44  }
45  filename: "DumpPFParticles.log"
46  threshold: "INFO"
47  type: "file"
48  } # LogPFParticles
49 
50  LogStandardOut: {
51  categories: {
52  AnaBaseDefaultCtor: { limit: 0 }
53  RecoBaseDefaultCtor: { limit: 0 }
54  DumpSeeds: { limit: 0 }
55  DumpVertices: { limit: 0 }
56  DumpTracks: { limit: 0 }
57  DumpPFParticles: { limit: 0 }
58  default: {}
59  }
60  threshold: "WARNING"
61  type: "cout"
62  } # LogStandardOut
63 
64  } # destinations
65  } # message
66 } # services
67 
68 
69 source: {
70  module_type: RootInput
71  maxEvents: -1 # number of events to read
72 } # source
73 
74 
75 physics: {
76  producers:{}
77  filters: {}
78  analyzers: {
79 
80  dumpparticles: {
81  module_label: dumpparticles
82  module_type: DumpPFParticles
83 
84  # output category ("DumpPFParticles" by default), useful for filtering (see above)
85  OutputCategory: "DumpPFParticles"
86 
87  # specify the label of recob::PFParticle producer
88  PFModuleLabel: "cluster3d"
89 
90  # max descend steps into particle hierarchy
91  MaxDepth: 50
92 
93  # do not produce dot files (false by default)
94  MakeParticleGraphs: false
95 
96  } # dumpparticles
97 
98  dumptracks: {
99  module_label: dumptracks
100  module_type: DumpTracks
101 
102  # output category ("DumpTracks" by default), useful for filtering (see above)
103  OutputCategory: "DumpTracks"
104 
105  # specify the label of recob::Track producer
106  TrackModuleLabel: "cluster3d"
107 
108  } # dumptracks
109 
110  dumpseeds: {
111  module_label: dumpseeds
112  module_type: DumpSeeds
113 
114  # output category ("DumpSeeds" by default), useful for filtering (see above)
115  OutputCategory: "DumpSeeds"
116 
117  # specify the label of recob::Seed producer
118  SeedModuleLabel: "cluster3d"
119 
120  } # dumpseeds
121 
122  dumpvertices: {
123  module_label: dumpvertices
124  module_type: DumpVertices
125 
126  # output category ("DumpVertices" by default), useful for filtering (see above)
127  OutputCategory: "DumpVertices"
128 
129  # specify the label of recob::Vertex producer
130  VertexModuleLabel: "cluster3d"
131 
132  } # dumpparticles
133 
134  } # analyzers
135 
136  ana: [ dumpparticles, dumptracks, dumpseeds, dumpvertices ]
137 
138  trigger_paths: []
139  end_paths: [ ana ]
140 } # physics