ATLAS Offline Software
MuonSpectrometer
MuonPhaseII
MuonPatternRecognition
MuonPatternHelpers
MuonPatternHelpers
MatrixUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONPATTERNHELPERS_UTILS_H
5
#define MUONPATTERNHELPERS_UTILS_H
6
#include <
CxxUtils/ArrayHelper.h
>
7
#include <array>
8
9
namespace
MuonR4
{
11
constexpr
double
sign
(
const
double
x
) {
12
return
x
> 0. ? 1. :
x
< 0. ? -1. : 0.;
13
}
14
}
15
#endif
x
#define x
ArrayHelper.h
MuonR4::sign
constexpr double sign(const double x)
Returns the sign of a number.
Definition:
MatrixUtils.h:11
MuonR4
This header ties the generic definitions in this package.
Definition:
HoughEventData.h:16
Generated on Mon Sep 29 2025 21:14:21 for ATLAS Offline Software by
1.8.18