Skip to content

Commit

Permalink
Fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
VourMa committed Jul 21, 2024
1 parent e54c6f1 commit 304929e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/Event.dev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,6 @@ lst::TrackCandidatesBuffer<DevHost>* lst::Event<Acc3D>::getTrackCandidatesInCMSS
return trackCandidatesInCPU;
}

<<<<<<< HEAD
lst::ModulesBuffer<DevHost>* lst::Event<Acc3D>::getModules(bool isFull) {
if (modulesInCPU == nullptr) {
// The last input here is just a small placeholder for the allocation.
Expand Down
2 changes: 1 addition & 1 deletion RecoTracker/LSTCore/src/alpaka/LST.dev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ void lst::LST<Acc3D>::getOutput(lst::Event<Acc3D>& event) {
std::vector<short> tc_trackCandidateType;

lst::HitsBuffer<alpaka::DevCpu>& hitsInGPU = (*event.getHitsInCMSSW());
lst::TrackCandidatesBuffer<alpaka::DevCpu>& trackCandidatesInGPU = (*event.getTrackCandidatesInCMSSW());
lst::TrackCandidates const* trackCandidates = event.getTrackCandidatesInCMSSW()->data();

unsigned int nTrackCandidates = *trackCandidates->nTrackCandidates;
for (unsigned int idx = 0; idx < nTrackCandidates; idx++) {
Expand Down
4 changes: 2 additions & 2 deletions RecoTracker/LSTCore/src/alpaka/ObjectRanges.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "RecoTracker/LSTCore/interface/Constants.h"

namespace SDL {
namespace lst {

struct ObjectRanges {
int* hitRanges;
Expand Down Expand Up @@ -151,5 +151,5 @@ namespace SDL {
void setData(ObjectRangesBuffer& buf) { data_.setData(buf); }
};

} // namespace SDL
} // namespace lst
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void setPixelQuintupletOutputBranches(lst::Event<Acc3D>* event) {
for (unsigned int pT5 = 0; pT5 < nPixelQuintuplets; pT5++) {
unsigned int T5Index = getT5FrompT5(event, pT5);
unsigned int pLSIndex = getPixelLSFrompT5(event, pT5);
float pt = (__H2F(quintuplets->innerRadius[T5Index]) * SDL::k2Rinv1GeVf * 2 + segments->ptIn[pLSIndex]) / 2;
float pt = (__H2F(quintuplets->innerRadius[T5Index]) * lst::k2Rinv1GeVf * 2 + segments->ptIn[pLSIndex]) / 2;
float eta = segments->eta[pLSIndex];
float phi = segments->phi[pLSIndex];

Expand Down

0 comments on commit 304929e

Please sign in to comment.