Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class GPUExternalAllocator final : public o2::its::ExternalAllocator
void releaseAll();

private:
enum class AllocationSpace { Host, Device };
enum class AllocationSpace { Host,
Device };

struct AllocationMeta {
AllocationSpace space;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,10 @@ void TimeFrameMixin<nLayers, Base>::addTruthSeedingVertices(gsl::span<const o2::
clockLayer.getROFStartInBC(rofId),
static_cast<o2::its::TimeStampErrorType>(rofLength)});
vert.setNContributors(std::max(1L, std::ranges::count_if(
mcReader.getTracks(iSrc, iEve),
[](const auto& trk) {
return trk.isPrimary() && trk.GetPt() > 0.05 && std::abs(trk.GetEta()) < 1.1;
})));
mcReader.getTracks(iSrc, iEve),
[](const auto& trk) {
return trk.isPrimary() && trk.GetPt() > 0.05 && std::abs(trk.GetEta()) < 1.1;
})));
vert.setXYZ((float)eve.GetX(), (float)eve.GetY(), (float)eve.GetZ());
vert.setChi2(1);
constexpr float cov = 50e-9f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ std::vector<o2::its::TrackingParameters> TrackerDPL::createTrackingParamsFromCon
}
};



if (mHitRecoConfig.contains("trackingparams") && mHitRecoConfig["trackingparams"].is_array()) {
loadTrackingParamsFromJson(trackingParams, mHitRecoConfig["trackingparams"]);
} else if (mClusterRecoConfig.contains("trackingparams") && mClusterRecoConfig["trackingparams"].is_array()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class Clusterer
std::vector<o2::trk::MC2ROFRecord>* clusterMC2ROFs = nullptr);

static o2::math_utils::Point3D<float> getClusterLocalCoordinates(const Cluster& cluster, const uint8_t* patt,
float yPlaneMLOT = 0.f) noexcept;
float yPlaneMLOT = 0.f) noexcept;

protected:
int mNHugeClus = 0;
Expand Down