Logo white

Sergio Hernández Cadena / gammalib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 7,523
  • Compare
  • Branches 44
  • Tags 52
  • gammalib
  • include
  • GResponseCache.hpp
11 Apr, 2020
7 commits
  • Add the following to enable compilation on Solaris ...
    aa607681
    #if defined(__sun) && (defined(__svr4__) || defined(__SVR4)) // SOLARIS
        typedef uint64_t u_int64_t;
    #endif // SOLARIS
    Jürgen Knödlseder authored
    2020-04-11 03:37:38 +0200  
    Browse File »
  • On Sun, define typedef uint64_t u_int64_t
    6a72ca6e
    Jürgen Knödlseder authored
    2020-04-11 03:04:38 +0200  
    Browse File »
  • Replace uint64_t by u_int64_t ...
    55a0141e
    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.
    Jürgen Knödlseder authored
    2020-04-11 01:43:00 +0200  
    Browse File »
  • Rename GResponseCache::energy() method to GResponseCache::hash()
    0eff4ea0
    Jürgen Knödlseder authored
    2020-04-11 00:39:15 +0200  
    Browse File »
  • Modify GResponseCache implementation to guarantee unique cache keys ...
    fabe14af
    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.
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse File »
  • Implement GResponse::irf(const GEvent& event, const GSource& source, const GObservation& obs) method ...
    d511521a
    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.
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse File »
  • Add generic response cache class GResponseCache (#3202)
    8b221ddd
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse File »