Commit b0e491f
authored
ClusterSearcher and RecoCluster (#365)
* -Updated DigitBuilder to be more consistent with, but independent of ClusterFinder's corresponding functions
--Added some extra features, such as hit LAPPD count and strip-by-strip LAPPD hits.
-Added ClusterSearcher to replace ClusterFinder using RecoDigit and RecoCluster classes
-Updated RecoDigit and RecoCluster classes for corresponding use and new features, such as various cluster parameters
-Added NeutronCheck tool as output for RecoCluster information
-Added sample toolchain configfolder for using the new tools
* Update to previous commit in accordance with feedback:
-Changed RecoCluster and RecoDigit lists in several tools to be vectors of objects, rather than vectors of pointers, to avoid memory complications
-removed unused convex hull function from RecoCluster class
-simplified CalcAS function in RecoCluster class by consolidating for loops
-removed several instances of commented-out code from older versions
-removed several debug outputs
-altered hard-coded time window values in several instances to rely on configuration input
-added use of the true Q2 value from the GenieInfo store to NeutronCheck's output.
-removed several uncontrolled cout lines, and replaced useful ones with Log.
-Tidied the Instance() function of ClusterSearcher
-Added vertex information to NeutronCheck
* Removed ClusterCA from NeutronCheck to fix bug.
* Modified HitCleaner for non-pointer Digits list.
* Update/fix to ClusterSearcher sample toolchain.
* Removed HitCleaner::FilterByClusters because it is neither functional nor memory-safe with recent changes to RecoDigit storage.
* -removed unused configvariable ArgonFV from ClusterSearcher/EventSelectorConfig
-removed unhelpful forced loop end from single-pe gains extraction in ClusterSearcher::Initialize()
-changed Genie version in ClusterSearcher/LoadGenieEventConfig to 1
* Fixed memory leak caused by double-pointing to the same object
-replaced all instances of fClusterList with fRecoClusters in ClusterSearcher
-changed ClusterSearcher::RecoClusters() to a void function, since it was returning a member pointer to itself
-removed ClusterSearcher::SelectByClusters(), which is not used
* Pointer cleanup in RecoClusterClass1 parent 91d5cd8 commit b0e491f
28 files changed
Lines changed: 2786 additions & 276 deletions
File tree
- DataModel
- UserTools
- ClusterSearcher
- DigitBuilder
- Factory
- HitCleaner
- NeutronCheck
- configfiles/ClusterSearcher
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
| |||
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
19 | | - | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
22 | 38 | | |
23 | 39 | | |
24 | 40 | | |
25 | 41 | | |
| 42 | + | |
26 | 43 | | |
27 | 44 | | |
28 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
29 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
30 | 116 | | |
31 | | - | |
32 | 117 | | |
33 | 118 | | |
34 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
36 | 47 | | |
37 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
38 | 53 | | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| 58 | + | |
43 | 59 | | |
44 | 60 | | |
| 61 | + | |
45 | 62 | | |
46 | 63 | | |
47 | 64 | | |
| |||
52 | 69 | | |
53 | 70 | | |
54 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
55 | 75 | | |
56 | 76 | | |
57 | 77 | | |
| |||
70 | 90 | | |
71 | 91 | | |
72 | 92 | | |
| 93 | + | |
73 | 94 | | |
74 | 95 | | |
| 96 | + | |
75 | 97 | | |
76 | 98 | | |
77 | 99 | | |
| |||
0 commit comments