clustermodules.fcl
Go to the documentation of this file.
1 #include "hitalgorithms.fcl"
2 #include "clusteralgorithms.fcl"
3 #include "showeralgorithms.fcl"
4 
5 BEGIN_PROLOG
6 
7 standard_trajcluster:
8 {
9  module_type: "TrajCluster"
10  TrajClusterAlg: @local::standard_trajclusteralg
11  # don't recosntruct a slice if it has more than MaxSliceHits
12  MaxSliceHits: 50000
13  DoWireAssns: true
14  DoRawDigitAssns: false
15  SaveAll2DVertices: false
16  HitModuleLabel: "gaushit"
17  SpacePointModuleLabel: "NA"
18  SpacePointHitAssnLabel: "hitpdune"
19 } # standard_trajcluster
20 
21 standard_blurredcluster:
22 {
23  module_type: "BlurredClustering"
24  CreateDebugPDF: false
25  MergeClusters: false
26  GlobalTPCRecon: true
27  ShowerReconOnly: false
28  HitsModuleLabel: "gaushit"
29  TrackModuleLabel: "pmtrack"
30  VertexModuleLabel: "linecluster"
31  PFParticleModuleLabel: "pandora"
32  BlurredClusterAlg: @local::standard_blurredclusteralg
33  MergeClusterAlg: @local::standard_mergeclusteralg
34  TrackShowerSeparationAlg: @local::standard_trackshowersepalg
35 }
36 
37 standard_clusterpca:
38 {
39  module_type: "ClusterPCA"
40  ClusterModuleLabel: "dbcluster"
41  NormPC: true
42 }
43 
44 standard_dbcluster:
45 {
46  module_type: "DBcluster"
47  HitsModuleLabel: "ffthit"
48  DBScanAlg: @local::standard_dbscanalg
49 }
50 
51 standard_dbcluster3d:
52 {
53  module_type: "DBCluster3D"
54  HitModuleLabel: "hitpdune"
55  SpacePointModuleLabel: "reco3d"
56  SPHitAssnLabel: "hitpdune"
57  DBScan3DAlg: @local::standard_dbscan3dalg
58  MinHitDis: 10
59 }
60 
61 standard_clustercrawler:
62 {
63  module_type: "ClusterCrawler"
64  ClusterCrawlerAlg: @local::standard_clustercrawleralg
65  CCHitFinderAlg: @local::standard_cchitfinderalg
66 }
67 
68 standard_linecluster:
69 {
70 # this is the cluster finding component of former ClusterCrawler
71  module_type: "LineCluster"
72  HitFinderModuleLabel: "gaushit"
73  DoWireAssns: true
74  DoRawDigitAssns: false
75  ClusterCrawlerAlg: @local::standard_clustercrawleralg
76 } # standard_linecluster
77 
78 
79 standard_simplelinecluster:
80 {
81 # this is the cluster finding component of former ClusterCrawler
82  module_type: "SimpleLineCluster"
83  HitFinderModuleLabel: "hitpdune"
84  PFParticleModuleLabel: "dbcluster"
85  ClusterCrawlerAlg: @local::standard_clustercrawleralg
86 } # standard_linecluster
87 
88 standard_fuzzycluster:
89 {
90  module_type: "fuzzyCluster"
91  HitsModuleLabel: "gaushit"
92  HoughSeed: 10 # The user supplied seed the generator uses for the
93  # Hough transform, if it is zero a seed is randomly created
94  fuzzyClusterAlg: @local::standard_fuzzyclusteralg
95 }
96 
97 standard_cluster3d:
98 {
99  module_type: "Cluster3D"
100  HitFinderModuleLabel: "gaushit"
101  EnableMonitoring: false
102  EnableProduction: false
103  Hit3DBuilderAlg: @local::standard_standardhit3dbuilder
104  ClusterAlg: @local::standard_cluster3dminSpanTreeAlg
105  ClusterMergeAlg: @local::standard_cluster3dMergeAlg
106  ClusterPathAlg: @local::standard_cluster3dPathAlg
107  ClusterParamsBuilder: @local::standard_cluster3dParamsBuilder
108  PrincipalComponentsAlg: @local::standard_cluster3dprincipalcomponentsalg
109  SkeletonAlg: @local::standard_cluster3dskeletonalg
110  SeedFinderAlg: @local::standard_cluster3dhoughseedfinderalg
111  PCASeedFinderAlg: @local::standard_cluster3dpcaseedfinderalg
112  ParallelHitsAlg: @local::standard_cluster3dparallelhitsseedfinderalg
113 }
114 
115 standard_clustertrackana:
116 {
117  module_type: "ClusterTrackAna"
118  HitModuleLabel: "gaushit"
119  ClusterModuleLabel: "trajcluster" # specify a cluster collection
120  TrackModuleLabel: "NA" # OR specify a track collection
121  TruthOrigin: 0 # [0 (everything) 1(nu), 2(cosmic), 3(SN nu), 4(SingleParticle)]
122  PrintLevel: 0
123  # 0 = job summary, 1 = only BadEP clusters, 2 = all clusters, 3 = all planes, 4 = all MCParticles
124  BadEP: 0.0 # print cluster/track details if Efficiency * Purity is < BadEP
125  #InTPC: 1 # only consider cluster hits or track hits in one TPC (debugging)
126 }
127 
128 standard_clusterana:
129 {
130  module_type: "ClusterAna"
131  HitsModuleLabel: "cccluster"
132  ClusterModuleLabel: "cccluster"
133  VertexModuleLabel: "cccluster"
134  ElecKERange: [50, 10000] # Min, max KE (MeV) for matching Primary only
135  MuonKERange: [50, 10000] # Min, max KE (MeV) for matching
136  PionKERange: [50, 10000] # Min, max KE (MeV) for matching
137  KaonKERange: [50, 10000] # Min, max KE (MeV) for matching
138  ProtKERange: [50, 10000] # Min, max KE (MeV) for matching
139  TrackWeightOption: 1 # 0 = equal weighting, 1 = weight by kinetic energy
140  MergeDaughters: true # merge daughter MC particles with mothers (not electrons)
141  SkipCosmics: true # do not evaluate cosmic rays
142  PrintLevel: 0 # 0 = none, 1 = event summary, 2 += each MC particle, 3 += truth
143 }
144 
145 standard_clusteringvalidation:
146 {
147  module_type: "ClusteringValidation"
148  MinHitsInPlane: 0
149  HitsModuleLabel: "dcheat"
150  ClusterModuleLabel: [ "dbcluster", "blurredclustering" ]
151 }
152 
153 standard_dbclusterana:
154 {
155  module_type: "DBclusterAna"
156  DigitModuleLabel: "daq"
157  HitsModuleLabel: "ffthit"
158  LArGeantModuleLabel: "largeant"
159  CalDataModuleLabel: "caldata"
160  GenieGenModuleLabel: "generator"
161  ClusterFinderModuleLabel: "dbcluster"
162 }
163 
164 standard_houghlinefinder:
165 {
166  module_type: "HoughLineFinder"
167  DBScanModuleLabel: "dbcluster"
168  HoughSeed: 0 # The user supplied seed the generator uses for the
169  # Hough transform, if it is zero a seed is randomly created
170  MaxLines: 5
171  MinHits: 3
172  SaveAccumulator: 0
173  NumAngleCells: 5000
174  RhoResolutionFactor: 5
175  SmootherSigma: 0.
176  MaxDistance: 5.
177  RhoZeroOutRange: 0
178  ThetaZeroOutRange: 0
179  HitsPerCluster: 1
180  HoughBaseAlg: @local::standard_houghbasealg
181 }
182 
183 standard_houghlinefinderana:
184 {
185  module_type: "HoughLineFinderAna"
186  DigitModuleLabel: "wiresim"
187  HitsModuleLabel: "ffthit"
188  DBScanModuleLabel: "fuzzycluster"
189  HoughModuleLabel: "hough"
190 }
191 
192 standard_linemerger:
193 {
194  module_type: "LineMerger"
195  ClusterModuleLabel: "hough"
196  Slope: 0.35
197  EndpointWindow: 50.
198 }
199 
200 standard_endpointmod:
201 {
202  module_type: "EndPointModule"
203  DBScanModuleLabel: "fuzzycluster"
204  EndPointAlg: @local::standard_endpointalg
205 }
206 
207 standard_kingacluster:
208 {
209  module_type: "KingaCluster"
210  DBScanModuleLabel: "dbcluster"
211  EndPoint2DModuleLabel: "vertex2d"
212 }
213 
214 standard_kingaclusterana:
215 {
216  module_type: "KingaClusterAna"
217  LineMergerModuleLabel: "linemerger"
218  EndPoint2DModuleLabel: "vertex2d"
219  ClusterCheaterModuleLabel: "cluster"
220  KingaModuleLabel: "kingacluster"
221  GenieGenModuleLabel: "generator"
222  LArGeantModuleLabel: "largeant"
223 }
224 
225 standard_showeranglecluster:
226 {
227  module_type: "ShowerAngleCluster"
228  ClusterModuleLabel: "dbcluster"
229  ClusterParamsAlg: @local::standard_clusterparamsalg
230  ClusterMatchAlg: @local::standard_clustermatchalg
231  ClusterMergeAlg: @local::standard_clustermergealg
232  ExternalStartPoints: false
233  MinHitListSize: 15
234 }
235 
236 
237 standard_showerangleclusterana:
238 {
239  module_type: "ShowerAngleClusterAna"
240  ClusterModuleLabel: "dbcluster"
241  ClusterParamsAlg: @local::standard_clusterparamsalg
242  ExternalStartPoints: false
243  MinHitListSize: 15
244 }
245 
246 standard_simpleclustermerger:
247 {
248  module_type: "SimpleClusterMerger"
249  InputClusterLabel: "fuzzycluster"
250 }
251 
252 
253 standard_fuzzyclustermerger:
254 {
255  module_type: "FuzzyClusterMerger"
256  InputClusterLabel: "fuzzycluster"
257  TSep1UseEP: true
258  OOCS1MaxAngle: 20. # OutOfConeSeparate 1st stage
259 
260  SDMinHits: 10. # CBAlgoShortestDist # SetMinHits; SetSquaredDistanceCut
261  SDSqDistCut: 5.
262 
263  # 2nd stage merge
264 #TSep2Debug: false # CBAlgoTrackSeparate // SetDebug(false); SetVerbose(false); SetUseEP(true);
265 # TSep2Verbose: false
266  TSep2UseEP: true
267 
268 # OOCS2Debug: false # CBAlgoOutOfConeSeparate // SetDebug(false); SetVerbose(false); SetMaxAngleSep(20.);
269 # OOCS2Verbose: false
270  OOCS2MaxAngle: 20.
271 
272  AI2MinHits: 50 # CBAlgoAngleIncompat // SetMinHits(50); SetAllow180Ambig(true); SetUseOpeningAngle(false);
273  AI2Allow180Ambig: true # // SetAngleCut(10.); SetMinLength(20.); SetDebug(false);
274  AI2UseOpeningAngle: false
275  AI2AngleCut: 10.
276  AI2MinLength: 20.
277 # AI2Debug: false
278 
279 # COM2Debug: false # CBAlgoCenterOfMass // SetDebug(false); SetVerbose(false); UseCOMInPoly(true);
280 # COM2Verbose: false # // UseCOMInCone(true); UseCOMNearClus(true); SetLengthReach(3.);
281  COM2UseCOMInPoly: true
282  COM2UseCOMInCone: true
283  COM2UseCOMNearClus: true
284  COM2SetLengthReach: 3.
285 
286  PO2MinHits: 0 # CBAlgoPolyOverlap // SetMinNumHits(0);
287 
288  PSD2MinHits: 30 # CCBAlgoPolyShortestDist; // SetMinNumHits(30); SetMaxNumHits(9999); SetMinDistSquared(1.); SetDebug(false);
289  PSD2MaxHits: 9999
290  PSD2MinDistSqd: 1
291 
292 
293 
294 
295 }
296 
297 
298 standard_smallclusterfinder:
299 {
300  module_type: "SmallClusterFinder"
301  HitFinderModuleLabel: "hitfinder"
302  smallClustAlg: @local::standard_smallclustalg
303  Verbose: false
304 }
305 
306 
307 standard_clustercheater:
308 {
309  module_type: "ClusterCheater"
310  MCGeneratorLabel: "generator" #needed for MC vertex extraction
311  HitModuleLabel: "hit"
312  G4ModuleLabel: "largeant"
313  HoughBaseAlg: @local::standard_houghbasealg
314 }
315 
316 jp250L_dbcluster: @local::standard_dbcluster
317 jp250L_fuzzycluster: @local::standard_fuzzycluster
318 jp250L_fuzzycluster.HoughBaseAlg: @local::standard_houghbasealg
319 jp250L_dbcluster.DBScanAlg: @local::jp250L_dbscanalg
320 jp250L_dbclusterana: @local::standard_dbclusterana
321 jp250L_kingacluster: @local::standard_kingacluster
322 jp250L_kingaclusterana: @local::standard_kingaclusterana
323 jp250L_houghlinefinder: @local::standard_houghlinefinder
324 jp250L_houghlinefinder.HoughBaseAlg: @local::jp250L_houghbasealg
325 jp250L_houghlinefinderana: @local::standard_houghlinefinderana
326 jp250L_linemerger: @local::standard_linemerger
327 jp250L_endpointmod: @local::standard_endpointmod
328 jp250L_endpointmod.EndPointAlg: @local::jp250L_endpointalg
329 jp250L_showeranglecluster: @local::standard_showeranglecluster
330 
331 
332 bo_clustercrawler: @local::standard_clustercrawler
333 bo_dbcluster: @local::standard_dbcluster
334 bo_fuzzycluster: @local::standard_fuzzycluster
335 bo_fuzzycluster.HoughBaseAlg: @local::standard_houghbasealg
336 bo_dbcluster.DBScanAlg: @local::bo_dbscanalg
337 bo_dbclusterana: @local::standard_dbclusterana
338 bo_kingacluster: @local::standard_kingacluster
339 bo_kingaclusterana: @local::standard_kingaclusterana
340 bo_houghlinefinder: @local::standard_houghlinefinder
341 bo_houghlinefinder.HoughBaseAlg: @local::bo_houghbasealg
342 bo_houghlinefinderana: @local::standard_houghlinefinderana
343 bo_linemerger: @local::standard_linemerger
344 bo_endpointmod: @local::standard_endpointmod
345 bo_endpointmod.EndPointAlg: @local::bo_endpointalg
346 bo_showeranglecluster: @local::standard_showeranglecluster
347 
348 
349 argoneut_clustercrawler: @local::standard_clustercrawler
350 argoneut_dbcluster: @local::standard_dbcluster
351 argoneut_fuzzycluster: @local::standard_fuzzycluster
352 argoneut_fuzzycluster.HoughBaseAlg: @local::standard_houghbasealg
353 argoneut_dbcluster.DBScanAlg: @local::argoneut_dbscanalg
354 argoneut_dbclusterana: @local::standard_dbclusterana
355 argoneut_kingacluster: @local::standard_kingacluster
356 argoneut_kingaclusterana: @local::standard_kingaclusterana
357 argoneut_houghlinefinder: @local::standard_houghlinefinder
358 argoneut_houghlinefinder.HoughBaseAlg: @local::argoneut_houghbasealg
359 argoneut_houghlinefinderana: @local::standard_houghlinefinderana
360 argoneut_linemerger: @local::standard_linemerger
361 argoneut_endpointmod: @local::standard_endpointmod
362 argoneut_endpointmod.EndPointAlg: @local::argoneut_endpointalg
363 argoneut_showeranglecluster: @local::standard_showeranglecluster
364 argoneut_smallclusterfinder: @local::standard_smallclusterfinder
365 argoneut_showerangleclusterana: @local::standard_showerangleclusterana
366 argoneut_showerangleclusterana.ClusterParamsAlg: @local::argoneut_clusterparamsalg
367 
368 END_PROLOG