![]() |
ATLAS Offline Software
|
calculates the parity of a passed word More...
#include <Parity.h>
Public Member Functions | |
| Parity () | |
| ~Parity () | |
| unsigned int | even (unsigned int word) const |
| returns even parity of passed word i.e. More... | |
| unsigned int | odd (unsigned int word) const |
| returns the odd parity of the passed word i.e. More... | |
| Parity::Parity | ( | ) |
Definition at line 14 of file Parity.cxx.
| Parity::~Parity | ( | ) |
Definition at line 16 of file Parity.cxx.
| unsigned int Parity::even | ( | unsigned int | word | ) | const |
returns even parity of passed word i.e.
0 returns 0 and 111 (7) returns 1
Definition at line 19 of file Parity.cxx.
| unsigned int Parity::odd | ( | unsigned int | word | ) | const |
returns the odd parity of the passed word i.e.
0 returns 1 and 111 (7) returns 0
Definition at line 27 of file Parity.cxx.
1.8.18