ATLAS Offline Software
Parity.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 /***************************************************************************
5  Parity.h - description
6  -------------------
7  begin : Fri Jun 28 2002
8  email : moyse@zanzibar
9  ***************************************************************************/
10 
11 
12 #ifndef PARITY_H
13 #define PARITY_H
14 
15 
20 class Parity {
21 public:
22  Parity();
23  ~Parity();
25  unsigned int even(unsigned int word) const;
27  unsigned int odd(unsigned int word) const;
28 };
29 
30 #endif
Parity::~Parity
~Parity()
Definition: Parity.cxx:16
Parity::even
unsigned int even(unsigned int word) const
returns even parity of passed word i.e.
Definition: Parity.cxx:19
Parity::odd
unsigned int odd(unsigned int word) const
returns the odd parity of the passed word i.e.
Definition: Parity.cxx:27
Parity::Parity
Parity()
Definition: Parity.cxx:14
Parity
calculates the parity of a passed word
Definition: Parity.h:20