Feature #1744

Add GCTAObservation filename constructor

Added by Knödlseder Jürgen about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:03/14/2016
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.1.0
Duration:

Description

A GCTAObservation filename constructor should be added to allow loading of a file upon construction.

For the moment, the GCTAObservation(const std::string& instrument) constructor is used for the registry. The constructor should be modified, for example by adding a dummy argument

GCTAObservation(const bool& dummy, const std::string& instrument)

so that the registry globals can be modified to
const GCTAObservation      g_obs_cta_seed("CTA");
const GCTAObservation      g_obs_hess_seed("HESS");
const GCTAObservation      g_obs_magic_seed("MAGIC");
const GCTAObservation      g_obs_veritas_seed("VERITAS");
and we have freedom to build a filename constructor.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen about 8 years ago

  • Status changed from New to Feedback
  • Assigned To set to Knödlseder Jürgen
  • Target version set to 1.1.0
  • % Done changed from 0 to 100

Done.

#2 Updated by Knödlseder Jürgen about 8 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF