ATLAS Offline Software
Loading...
Searching...
No Matches
Conversions.h File Reference
#include <math.h>
#include <string>
Include dependency graph for Conversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TSU

Functions

int TSU::toTopoInteger (float value, unsigned int resolution)
unsigned int TSU::toTopoPhi (float phi)
int TSU::toTopoEta (float eta)
int TSU::toSigned (unsigned bits, unsigned length)
int TSU::toSigned (const std::string &bits)

Variables

static constexpr float TSU::phiRescaleFactor = 3.2/M_PI
static constexpr unsigned int TSU::phiIntegerResolution = 20
static constexpr unsigned int TSU::etaIntegerResolution = 40