Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Detectors/Upgrades/ALICE3/TRK/macros/test/CheckClusters.C
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#include "Framework/Logger.h"
#endif



void CheckClusters(const std::string& clusfile = "o2clus_trk.root",
const std::string& hitfile = "o2sim_HitsTRK.root",
const std::string& inputGeom = "o2sim_geometry.root",
Expand Down Expand Up @@ -114,8 +112,8 @@ void CheckClusters(const std::string& clusfile = "o2clus_trk.root",
//
// ──────────────────────────────────────────────────────────────────────────
const float halfThicknessMLOT = o2::trk::SegmentationChip::SiliconThicknessMLOT / 2.f;
const float yPlaneVD = (float)o2::trk::constants::alice3resp::responseYShift; // VD: collection plane 5 µm inside outer (entry) face in flat local frame
const float yPlaneMLOT = halfThicknessMLOT - depthMax; // MLOT: entry @ +halfThick, collection depthMax below entry
const float yPlaneVD = (float)o2::trk::constants::alice3resp::responseYShift; // VD: collection plane 5 µm inside outer (entry) face in flat local frame
const float yPlaneMLOT = halfThicknessMLOT - depthMax; // MLOT: entry @ +halfThick, collection depthMax below entry
LOGP(info, "Response depthMax = {:.4f} cm | VD Y-plane = {:.4f} cm | ML/OT Y-plane = {:.4f} cm",
depthMax, yPlaneVD, yPlaneMLOT);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ class Clusterer
// column buffers (pre-cluster state); extra sentinel entries at [0] and [size-1]
int* column1 = nullptr;
int* column2 = nullptr;
int* curr = nullptr; ///< current column pre-cluster indices
int* prev = nullptr; ///< previous column pre-cluster indices
int* curr = nullptr; ///< current column pre-cluster indices
int* prev = nullptr; ///< previous column pre-cluster indices
int size = constants::moduleMLOT::chip::nRows + 2; ///< reallocated per chip in initChip

// pixels[i] = {next_in_chain, global_digit_index}
Expand All @@ -101,7 +101,7 @@ class Clusterer
uint16_t currCol = 0xffff;
bool noLeftCol = true;

std::array<Label, MaxLabels> labelsBuff; ///< MC label buffer for one cluster
std::array<Label, MaxLabels> labelsBuff; ///< MC label buffer for one cluster
std::vector<std::pair<uint16_t, uint16_t>> pixArrBuff; ///< (row,col) pixel buffer for pattern

// per-thread output (accumulated, then merged back by caller)
Expand Down