You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KrCluster adjusted for leader pad method and no more clusters found over ROC boundaries. (#4976)
* Added new variables to KrCluster for leader pad method and no more clusters found over ROC boundaries.
* KrCluster Finder can now take gain maps into account.
* Changed some variable types back to unsigned int to save memory.
* Changed the way to specify a CalDet file.
* Included all suggestions regarding KrClusterFinder.
* Search for charge maxima only in exisiting pads.
* A few comments are now more precise.
* Using the default constructor.
Copy file name to clipboardExpand all lines: Detectors/TPC/reconstruction/include/TPCReconstruction/KrBoxClusterFinder.h
+36-9Lines changed: 36 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@
53
53
/// the arrays are larger than a sector. For the size in row-direction, a constant is used.
54
54
/// For time and pad direction, a number is set (here is room for improvements).
55
55
///
56
-
/// When data from a new sector is encountered, the method
56
+
/// ToDo: Find an elegant way to split the huge map into four (IROC, OROC1, OROC2 and OROC3) smaller maps. Unfortunately, this seems to interfere with the rest of the code.
57
57
///
58
58
/// How to use:
59
59
/// Load tpcdigits.root
@@ -72,6 +72,8 @@
72
72
#include"TPCReconstruction/KrCluster.h"
73
73
#include"TPCBase/Mapper.h"
74
74
75
+
#include"TPCBase/CalDet.h"
76
+
75
77
#include<tuple>
76
78
#include<vector>
77
79
#include<array>
@@ -93,7 +95,16 @@ class KrBoxClusterFinder
93
95
{
94
96
public:
95
97
/// Constructor:
96
-
explicitKrBoxClusterFinder(std::vector<o2::tpc::Digit>& eventSector); ///< Creates a 3D Map
98
+
/// The constructor allocates a three dimensional array (Pad,Row,Time) which is
99
+
/// later filled with the recorded charges for each digit
100
+
explicitKrBoxClusterFinder() = default;
101
+
102
+
/// If a gain map exists, the map can be loaded with this function
103
+
/// The function expects a CalDet file with a gain map (gain entry for each pad).
0 commit comments