![]() |
ATLAS Offline Software
|
#include <L1TopoDataTypes.h>
Public Member Functions | |
L1TopoDataTypes (T v) | |
L1TopoDataTypes (const std::string &b="") | |
L1TopoDataTypes (double d) | |
L1TopoDataTypes (int i) | |
L1TopoDataTypes (unsigned i) | |
template<unsigned P1, unsigned F1> | |
operator L1TopoDataTypes< P1, F1 > () | |
operator float () | |
operator int () | |
operator unsigned () | |
operator int64_t () | |
operator unsigned long long () | |
T | value () const |
T | abs () const |
T | complement () const |
L1TopoDataTypes & | operator+= (const T &value) |
L1TopoDataTypes & | operator- () |
L1TopoDataTypes & | operator*= (const int &factor) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator- (const double &lhs, const L1TopoDataTypes< P1, F1 > &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator- (const L1TopoDataTypes< P1, F1 > &lhs, const double &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator- (const int &lhs, const L1TopoDataTypes< P1, F1 > &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator- (const L1TopoDataTypes< P1, F1 > &lhs, const int &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator+ (const double &lhs, const L1TopoDataTypes< P1, F1 > &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator+ (const L1TopoDataTypes< P1, F1 > &lhs, const double &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator+ (const int &lhs, const L1TopoDataTypes< P1, F1 > &rhs) |
template<unsigned P1, unsigned F1> | |
L1TopoDataTypes< P1+1, F1 > friend | operator+ (const L1TopoDataTypes< P1, F1 > &lhs, const int &rhs) |
float | to_float () const |
unsigned int | prec () const |
unsigned int | frac () const |
Private Attributes | |
T | m_tvalue {} |
Friends | |
template<unsigned P, unsigned FF> | |
L1TopoDataTypes< P, FF > | operator* (const int &factor, L1TopoDataTypes< P, FF > d) |
template<unsigned P, unsigned FF> | |
L1TopoDataTypes< P, FF > | operator* (L1TopoDataTypes< P, FF > d, const int &factor) |
template<unsigned P1, unsigned F1, unsigned P2, unsigned F2> | |
L1TopoDataTypes<((P1-F1) >P2-F2) ?(P1-F1) :(P2-F2))+((F1 > F2) ? F1 :F2),(F1 > F2) ? F1 :F2 > | operator+ (const L1TopoDataTypes< P1, F1 > &lhs, const L1TopoDataTypes< P2, F2 > &rhs) |
template<unsigned P1, unsigned F1, unsigned P2, unsigned F2> | |
L1TopoDataTypes<((P1-F1) >P2-F2) ?(P1-F1) :(P2-F2))+((F1 > F2) ? F1 :F2),(F1 > F2) ? F1 :F2 > | operator- (const L1TopoDataTypes< P1, F1 > lhs, const L1TopoDataTypes< P2, F2 > rhs) |
template<unsigned P1, unsigned F1, unsigned P2, unsigned F2> | |
L1TopoDataTypes<(P1+P2-1 > MAXBITS) ? MAXBITS :P1+P2-1,(P1+P2-1 > MAXBITS) ?(F2 >F1 ? F2 -((P1+P2-1) - MAXBITS) :F1 -((P1+P2-1) - MAXBITS)) :((F1 > F2) ? F1 :F2)> | operator* (const L1TopoDataTypes< P1, F1 > lhs, const L1TopoDataTypes< P2, F2 > rhs) |
template<unsigned P1, unsigned F1, unsigned P2, unsigned F2> | |
L1TopoDataTypes<(P1+P2-1 > MAXBITS) ? MAXBITS :P1+P2-1,(P1+P2-1 > MAXBITS) ?(F2 >F1 ? F2 -((P1+P2-1) - MAXBITS) :F1 -((P1+P2-1) - MAXBITS)) :((F1 > F2) ? F1 :F2)> | operator* (const L1TopoDataTypes< P1, F1 > lhs, const L1TopoDataTypes< P2, F2 > rhs) |
std::ostream & | operator<< (std::ostream &os, const L1TopoDataTypes &d) |
Definition at line 51 of file L1TopoDataTypes.h.
|
inline |
Definition at line 63 of file L1TopoDataTypes.h.
|
inline |
|
inline |
Definition at line 73 of file L1TopoDataTypes.h.
|
inline |
Definition at line 77 of file L1TopoDataTypes.h.
|
inline |
Definition at line 81 of file L1TopoDataTypes.h.
|
inline |
|
inline |
Definition at line 121 of file L1TopoDataTypes.h.
|
inline |
Definition at line 218 of file L1TopoDataTypes.h.
|
inline |
Definition at line 90 of file L1TopoDataTypes.h.
|
inline |
Definition at line 94 of file L1TopoDataTypes.h.
|
inline |
Definition at line 102 of file L1TopoDataTypes.h.
|
inline |
Definition at line 86 of file L1TopoDataTypes.h.
|
inline |
Definition at line 98 of file L1TopoDataTypes.h.
|
inline |
Definition at line 106 of file L1TopoDataTypes.h.
|
inline |
Definition at line 144 of file L1TopoDataTypes.h.
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator+ | ( | const double & | lhs, |
const L1TopoDataTypes< P1, F1 > & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator+ | ( | const int & | lhs, |
const L1TopoDataTypes< P1, F1 > & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator+ | ( | const L1TopoDataTypes< P1, F1 > & | lhs, |
const double & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator+ | ( | const L1TopoDataTypes< P1, F1 > & | lhs, |
const int & | rhs | ||
) |
|
inline |
Definition at line 132 of file L1TopoDataTypes.h.
|
inline |
Definition at line 138 of file L1TopoDataTypes.h.
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator- | ( | const double & | lhs, |
const L1TopoDataTypes< P1, F1 > & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator- | ( | const int & | lhs, |
const L1TopoDataTypes< P1, F1 > & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator- | ( | const L1TopoDataTypes< P1, F1 > & | lhs, |
const double & | rhs | ||
) |
L1TopoDataTypes<P1+1,F1> friend TSU::L1TopoDataTypes< PREC, F >::operator- | ( | const L1TopoDataTypes< P1, F1 > & | lhs, |
const int & | rhs | ||
) |
|
inline |
Definition at line 217 of file L1TopoDataTypes.h.
|
inline |
|
inline |
Definition at line 110 of file L1TopoDataTypes.h.
|
friend |
Definition at line 317 of file L1TopoDataTypes.h.
|
friend |
Definition at line 285 of file L1TopoDataTypes.h.
|
friend |
Definition at line 285 of file L1TopoDataTypes.h.
|
friend |
Definition at line 321 of file L1TopoDataTypes.h.
|
friend |
Definition at line 228 of file L1TopoDataTypes.h.
|
friend |
Definition at line 240 of file L1TopoDataTypes.h.
|
friend |
|
private |
Definition at line 221 of file L1TopoDataTypes.h.