ATLAS Offline Software
Macros
HashMaker.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CREATE_HASH_CLASS(ClassName)
 <<class description should come here>> More...
 

Macro Definition Documentation

◆ CREATE_HASH_CLASS

#define CREATE_HASH_CLASS (   ClassName)
Value:
class ClassName { \
public: \
ClassName() : m_data(UINT_MAX) {}; \
explicit ClassName( unsigned int dat ) : m_data(dat) {} \
operator unsigned int () const { \
return m_data; \
} \
const ClassName& operator=( const ClassName& rhs ) { \
m_data = rhs.m_data; \
return *this; \
} \
const ClassName& operator=( unsigned int rhs ) { \
m_data = rhs; \
return *this; \
} \
bool isValid() const { \
return m_data != UINT_MAX; \
} \
private: \
unsigned int m_data; \
};

<<class description should come here>>

Definition at line 26 of file HashMaker.h.

CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:214
ClassName
An interface for getting the name of a class as a string.
Definition: AthenaKernel/AthenaKernel/ClassName.h:33