Feature #922

Implement ON-OFF response handling

Added by Knödlseder Jürgen almost 11 years ago. Updated over 10 years ago.

Status:RejectedStart date:06/23/2013
Priority:NormalDue date:
Assigned To:-% Done:

100%

Category:-
Target version:HESS sprint #1
Duration:

Recurrence

No recurrence.


Subtasks

Action #927: Implement GCTAOnOffResponse classRejected

Action #925: Implement GCTABackgroundAcceptanceSpectrumRejected

History

#1 Updated by Knödlseder Jürgen almost 11 years ago

  • Target version set to HESS sprint #1

#2 Updated by Martin Pierrick almost 11 years ago

  • Due date set to 06/23/2013

due to changes in a related task

#3 Updated by Martin Pierrick almost 11 years ago

To compute the ARF we have to integrate the point spread function multiplied by the effective area over the selection region.

This can be done by using the GResponse::npred(const GSource& source, const GObservation& obs) method.

Recall that GSource stores the physical attributes of a gamma-ray source, which is the distribution of photon arrival directions in form of a spatial source model, the photon energy, and the photon arrival time. As no energy dispersion is actually used, the energy attribute of GSource can be used as the measured energy. Some thinking is needed how this should be implement in the future once energy dispersion is supported. But for the time being it is okay.

So we could write a GArf method that computes the response given a spatial source model and an observation:

void GArf::set(const GResponse& rsp, const GRoi& roi, const GModelSpatial& spatial);

But the actual code needed if GResponse::npred should be used is actually too specific, hence we better implement this on the GCTAOnOffObservation level for the moment.

#4 Updated by Knödlseder Jürgen over 10 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF