Skip to content
Merged
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
3 changes: 1 addition & 2 deletions ALICE3/Core/DelphesO2TrackSmearer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ lutEntry_t* TrackSmearer::getLUTEntry(const int pdg, const float nch, const floa
{
const int ipdg = getIndexPDG(pdg);
if (!mLUTHeader[ipdg]) {
LOG(error) << " --- getLUTEntry: LUT header not loaded for pdg=" << pdg << ". Returning nullptr.";
return nullptr;
}

auto inch = mLUTHeader[ipdg]->nchmap.find(nch);
auto irad = mLUTHeader[ipdg]->radmap.find(radius);
auto ieta = mLUTHeader[ipdg]->etamap.find(eta);
Expand Down Expand Up @@ -281,7 +281,6 @@ bool TrackSmearer::smearTrack(O2Track& o2track, lutEntry_t* lutEntry, float inte

bool TrackSmearer::smearTrack(O2Track& o2track, int pdg, float nch)
{

auto pt = o2track.getPt();
switch (pdg) {
case o2::constants::physics::kHelium3:
Expand Down
Loading