Skip to content

Commit b942dce

Browse files
committed
small fix
1 parent d7b7489 commit b942dce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PWGDQ/Tasks/DalitzSelection.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ struct DalitzSelection {
320320
// Check if this device subscribed to the dalitz table
321321
for (auto const& input : device.inputs) {
322322
if (o2::framework::DataSpecUtils::partialMatch(input.matcher, o2::header::DataOrigin("AOD"))) {
323-
auto&& [origin, description, version] = o2::framework::DataSpecUtils::asConcreteDataMatcher(input.matcher);
324323
std::string tableName = "DalitzBits";
325324
if (input.matcher.binding == tableName) {
326325
LOGF(info, "Device %s has subscribed to %s", device.name, "DalitzBits");
@@ -345,7 +344,7 @@ struct DalitzSelection {
345344
if (fullTrack.pt() < fConfigCuts.fConfigPtLow) {
346345
continue;
347346
}
348-
if (abs(fullTrack.eta()) > fConfigCuts.fConfigEtaCut) {
347+
if (std::fabs(fullTrack.eta()) > fConfigCuts.fConfigEtaCut) {
349348
continue;
350349
}
351350
if (fullTrack.hasTPC() && (fullTrack.tpcNSigmaEl() < fConfigCuts.fConfigTPCNSigLow || fullTrack.tpcNSigmaEl() > fConfigCuts.fConfigTPCNSigHigh)) {

0 commit comments

Comments
 (0)