• The CTA response was refactored. GCTAResponse was renamed GCTAResponseIrf, and GCTAResponse became an abstract base class for all possible CTA response functions. GCTAResponseIrf derives from GCTAResponse. Also GCTAResponseCube derives from GCTAResponse.
    
    To make this work, the GObservation::response() method now returns a pointer instead of a reference. The interface definition is such that the pointer never can be NULL. The code has been adapted to comply to this new interface.
    
    Upon reading an XML file, GCTAObservation now determines the appropriate reponse type and calls its reader. If no response is specified in the XML file, GCTAResponseIrf will be used by default.
    Jürgen Knödlseder authored
     
    Browse Dir »


  • This change was prompted by the addition of the ctobssim option
    to apply energy dispersion. Even if an instrument has an energy
    dispersion, it is useful to be able to apply it or not.
    
    So the meaning now is roughly this:
    use_edisp = (has_edisp && apply_edisp)
    although the apply_edisp flag has so far been only added to
    GCTAResponse, use_edisp = False.
    
    GResponse::has_tdisp() was also renamed to GResponse::use_tdisp()
    for consistency.
    Christoph Deil authored
     
    Browse Dir »













  • The Python wrapper files are modified by the script each time it is run. This changed the owners of these files during installation to root, making the ineditable afterwards. I changed the logic so that the wrapper file modifications are only done during the build step. No modifications are done during the install step, hence no file ownerships are changed anymore.
    Jürgen Knödlseder authored
     
    Browse Dir »