}
Int_t MClabel = TMath::Abs(track->GetLabel());
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel != 0) continue;
// this is not a MC particle; remove it completely
Double_t cellFrac = clus->GetCellAmplitudeFraction(iCell);
Int_t MClabel = TMath::Abs(fCaloCells->GetCellMCLabel(cellId));
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel != 0) continue;
// this is not a MC particle; remove it completely
clus->GetMomentum(part, const_cast<Double_t*>(fVertex));
Int_t MClabel = TMath::Abs(clus->GetLabel());
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel != 0) continue;
// this is not a MC particle; remove it completely
continue;
}
Int_t MClabel = TMath::Abs(track->GetLabel());
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel <= 0) continue;
Int_t index = -1;
Double_t cellFrac = clus->GetCellAmplitudeFraction(iCell);
Int_t MClabel = TMath::Abs(fCaloCells->GetCellMCLabel(cellId));
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel <= 0) continue;
Int_t index1 = -1;
clus->GetMomentum(part, const_cast<Double_t*>(fVertex));
Int_t MClabel = TMath::Abs(clus->GetLabel());
- if (MClabel > fMCLabelShift) MClabel -= fMCLabelShift;
+ MClabel -= fMCLabelShift;
if (MClabel <= 0) continue;
Int_t index = -1;