![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef MUONCALIBIDENTIFIER_HASHMAKER_H
17 # define MUONCALIBIDENTIFIER_HASHMAKER_H
25 #define CREATE_HASH_CLASS(ClassName) \
28 ClassName() : m_data(UINT_MAX) {}; \
29 explicit ClassName( unsigned int dat ) : m_data(dat) {} \
30 operator unsigned int () const { \
33 const ClassName& operator=( const ClassName& rhs ) { \
34 m_data = rhs.m_data; \
37 const ClassName& operator=( unsigned int rhs ) { \
41 bool isValid() const { \
42 return m_data != UINT_MAX; \
45 unsigned int m_data; \
49 #endif // MUONCALIBIDENTIFIER_HASHMAKER_H