-
#if defined(__sun) && (defined(__svr4__) || defined(__SVR4)) // SOLARIS typedef uint64_t u_int64_t; #endif // SOLARIS
-
uint64_t is a C++11 feature that does not work on most older systems. However, <sys/types.h> defines a u_int64_t type that can be used.
-
The GResponseCache now implements a three-level response cache, with the first level being the name, the second being a hash value of the true and measured energies, and the third level a hash value of the instrument direction. The hash values are implemented as uint64_t 64 Bit unsigned integers.
-
…Lib.hpp in CTA classes
-
The method is now implemented at the base class level and branches to the model specific IRF computation methods that are also implemented at the GResponse level. This will allow implementing generic model dependent IRF methods at the base class level, making all spatial model types automatically accessible to all instrument modules. These methods can always be overloaded later in case that more efficient code needs to be generated. But at least, all spatial models work a priori out of the box.
-
The hash method returns a unique hash value for an instrument direction that can be used for the response caching.