Commit f59e110585a2494ea82c899a1099680056827992
1 parent
3e8fda86
use GSkyModel instead of GModel as arguments in irf() and npred()
Showing
2 changed files
with
5 additions
and
5 deletions
include/GResponse.hpp
| ... | ... | @@ -26,9 +26,9 @@ |
| 26 | 26 | #include "GEvent.hpp" |
| 27 | 27 | #include "GEnergy.hpp" |
| 28 | 28 | #include "GTime.hpp" |
| 29 | +#include "GSkyModel.hpp" | |
| 29 | 30 | |
| 30 | 31 | /* __ Forward declarations _______________________________________________ */ |
| 31 | -class GModel; | |
| 32 | 32 | class GObservation; |
| 33 | 33 | |
| 34 | 34 | |
| ... | ... | @@ -66,10 +66,10 @@ public: |
| 66 | 66 | virtual GResponse* clone(void) const = 0; |
| 67 | 67 | virtual bool hasedisp(void) const = 0; |
| 68 | 68 | virtual bool hastdisp(void) const = 0; |
| 69 | - virtual double irf(const GEvent& event, const GModel& model, | |
| 69 | + virtual double irf(const GEvent& event, const GSkyModel& model, | |
| 70 | 70 | const GEnergy& srcEng, const GTime& srcTime, |
| 71 | 71 | const GObservation& obs) const = 0; |
| 72 | - virtual double npred(const GModel& model, const GEnergy& srcEng, | |
| 72 | + virtual double npred(const GSkyModel& model, const GEnergy& srcEng, | |
| 73 | 73 | const GTime& srcTime, |
| 74 | 74 | const GObservation& obs) const = 0; |
| 75 | 75 | virtual std::string print(void) const = 0; | ... | ... |
pyext/GResponse.i
| ... | ... | @@ -39,10 +39,10 @@ public: |
| 39 | 39 | virtual GResponse* clone(void) const = 0; |
| 40 | 40 | virtual bool hasedisp(void) const = 0; |
| 41 | 41 | virtual bool hastdisp(void) const = 0; |
| 42 | - virtual double irf(const GEvent& event, const GModel& model, | |
| 42 | + virtual double irf(const GEvent& event, const GSkyModel& model, | |
| 43 | 43 | const GEnergy& srcEng, const GTime& srcTime, |
| 44 | 44 | const GObservation& obs) const = 0; |
| 45 | - virtual double npred(const GModel& model, const GEnergy& srcEng, | |
| 45 | + virtual double npred(const GSkyModel& model, const GEnergy& srcEng, | |
| 46 | 46 | const GTime& srcTime, |
| 47 | 47 | const GObservation& obs) const = 0; |
| 48 | 48 | }; | ... | ... |