GammaLib
2.1.0.dev
|
Interface class for COMPTEL observations. More...
#include <GCOMObservation.hpp>
Public Member Functions | |
GCOMObservation (void) | |
Void constructor. More... | |
GCOMObservation (const GXmlElement &xml) | |
XML constructor. More... | |
GCOMObservation (const GCOMDri &dre, const GCOMDri &drb, const GCOMDri &drg, const GCOMDri &drx) | |
Binned observation DRI constructor. More... | |
GCOMObservation (const GCOMDri &dre, const GCOMDri &drb, const GCOMDri &drw, const GCOMDri &drg, const GCOMDri &drx) | |
Binned observation DRI constructor. More... | |
GCOMObservation (const GFilename &drename, const GFilename &drbname, const GFilename &drwname, const GFilename &drgname, const GFilename &drxname) | |
Binned observation filename constructor. More... | |
GCOMObservation (const GFilename &evpname, const GFilename &timname, const std::vector< GFilename > &oadnames, const std::vector< GFilename > &hkdnames=std::vector< GFilename >(), const GFilename &bvcname="") | |
Unbinned observation constructor. More... | |
GCOMObservation (const GCOMObservation &obs) | |
Copy constructor. More... | |
virtual | ~GCOMObservation (void) |
Destructor. More... | |
virtual GCOMObservation & | operator= (const GCOMObservation &obs) |
Assignment operator. More... | |
virtual void | clear (void) |
Clear COMPTEL observation. More... | |
virtual GCOMObservation * | clone (void) const |
Clone COMPTEL observation. More... | |
virtual std::string | classname (void) const |
Return class name. More... | |
virtual void | response (const GResponse &rsp) |
Set response function. More... | |
virtual const GCOMResponse * | response (void) const |
Return response function. More... | |
virtual std::string | instrument (void) const |
Return instrument. More... | |
virtual double | ontime (void) const |
Return ontime. More... | |
virtual double | livetime (void) const |
Return livetime. More... | |
virtual double | deadc (const GTime &time=GTime()) const |
Return deadtime correction factor. More... | |
virtual void | read (const GXmlElement &xml) |
Read observation from XML element. More... | |
virtual void | write (GXmlElement &xml) const |
Write observation into XML element. More... | |
virtual std::string | print (const GChatter &chatter=NORMAL) const |
Print observation information. More... | |
virtual double | npred (const GModel &model) const |
Return total number of predicted counts for one model. More... | |
bool | is_unbinned (void) const |
Check whether observation is unbinned. More... | |
bool | is_binned (void) const |
Check whether observation is binned. More... | |
void | load (const GFilename &drename, const GFilename &drbname, const GFilename &drwname, const GFilename &drgname, const GFilename &drxname) |
Load data for a binned observation. More... | |
void | load (const GFilename &evpname, const GFilename &timname, const std::vector< GFilename > &oadnames, const std::vector< GFilename > &hkdnames=std::vector< GFilename >(), const GFilename &bvcname="") |
Load data for an unbinned observation. More... | |
void | response (const GCaldb &caldb, const std::string &rspname) |
Set response function. More... | |
void | response (const GCOMResponse &response) |
Set response function. More... | |
void | obs_id (const double &id) |
Set observation ID. More... | |
void | ontime (const double &ontime) |
Set ontime. More... | |
void | livetime (const double &livetime) |
Set livetime. More... | |
void | deadc (const double &deadc) |
Set deadtime correction factor. More... | |
void | ewidth (const double &ewidth) |
Set energy width. More... | |
const double & | obs_id (void) const |
Return observation ID. More... | |
const double & | ewidth (void) const |
Return energy width. More... | |
const GCOMDri & | drb (void) const |
Return background model. More... | |
const GCOMDri & | drw (void) const |
Return weighting cube. More... | |
const GCOMDri & | drg (void) const |
Return geometry factors. More... | |
const GCOMDri & | drx (void) const |
Return exposure. More... | |
GCOMDri | drm (const GModels &models) const |
Compute DRM cube. More... | |
const GCOMTim & | tim (void) const |
Return COMPTEL Good Time Intervals. More... | |
void | tim (const GCOMTim &tim) |
Set COMPTEL Good Time Intervals. More... | |
const GCOMOads & | oads (void) const |
Return Orbit Aspect Data. More... | |
void | oads (const GCOMOads &oads) |
Set Orbit Aspect Data. More... | |
const GCOMHkds & | hkds (void) const |
Return Housekeeping Data collection. More... | |
void | hkds (const GCOMHkds &hkds) |
Set Housekeeping Data collection. More... | |
const GCOMBvcs & | bvcs (void) const |
Return Solar System Barycentre Data. More... | |
void | bvcs (const GCOMBvcs &bvcs) |
Set Solar System Barycentre Data. More... | |
const GFilename & | drename (void) const |
Return DRE filename. More... | |
const GFilename & | drbname (void) const |
Return DRB filename. More... | |
const GFilename & | drwname (void) const |
Return DRW filename. More... | |
const GFilename & | drgname (void) const |
Return DRG filename. More... | |
const GFilename & | drxname (void) const |
Return DRX filename. More... | |
const GFilename & | rspname (void) const |
Return response cache filename. More... | |
const int & | phi_first (void) const |
Return index of first Phibar layer to be used for likelihood fitting. More... | |
const int & | phi_last (void) const |
Return index of last Phibar layer to be used for likelihood fitting. More... | |
void | drename (const GFilename &drename) |
Set DRE filename. More... | |
void | drbname (const GFilename &drbname) |
Set DRB filename. More... | |
void | drwname (const GFilename &drwname) |
Set DRW filename. More... | |
void | drgname (const GFilename &drgname) |
Set DRG filename. More... | |
void | drxname (const GFilename &drxname) |
Set DRX filename. More... | |
void | rspname (const GFilename &rspname) |
Set response cache filename filename. More... | |
void | phi_first (const int &phi_first) |
Set index of first Phibar layer to be used for likelihood fitting. More... | |
void | phi_last (const int &phi_last) |
Set index of last Phibar layer to be used for likelihood fitting. More... | |
void | compute_drb (const std::string &method, const GCOMDri &drm, const int &nrunav=3, const int &navgr=3, const int &nincl=15, const int &nexcl=0) |
Compute DRB cube. More... | |
Public Member Functions inherited from GObservation | |
GObservation (void) | |
Void constructor. More... | |
GObservation (const GObservation &obs) | |
Copy constructor. More... | |
virtual | ~GObservation (void) |
Destructor. More... | |
virtual GObservation & | operator= (const GObservation &obs) |
Assignment operator. More... | |
virtual GEvents * | events (void) |
Return events. More... | |
virtual const GEvents * | events (void) const |
Return events (const version) More... | |
virtual void | events (const GEvents &events) |
Set event container. More... | |
virtual double | likelihood (const GModels &models, GVector *gradients, GMatrixSparse *curvature, double *npred) const |
Compute likelihood function. More... | |
virtual double | model (const GModels &models, const GEvent &event, GVector *gradients=NULL) const |
Return model value and (optionally) gradients. More... | |
virtual GVector | model (const GModels &models, GMatrixSparse *gradients=NULL) const |
Return vector of model values and (optionally) gradients. More... | |
virtual int | nobserved (void) const |
Return total number of observed events. More... | |
virtual double | npred (const GModels &models, GVector *gradients=NULL) const |
Return total number (and optionally gradients) of predicted counts for all models. More... | |
virtual double | model_grad (const GModel &model, const GModelPar &par, const GEvent &event) const |
Returns parameter gradient of model for a given event. More... | |
virtual GVector | model_grad (const GModel &model, const GModelPar &par) const |
Returns parameter gradients of model for all events. More... | |
virtual double | npred_grad (const GModel &model, const GModelPar &par) const |
Returns parameter gradient of Npred. More... | |
virtual void | remove_response_cache (const std::string &name) |
Response cache removal hook. More... | |
virtual const double & | grad_step_size (void) const |
Return gradient step size. More... | |
bool | has_events (void) const |
Signal if observation has events. More... | |
bool | has_gradient (const GModel &model, const GModelPar &par) const |
Check whether a model parameter has an analytical gradient. More... | |
void | name (const std::string &name) |
Set observation name. More... | |
void | id (const std::string &id) |
Set observation identifier. More... | |
void | statistic (const std::string &statistic) |
Set optimizer statistic. More... | |
const std::string & | name (void) const |
Return observation name. More... | |
const std::string & | id (void) const |
Return observation identifier. More... | |
const std::string & | statistic (void) const |
Return optimizer statistic. More... | |
void | computed_gradient (const GModel &model, const GModelPar &par) const |
Signals that an analytical gradient was computed for a model parameter. More... | |
Public Member Functions inherited from GBase | |
virtual | ~GBase (void) |
Destructor. More... | |
Protected Member Functions | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GCOMObservation &obs) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
void | load_dre (const GFilename &drename) |
Load event cube data from DRE file. More... | |
void | load_drb (const GFilename &drbname) |
Load background model from DRB file. More... | |
void | load_drw (const GFilename &drwname) |
Load weighting cube from DRW file. More... | |
void | load_drg (const GFilename &drgname) |
Load geometry factors from DRG file. More... | |
void | load_drx (const GFilename &drxname) |
Load exposure from DRX file. More... | |
bool | check_dri (const GCOMDri &map) const |
Check if DRI is compatible with event cube. More... | |
void | read_attributes (const GFitsHDU *hdu) |
Read observation attributes. More... | |
void | write_attributes (GFitsHDU *hdu) const |
Write observation attributes. More... | |
void | compute_drb_phinor (const GCOMDri &drm) |
Compute DRB cube using PHINOR method. More... | |
void | compute_drb_bgdlixa (const GCOMDri &drm, const int &nrunav=3, const int &navgr=3, const int &nincl=15, const int &nexcl=0) |
Compute DRB cube using BGDLIXA method. More... | |
void | compute_drb_bgdlixe (const GCOMDri &drm, const int &nrunav=3, const int &navgr=3, const int &nincl=15, const int &nexcl=0) |
Compute DRB cube using BGDLIXE method. More... | |
void | compute_drb_bgdlixf (const GCOMDri &drm, const int &nrunav=3, const int &navgr=3, const int &nincl=15, const int &nexcl=0) |
Compute DRB cube using BGDLIXF method. More... | |
GSkyMap | get_weighted_drg_map (void) const |
Return weighted DRG map. More... | |
void | get_bgdlixa_phibar_indices (const int &iphibar, const int &nincl, const int &nexcl, int *isel1, int *iex1, int *iex2, int *isel2) const |
Compute Phibar index range for BGDLIXA background method. More... | |
virtual bool | use_event_for_likelihood (const int &index) const |
Check whether bin should be used for likelihood analysis. More... | |
Protected Member Functions inherited from GObservation | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GObservation &obs) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
virtual double | likelihood_poisson_unbinned (const GModels &models, GVector *gradients, GMatrixSparse *curvature, double *npred) const |
Evaluate log-likelihood function for Poisson statistic and unbinned analysis (version with working arrays) More... | |
virtual double | likelihood_poisson_binned (const GModels &models, GVector *gradients, GMatrixSparse *curvature, double *npred) const |
Evaluate log-likelihood function for Poisson statistic and binned analysis (version with working arrays) More... | |
virtual double | likelihood_gaussian_binned (const GModels &models, GVector *gradients, GMatrixSparse *curvature, double *npred) const |
Evaluate log-likelihood function for Gaussian statistic and binned analysis (version with working arrays) More... | |
virtual double | npred_spec (const GModel &model, const GTime &obsTime) const |
Integrates spatially integrated Npred kernel spectrally. More... | |
Protected Attributes | |
std::string | m_instrument |
Instrument name. More... | |
GCOMResponse | m_response |
Response functions. More... | |
double | m_obs_id |
Observation ID. More... | |
double | m_ontime |
Ontime (sec) More... | |
double | m_livetime |
Livetime (sec) More... | |
double | m_deadc |
Deadtime correction. More... | |
GFilename | m_drename |
DRE filename. More... | |
GFilename | m_drbname |
DRB filename. More... | |
GFilename | m_drwname |
DRW filename. More... | |
GFilename | m_drgname |
DRG filename. More... | |
GFilename | m_drxname |
DRX filename. More... | |
GFilename | m_rspname |
Response cache filename. More... | |
GCOMDri | m_drb |
Background model. More... | |
GCOMDri | m_drw |
Weighting cube. More... | |
GCOMDri | m_drg |
Geometry factors. More... | |
GCOMDri | m_drx |
Exposure map. More... | |
double | m_ewidth |
Energy width (MeV) More... | |
int | m_phi_first |
First Phibar layer to use for likelihood. More... | |
int | m_phi_last |
Last Phibar layer to use for likelihood. More... | |
GFilename | m_evpname |
EVP filename. More... | |
GFilename | m_timname |
TIM filename. More... | |
std::vector< GFilename > | m_oadnames |
OAD filenames. More... | |
std::vector< GFilename > | m_hkdnames |
HKD filenames. More... | |
GFilename | m_bvcname |
BVC filename. More... | |
GCOMTim | m_tim |
COMPTEL Good Time Intervals. More... | |
GCOMOads | m_oads |
Orbit Aspect Data. More... | |
GCOMHkds | m_hkds |
Housekeeping Data. More... | |
GCOMBvcs | m_bvcs |
Solar System Barycentre Data. More... | |
Protected Attributes inherited from GObservation | |
std::string | m_name |
Observation name. More... | |
std::string | m_id |
Observation identifier. More... | |
std::string | m_statistic |
Optimizer statistic. More... | |
GEvents * | m_events |
Pointer to event container. More... | |
double | m_grad_step_size |
Gradient step size. More... | |
std::vector< std::string > | m_pars_with_gradients |
Interface class for COMPTEL observations.
This class implements a COMPTEL observation. Each COMPTEL observation is defined for a given energy range, and is composed of a DRE, DRB, DRG and DRX file. The DRE file contains the event data, the DRB file contains a background model, the DRG file contains geometry factors, and the DRX file contains the exposure.
Definition at line 66 of file GCOMObservation.hpp.
GCOMObservation::GCOMObservation | ( | void | ) |
Void constructor.
Creates an empty COMPTEL observation.
Definition at line 89 of file GCOMObservation.cpp.
References init_members().
Referenced by clone().
|
explicit |
XML constructor.
[in] | xml | XML element. |
Constructs a COMPTEL observation from the information that is found in an XML element.
Definition at line 107 of file GCOMObservation.cpp.
References init_members(), and read().
GCOMObservation::GCOMObservation | ( | const GCOMDri & | dre, |
const GCOMDri & | drb, | ||
const GCOMDri & | drg, | ||
const GCOMDri & | drx | ||
) |
Binned observation DRI constructor.
[in] | dre | Event cube. |
[in] | drb | Background cube. |
[in] | drg | Geometry cube. |
[in] | drx | Exposure map. |
Creates COMPTEL observation from DRI instances.
The method fixes the deadtime correction factor deadc to 0.965.
Definition at line 132 of file GCOMObservation.cpp.
References drb(), drg(), drx(), GEvents::emax(), GEvents::emin(), GEvents::gti(), init_members(), m_deadc, m_drb, m_drbname, m_drename, m_drg, m_drgname, m_drwname, m_drx, m_drxname, GObservation::m_events, m_ewidth, m_livetime, GObservation::m_name, m_obs_id, m_ontime, and GEnergy::MeV().
GCOMObservation::GCOMObservation | ( | const GCOMDri & | dre, |
const GCOMDri & | drb, | ||
const GCOMDri & | drw, | ||
const GCOMDri & | drg, | ||
const GCOMDri & | drx | ||
) |
Binned observation DRI constructor.
[in] | dre | Event cube. |
[in] | drb | Background cube. |
[in] | drw | Weighting cube. |
[in] | drg | Geometry cube. |
[in] | drx | Exposure map. |
Creates COMPTEL observation from DRI instances.
The method fixes the deadtime correction factor deadc to 0.965.
Definition at line 177 of file GCOMObservation.cpp.
References drb(), drg(), drw(), drx(), GEvents::emax(), GEvents::emin(), GEvents::gti(), init_members(), m_deadc, m_drb, m_drbname, m_drename, m_drg, m_drgname, m_drw, m_drwname, m_drx, m_drxname, GObservation::m_events, m_ewidth, m_livetime, GObservation::m_name, m_obs_id, m_ontime, and GEnergy::MeV().
GCOMObservation::GCOMObservation | ( | const GFilename & | drename, |
const GFilename & | drbname, | ||
const GFilename & | drwname, | ||
const GFilename & | drgname, | ||
const GFilename & | drxname | ||
) |
Binned observation filename constructor.
[in] | drename | Event cube name. |
[in] | drbname | Background cube name. |
[in] | drwname | Weighting cube name. |
[in] | drgname | Geometry cube name. |
[in] | drxname | Exposure map name. |
Creates COMPTEL observation by loading the following FITS files:
DRE - Events cube DRB - Background model cube DRW - Weighting cube DRG - Geometry factors cube DRX - Exposure map
Each of the four files is mandatory.
Definition at line 230 of file GCOMObservation.cpp.
References init_members(), and load().
GCOMObservation::GCOMObservation | ( | const GFilename & | evpname, |
const GFilename & | timname, | ||
const std::vector< GFilename > & | oadnames, | ||
const std::vector< GFilename > & | hkdnames = std::vector<GFilename> () , |
||
const GFilename & | bvcname = "" |
||
) |
Unbinned observation constructor.
[in] | evpname | Event list FITS file name. |
[in] | timname | Good Time Intervals FITS file name. |
[in] | oadnames | List of Orbit Aspect Data FITS file names. |
[in] | hkdnames | List of Housekeeping Data FITS file names. |
[in] | bvcname | Solar System Barycentre Data FITS file name. |
Creates a COMPTEL unbinned observation by loading the event list, Good Time Interval, Orbit Aspect Data and optionally the Solar System Barycentre Data from FITS files.
Except of the Housekeeping Data and the Solar System Barycentre Data all files are mandatory. The Housekeeping Data and the Solar System Barycentre Data will only be loaded if the file names are not empty.
See load() method for more information.
Definition at line 266 of file GCOMObservation.cpp.
References init_members(), and load().
GCOMObservation::GCOMObservation | ( | const GCOMObservation & | obs | ) |
Copy constructor.
[in] | obs | COMPTEL observation. |
Creates COMPTEL observation by copying an existing COMPTEL observation.
Definition at line 290 of file GCOMObservation.cpp.
References copy_members(), and init_members().
|
virtual |
|
inline |
Return Solar System Barycentre Data.
Definition at line 568 of file GCOMObservation.hpp.
References m_bvcs.
Referenced by bvcs(), and GCOMDri::compute_dre().
|
inline |
Set Solar System Barycentre Data.
[in] | bvcs | Solar System Barycentre Data. |
Definition at line 581 of file GCOMObservation.hpp.
|
protected |
Check if DRI is compatible with event cube.
[in] | dri | DRI. |
Compares the dimension and the WCS definition of a DRI to that of the event cube. If both are identical, true is returned, false otherwise.
Definition at line 1491 of file GCOMObservation.cpp.
References GObservation::m_events, GCOMDri::map(), GSkyMap::nmaps(), GSkyMap::nx(), GSkyMap::ny(), and GSkyMap::projection().
Referenced by compute_drb_bgdlixa(), compute_drb_bgdlixe(), compute_drb_bgdlixf(), compute_drb_phinor(), load_drb(), load_drg(), and load_drw().
|
inlinevirtual |
Return class name.
Implements GObservation.
Definition at line 255 of file GCOMObservation.hpp.
|
virtual |
Clear COMPTEL observation.
Implements GObservation.
Definition at line 363 of file GCOMObservation.cpp.
References GObservation::free_members(), free_members(), GObservation::init_members(), and init_members().
|
virtual |
Clone COMPTEL observation.
Implements GObservation.
Definition at line 383 of file GCOMObservation.cpp.
References GCOMObservation().
void GCOMObservation::compute_drb | ( | const std::string & | method, |
const GCOMDri & | drm, | ||
const int & | nrunav = 3 , |
||
const int & | navgr = 3 , |
||
const int & | nincl = 15 , |
||
const int & | nexcl = 0 |
||
) |
Compute DRB cube.
[in] | method | Background method (PHINOR, BGDLIXA, BGDLIXE or BGDLIXF). |
[in] | drm | DRM cube. |
[in] | nrunav | BGDLIXn: number of bins used for running average. |
[in] | navgr | BGDLIXn: number of bins used for averaging. |
[in] | nincl | BGDLIXn: number of Phibar layers to include. |
[in] | nexcl | BGDLIXn: number of Phibar layers to exclude. |
Computes a COMPTEL DRB cube using either the PHINOR or BGDLIX method. There are three variants of the BGFLIX method (BGDLIXA, BGDLIXE and BGDLIXF). See the protected methods compute_drb_phinor(), compute_drb_bgdlixa(), compute_drb_bgdlixe(), and compute_drb_bgdlixf() for more information.
Definition at line 1027 of file GCOMObservation.cpp.
References compute_drb_bgdlixa(), compute_drb_bgdlixe(), compute_drb_bgdlixf(), compute_drb_phinor(), and G_COMPUTE_DRB.
|
protected |
Compute DRB cube using BGDLIXA method.
[in] | drm | DRM cube. |
[in] | nrunav | Number of bins used for running average. |
[in] | navgr | Number of bins used for averaging. |
[in] | nincl | Number of Phibar layers to include. |
[in] | nexcl | Number of Phibar layers to exclude. |
GException::invalid_value | Observation does not contain an event cube |
GException::invalid_argument | DRM cube is incompatible with DRE |
Computes a DRB cube using the BGDLIXA method that is documented in Rob van Dijk's PhD thesis. The revelant equations from the thesis that are implemented here are 3.12, 3.12 and 3.14.
Definition at line 1665 of file GCOMObservation.cpp.
References check_dri(), GCOMEventCube::dre(), GObservation::events(), G_COMPUTE_DRB_BGDLIXA, get_bgdlixa_phibar_indices(), get_weighted_drg_map(), GObservation::id(), m_drb, m_drg, GCOMDri::map(), GObservation::name(), GCOMDri::nchi(), norm(), GCOMDri::nphibar(), and GCOMDri::npsi().
Referenced by compute_drb().
|
protected |
Compute DRB cube using BGDLIXE method.
[in] | drm | DRM cube. |
[in] | nrunav | Number of bins used for running average. |
[in] | navgr | Number of bins used for averaging. |
[in] | nincl | Number of Phibar layers to include. |
[in] | nexcl | Number of Phibar layers to exclude. |
GException::invalid_value | Observation does not contain an event cube |
GException::invalid_argument | DRM cube is incompatible with DRE |
Computes a DRB cube using the BGDLIXE method. This method differs from the BGDLIXA method in the last step.
Definition at line 2016 of file GCOMObservation.cpp.
References check_dri(), GCOMEventCube::dre(), GObservation::events(), G_COMPUTE_DRB_BGDLIXE, get_bgdlixa_phibar_indices(), get_weighted_drg_map(), GObservation::id(), m_drb, m_drg, GCOMDri::map(), GObservation::name(), GCOMDri::nchi(), norm(), GCOMDri::nphibar(), and GCOMDri::npsi().
Referenced by compute_drb().
|
protected |
Compute DRB cube using BGDLIXF method.
[in] | drm | DRM cube. |
[in] | nrunav | Number of bins used for running average. |
[in] | navgr | Number of bins used for averaging. |
[in] | nincl | Number of Phibar layers to include. |
[in] | nexcl | Number of Phibar layers to exclude. |
GException::invalid_value | Observation does not contain an event cube |
GException::invalid_argument | DRM cube is incompatible with DRE |
Computes a DRB cube using the BGDLIXF method. This method differs from the BGDLIXE method in the DRW instead of the DRG is used for background model computation.
Definition at line 2227 of file GCOMObservation.cpp.
References check_dri(), GCOMEventCube::dre(), GObservation::events(), G_COMPUTE_DRB_BGDLIXE, G_COMPUTE_DRB_BGDLIXF, get_bgdlixa_phibar_indices(), GObservation::id(), m_drb, m_drw, GCOMDri::map(), GObservation::name(), GCOMDri::nchi(), norm(), GCOMDri::nphibar(), and GCOMDri::npsi().
Referenced by compute_drb().
|
protected |
Compute DRB cube using PHINOR method.
[in] | drm | DRM cube. |
GException::invalid_value | Observation does not contain an event cube |
GException::invalid_argument | DRM cube is incompatible with DRE |
Definition at line 1577 of file GCOMObservation.cpp.
References check_dri(), GCOMEventCube::dre(), GObservation::events(), G_COMPUTE_DRB_PHINOR, get_weighted_drg_map(), GObservation::id(), m_drb, m_drg, GCOMDri::map(), GObservation::name(), norm(), GCOMDri::nphibar(), and GSkyMap::npix().
Referenced by compute_drb().
|
protected |
Copy class members.
[in] | obs | COMPTEL observation. |
Definition at line 1209 of file GCOMObservation.cpp.
References m_bvcname, m_bvcs, m_deadc, m_drb, m_drbname, m_drename, m_drg, m_drgname, m_drw, m_drwname, m_drx, m_drxname, m_evpname, m_ewidth, m_hkdnames, m_hkds, m_instrument, m_livetime, m_oadnames, m_oads, m_obs_id, m_ontime, m_phi_first, m_phi_last, m_response, m_rspname, m_tim, and m_timname.
Referenced by GCOMObservation(), and operator=().
Return deadtime correction factor.
[in] | time | Time. |
Implements GObservation.
Definition at line 334 of file GCOMObservation.hpp.
References m_deadc.
Referenced by deadc(), GCOMResponse::irf_diffuse(), GCOMResponse::irf_elliptical(), GCOMResponse::irf_ptsrc(), and GCOMResponse::irf_radial().
|
inline |
Set deadtime correction factor.
[in] | deadc | Deadtime correction factor. |
Definition at line 386 of file GCOMObservation.hpp.
|
inline |
Return background model.
Definition at line 438 of file GCOMObservation.hpp.
References m_drb.
Referenced by GCOMModelDRBPhibarBins::eval(), GCOMModelDRBPhibarNodes::eval(), and GCOMObservation().
|
inline |
Return DRB filename.
Definition at line 631 of file GCOMObservation.hpp.
References m_drbname.
Referenced by drbname(), load_drb(), and read().
|
inline |
Set DRB filename.
[in] | drbname | DRB filename. |
Definition at line 735 of file GCOMObservation.hpp.
|
inline |
Return DRE filename.
Definition at line 618 of file GCOMObservation.hpp.
References m_drename.
Referenced by drename(), load_dre(), and read().
|
inline |
Set DRE filename.
[in] | drename | DRE filename. |
Definition at line 722 of file GCOMObservation.hpp.
|
inline |
Return geometry factors.
Definition at line 464 of file GCOMObservation.hpp.
References m_drg.
Referenced by GCOMObservation(), get_weighted_drg_map(), GCOMResponse::irf(), GCOMResponse::irf_diffuse(), GCOMResponse::irf_elliptical(), GCOMResponse::irf_ptsrc(), and GCOMResponse::irf_radial().
|
inline |
Return DRG filename.
Definition at line 657 of file GCOMObservation.hpp.
References m_drgname.
Referenced by drgname(), load_drg(), and read().
|
inline |
Set DRG filename.
[in] | drgname | DRG filename. |
Definition at line 761 of file GCOMObservation.hpp.
Compute DRM cube.
[in] | models | Model container. |
GException::invalid_value | Observation does not contain an event cube. |
Computes a COMPTEL DRM cube from the information provided in a model container. The values of the DRM cube are in units of counts.
Definition at line 968 of file GCOMObservation.cpp.
References GCOMEventBin::counts(), GCOMEventCube::dre(), GModels::eval(), G_DRM, GObservation::m_events, GObservation::model(), GObservation::name(), GCOMEventBin::size(), and GCOMEventCube::size().
|
inline |
Return weighting cube.
Definition at line 451 of file GCOMObservation.hpp.
References m_drw.
Referenced by GCOMObservation().
|
inline |
Return DRW filename.
Definition at line 644 of file GCOMObservation.hpp.
References m_drwname.
Referenced by drwname(), load_drw(), and read().
|
inline |
Set DRW filename.
[in] | drwname | DRW filename. |
Definition at line 748 of file GCOMObservation.hpp.
|
inline |
Return exposure.
Definition at line 477 of file GCOMObservation.hpp.
References m_drx.
Referenced by GCOMObservation(), GCOMResponse::irf(), GCOMResponse::irf_diffuse(), GCOMResponse::irf_elliptical(), GCOMResponse::irf_ptsrc(), and GCOMResponse::irf_radial().
|
inline |
Return DRX filename.
Definition at line 670 of file GCOMObservation.hpp.
References m_drxname.
Referenced by drxname(), load_drx(), and read().
|
inline |
Set DRX filename.
[in] | drxname | DRX filename. |
Definition at line 774 of file GCOMObservation.hpp.
|
inline |
Set energy width.
[in] | ewidth | Energy width (MeV). |
Definition at line 399 of file GCOMObservation.hpp.
|
inline |
Return energy width.
Definition at line 425 of file GCOMObservation.hpp.
References m_ewidth.
Referenced by ewidth().
|
protected |
Delete class members.
Definition at line 1253 of file GCOMObservation.cpp.
Referenced by clear(), operator=(), and ~GCOMObservation().
|
protected |
Compute Phibar index range for BGDLIXA background method.
[in] | iphibar | Phibar layer index. |
[in] | nincl | Number of Phibar layers to include. |
[in] | nexcl | Number of Phibar layers to exclude. |
[out] | isel1 | Start index for first sum. |
[out] | iex1 | Stop index for first sum. |
[out] | iex2 | Start index for second sum. |
[out] | isel2 | Stop index for second sum. |
This method is a helper method for the BGDLIXA background method. It computes the Phibar index range for the third step of the background model computation. The third step corresponds to Equation (3.14) in Rob van Dijk's PhD thesis.
The Phibar sum will be taken over the index ranges [isel1, iex1] and [ixe2, isel2].
Definition at line 2469 of file GCOMObservation.cpp.
References m_drg, and GCOMDri::nphibar().
Referenced by compute_drb_bgdlixa(), compute_drb_bgdlixe(), and compute_drb_bgdlixf().
|
protected |
Return weighted DRG map.
Returns a DRG as sky map where each pixel of the map is multiplied by the solidangle of the pixel.
Definition at line 2428 of file GCOMObservation.cpp.
References drg(), m_drg, GCOMDri::map(), GSkyMap::nmaps(), GSkyMap::npix(), and GSkyMap::solidangle().
Referenced by compute_drb_bgdlixa(), compute_drb_bgdlixe(), and compute_drb_phinor().
|
inline |
Return Housekeeping Data collection.
Definition at line 542 of file GCOMObservation.hpp.
References m_hkds.
Referenced by hkds(), and GCOMDris::vetorate_setup().
|
inline |
Set Housekeeping Data collection.
[in] | hkds | Housekeeping Data collection. |
Definition at line 555 of file GCOMObservation.hpp.
|
protected |
Initialise class members.
Definition at line 1163 of file GCOMObservation.cpp.
References GCOMTim::clear(), GCOMOads::clear(), GCOMHkds::clear(), GCOMBvcs::clear(), GCOMResponse::clear(), GCOMDri::clear(), GFilename::clear(), m_bvcname, m_bvcs, m_deadc, m_drb, m_drbname, m_drename, m_drg, m_drgname, m_drw, m_drwname, m_drx, m_drxname, m_evpname, m_ewidth, m_hkdnames, m_hkds, m_instrument, m_livetime, m_oadnames, m_oads, m_obs_id, m_ontime, m_phi_first, m_phi_last, m_response, m_rspname, m_tim, and m_timname.
Referenced by clear(), GCOMObservation(), and operator=().
|
inlinevirtual |
Return instrument.
Implements GObservation.
Definition at line 293 of file GCOMObservation.hpp.
References m_instrument.
Referenced by print().
|
inline |
Check whether observation is binned.
Definition at line 606 of file GCOMObservation.hpp.
References GObservation::m_events.
Referenced by write().
|
inline |
Check whether observation is unbinned.
Definition at line 594 of file GCOMObservation.hpp.
References GObservation::m_events.
Referenced by write().
|
inlinevirtual |
Return livetime.
Implements GObservation.
Definition at line 319 of file GCOMObservation.hpp.
References m_livetime.
Referenced by livetime(), and print().
|
inline |
Set livetime.
[in] | livetime | Livetime. |
Definition at line 373 of file GCOMObservation.hpp.
References livetime(), and m_livetime.
void GCOMObservation::load | ( | const GFilename & | drename, |
const GFilename & | drbname, | ||
const GFilename & | drwname, | ||
const GFilename & | drgname, | ||
const GFilename & | drxname | ||
) |
Load data for a binned observation.
[in] | drename | Event cube name. |
[in] | drbname | Background cube name. |
[in] | drwname | Weighting cube name. |
[in] | drgname | Geometry cube name. |
[in] | drxname | Exposure map name. |
Load event cube from DRE file, background model from DRB file, weigthing cube from DRW file, geometry factors from DRG file and the exposure map from the DRX file. All files are mandatory.
Definition at line 814 of file GCOMObservation.cpp.
References load_drb(), load_dre(), load_drg(), load_drw(), and load_drx().
Referenced by GCOMObservation(), and read().
void GCOMObservation::load | ( | const GFilename & | evpname, |
const GFilename & | timname, | ||
const std::vector< GFilename > & | oadnames, | ||
const std::vector< GFilename > & | hkdnames = std::vector<GFilename> () , |
||
const GFilename & | bvcname = "" |
||
) |
Load data for an unbinned observation.
[in] | evpname | Event list FITS file name. |
[in] | timname | Good Time Intervals FITS file name. |
[in] | oadnames | List of Orbit Aspect Data FITS file names. |
[in] | hkdnames | List of Housekeeping Data FITS file names. |
[in] | bvcname | Solar System Barycentre Data FITS file name. |
Loads the event list, Good Time Interval, Orbit Aspect Data and optionally Housekeeping data and Solar System Barycentre Data for an unbinned observation.
Except of the Housekeeping Data and the Solar System Barycentre Data all files are mandatory. The Housekeeping Data and the Solar System Barycentre Data will only be loaded if the file names are not empty.
The method fixes the deadtime correction factor deadc to 0.965.
Definition at line 859 of file GCOMObservation.cpp.
References clear(), GFits::close(), GCOMOads::extend(), GCOMHkds::extend(), GCOMTim::gti(), GCOMTim::load(), GCOMBvcs::load(), m_bvcname, m_bvcs, m_deadc, GObservation::m_events, m_evpname, m_hkdnames, m_hkds, m_livetime, m_oadnames, m_oads, m_ontime, m_tim, m_timname, oads(), GGti::ontime(), read_attributes(), GCOMOads::size(), and GCOMHkds::size().
|
protected |
Load background model from DRB file.
[in] | drbname | DRB filename. |
GException::invalid_value | DRB data space incompatible with DRE data space. |
Load the background model from the primary image of the specified FITS file. Since a DRB file is optional the method does nothing if the DRB filename is empty.
Definition at line 1326 of file GCOMObservation.cpp.
References check_dri(), GFits::close(), gammalib::com_wcs_mer2car(), drbname(), G_LOAD_DRB, GFits::image(), GFilename::is_empty(), m_drb, m_drbname, m_drename, GCOMDri::map(), and GCOMDri::read().
Referenced by load().
|
protected |
Load event cube data from DRE file.
[in] | drename | DRE filename. |
Loads the event cube from a DRE file.
The ontime is extracted from the Good Time Intervals. The deadtime correction factor deadc is fixed to 0.965. The livetime is computed by multiplying the deadtime correction by the ontime, i.e. LIVETIME = ONTIME * DEADC.
Definition at line 1272 of file GCOMObservation.cpp.
References GFits::close(), drename(), GEvents::emax(), GEvents::emin(), GEvents::gti(), m_deadc, m_drename, GObservation::m_events, m_ewidth, m_livetime, m_ontime, GEnergy::MeV(), GEvents::read(), and read_attributes().
Referenced by load().
|
protected |
Load geometry factors from DRG file.
[in] | drgname | DRG filename. |
GException::invalid_value | DRG data space incompatible with DRE data space. |
Load the geometry factors from the primary image of the specified FITS file.
Definition at line 1418 of file GCOMObservation.cpp.
References check_dri(), GFits::close(), gammalib::com_wcs_mer2car(), drgname(), G_LOAD_DRG, GFits::image(), m_drename, m_drg, m_drgname, GCOMDri::map(), and GCOMDri::read().
Referenced by load().
|
protected |
Load weighting cube from DRW file.
[in] | drwname | DRW filename. |
GException::invalid_value | DRW data space incompatible with DRE data space. |
Load the weighting cube from the primary image of the specified FITS file.
Definition at line 1373 of file GCOMObservation.cpp.
References check_dri(), GFits::close(), drwname(), G_LOAD_DRW, GFits::image(), GFilename::is_empty(), m_drename, m_drw, m_drwname, and GCOMDri::read().
Referenced by load().
|
protected |
Load exposure from DRX file.
[in] | drxname | DRX filename. |
Load the exposure map from the primary image of the specified FITS file.
Definition at line 1457 of file GCOMObservation.cpp.
References GFits::close(), gammalib::com_wcs_mer2car(), drxname(), GFits::image(), m_drx, m_drxname, GCOMDri::map(), and GCOMDri::read().
Referenced by load().
|
virtual |
Return total number of predicted counts for one model.
[in] | model | Gamma-ray source model. |
Returns the total number of predicted counts in a given model component.
Reimplemented from GObservation.
Definition at line 452 of file GCOMObservation.cpp.
References GModels::append(), GObservation::events(), GObservation::model(), GEventBin::size(), GVector::size(), and use_event_for_likelihood().
|
inline |
Return Orbit Aspect Data.
Definition at line 516 of file GCOMObservation.hpp.
References m_oads.
Referenced by GCOMDri::compute_dre(), GCOMDri::compute_drg(), GCOMDris::compute_drws_energy(), GCOMDris::compute_drws_phibar(), GCOMDri::compute_drx(), load(), oads(), GCOMDris::vetorate_finish(), GCOMDris::vetorate_generate(), and GCOMDris::vetorate_setup().
|
inline |
Set Orbit Aspect Data.
[in] | oads | Orbit Aspect Data. |
Definition at line 529 of file GCOMObservation.hpp.
|
inline |
Set observation ID.
[in] | id | Observation ID. |
Definition at line 347 of file GCOMObservation.hpp.
References GObservation::id(), and m_obs_id.
|
inline |
Return observation ID.
Definition at line 412 of file GCOMObservation.hpp.
References m_obs_id.
|
inlinevirtual |
Return ontime.
Implements GObservation.
Definition at line 306 of file GCOMObservation.hpp.
References m_ontime.
Referenced by GCOMResponse::irf(), GCOMResponse::irf_diffuse(), GCOMResponse::irf_elliptical(), GCOMResponse::irf_ptsrc(), GCOMResponse::irf_radial(), ontime(), and print().
|
inline |
|
virtual |
Assignment operator.
[in] | obs | COMPTEL observation. |
Assign COMPTEL observation to this object.
Definition at line 330 of file GCOMObservation.cpp.
References copy_members(), free_members(), init_members(), and GObservation::operator=().
|
inline |
Return index of first Phibar layer to be used for likelihood fitting.
Definition at line 696 of file GCOMObservation.hpp.
References m_phi_first.
Referenced by phi_first(), and print().
|
inline |
Set index of first Phibar layer to be used for likelihood fitting.
[in] | phi_first | Index of first Phibar layer. |
Definition at line 800 of file GCOMObservation.hpp.
References m_phi_first, and phi_first().
|
inline |
Return index of last Phibar layer to be used for likelihood fitting.
Definition at line 709 of file GCOMObservation.hpp.
References m_phi_last.
Referenced by phi_last(), and print().
|
inline |
Set index of last Phibar layer to be used for likelihood fitting.
[in] | phi_last | Index of last Phibar layer. |
Definition at line 813 of file GCOMObservation.hpp.
References m_phi_last, and phi_last().
Print observation information.
[in] | chatter | Chattiness. |
Implements GObservation.
Definition at line 1065 of file GCOMObservation.cpp.
References GCOMTim::gti(), instrument(), GCOMOads::is_empty(), GCOMHkds::is_empty(), GCOMBvcs::is_empty(), GFilename::is_empty(), livetime(), m_bvcs, m_deadc, m_drg, GObservation::m_events, m_hkds, m_oads, m_phi_first, m_phi_last, m_rspname, m_tim, GCOMDri::map(), GObservation::name(), GSkyMap::nmaps(), ontime(), gammalib::parformat(), phi_first(), phi_last(), GCOMTim::print(), GCOMOads::print(), GCOMHkds::print(), GCOMBvcs::print(), GEvents::print(), gammalib::reduce(), response(), rspname(), SILENT, GGti::size(), GObservation::statistic(), and gammalib::str().
|
virtual |
Read observation from XML element.
[in] | xml | XML element. |
Reads information for a COMPTEL observation from an XML element. The method supports both an unbinned and a binned observation.
For an unbinned observation the XML format is
<observation name="Crab" id="000001" instrument="COM"> <parameter name="EVP" file="m16992_evp.fits"/> <parameter name="TIM" file="m10695_tim.fits"/> <parameter name="OAD" file="m20039_oad.fits"/> <parameter name="OAD" file="m20041_oad.fits"/> <parameter name="HKD" file="m20035_hkd.fits"/> <parameter name="HKD" file="m20037_hkd.fits"/> <parameter name="BVC" file="s10150_bvc.fits"/> ... </observation>
where the observation can contain an arbitrary number of OAD file parameters. The file
attribute provide either absolute or relative file names. If a file name includes no access path it is assumed that the file resides in the same location as the XML file. The HKD and BVC files are optional and do not need to be specified.
For a binned observation the XML format is
<observation name="Crab" id="000001" instrument="COM"> <parameter name="DRE" file="m50438_dre.fits"/> <parameter name="DRB" file="m34997_drg.fits"/> <parameter name="DRW" file="m34997_drw.fits"/> <parameter name="DRG" file="m34997_drg.fits"/> <parameter name="DRX" file="m32171_drx.fits"/> <parameter name="IAQ" value="UNH(1.0-3.0)MeV"/> </observation>
Note that the DRW parameter is optional.
Implements GObservation.
Definition at line 532 of file GCOMObservation.cpp.
References GXmlElement::attribute(), clear(), drbname(), drename(), drgname(), drwname(), drxname(), GXmlNode::element(), GXmlNode::elements(), GFilename::exists(), G_READ, GXmlElement::has_attribute(), GFilename::is_fits(), load(), GCOMResponse::load_cache(), GObservation::m_id, m_instrument, GObservation::m_name, m_phi_first, m_phi_last, m_response, m_rspname, response(), gammalib::toint(), gammalib::xml_file_expand(), gammalib::xml_get_attr(), and gammalib::xml_has_par().
Referenced by GCOMObservation().
|
protected |
Read observation attributes.
[in] | hdu | FITS HDU pointer |
Reads optional attributes are
OBS_ID - Observation identifier OBJECT - Object
Nothing is done if the HDU pointer is NULL.
Definition at line 1530 of file GCOMObservation.cpp.
References GFitsHDU::has_card(), GObservation::m_name, m_obs_id, GFitsHDU::real(), and GFitsHDU::string().
Referenced by load(), and load_dre().
|
virtual |
Set response function.
[in] | rsp | Response function. |
GException::invalid_argument | Specified response is not a COMPTEL response. |
Sets the response function for the observation.
Implements GObservation.
Definition at line 399 of file GCOMObservation.cpp.
References G_RESPONSE, m_response, and GObservation::name().
|
inlinevirtual |
Return response function.
Implements GObservation.
Definition at line 267 of file GCOMObservation.hpp.
References m_response.
Referenced by print(), read(), and response().
void GCOMObservation::response | ( | const GCaldb & | caldb, |
const std::string & | rspname | ||
) |
Set response function.
[in] | caldb | Calibration database. |
[in] | rspname | Name of COMPTEL response. |
Sets the response function by loading the response information from the calibration database.
Definition at line 428 of file GCOMObservation.cpp.
References GCOMResponse::caldb(), GCOMResponse::clear(), GCOMResponse::load(), and m_response.
|
inline |
Set response function.
[in] | response | Response function. |
Definition at line 280 of file GCOMObservation.hpp.
References m_response, and response().
|
inline |
Return response cache filename.
Definition at line 683 of file GCOMObservation.hpp.
References m_rspname.
|
inline |
Set response cache filename filename.
[in] | cachename | Response cache filename. |
Definition at line 787 of file GCOMObservation.hpp.
|
inline |
Return COMPTEL Good Time Intervals.
Definition at line 490 of file GCOMObservation.hpp.
References m_tim.
Referenced by GCOMDri::compute_dre(), GCOMDri::compute_drg(), GCOMDris::compute_drws_energy(), GCOMDris::compute_drws_phibar(), GCOMDri::compute_drx(), tim(), GCOMDris::vetorate_generate(), and GCOMDris::vetorate_setup().
|
inline |
Set COMPTEL Good Time Intervals.
[in] | tim | COMPTEL Good Time Intervals. |
Definition at line 503 of file GCOMObservation.hpp.
|
protectedvirtual |
Check whether bin should be used for likelihood analysis.
[in] | index | Event index. |
index
should be used.Implements the Phibar event selection.
Reimplemented from GObservation.
Definition at line 2535 of file GCOMObservation.cpp.
References m_drg, m_phi_first, m_phi_last, GCOMDri::map(), and GSkyMap::npix().
Referenced by npred().
|
virtual |
Write observation into XML element.
[in] | xml | XML element. |
Writes information for a COMPTEL observation into an XML element. The method supports both an unbinned and a binned observation.
For an unbinned observation the XML format is
<observation name="Crab" id="000001" instrument="COM"> <parameter name="EVP" file="m16992_evp.fits"/> <parameter name="TIM" file="m10695_tim.fits"/> <parameter name="OAD" file="m20039_oad.fits"/> <parameter name="OAD" file="m20041_oad.fits"/> <parameter name="HKD" file="m20035_hkd.fits"/> <parameter name="HKD" file="m20037_hkd.fits"/> <parameter name="BVC" file="s10150_bvc.fits"/> ... </observation>
where the observation can contain an arbitrary number of OAD file parameters. The file
attribute provide either absolute or relative file names. If a file name includes no access path it is assumed that the file resides in the same location as the XML file. The HKD and BVC files are optional and are only written if HKD and BVC information is contained in the observation.
For a binned observation the XML format is
<observation name="Crab" id="000001" instrument="COM"> <parameter name="DRE" file="m50438_dre.fits"/> <parameter name="DRB" file="m34997_drg.fits"/> <parameter name="DRW" file="m34997_drw.fits"/> <parameter name="DRG" file="m34997_drg.fits"/> <parameter name="DRX" file="m32171_drx.fits"/> <parameter name="IAQ" value="UNH(1.0-3.0)MeV"/> </observation>
Note that the DRW parameter is optional.
Implements GObservation.
Definition at line 694 of file GCOMObservation.cpp.
References GXmlNode::append(), GXmlElement::attribute(), GXmlNode::element(), GXmlNode::elements(), GFilename::exists(), G_WRITE, is_binned(), GCOMBvcs::is_empty(), GFilename::is_empty(), is_unbinned(), m_bvcname, m_bvcs, m_drbname, m_drename, m_drgname, m_drwname, m_drxname, m_evpname, m_hkdnames, m_oadnames, m_phi_first, m_phi_last, m_response, m_rspname, m_timname, GXmlNode::remove(), GCOMResponse::rspname(), GCOMResponse::save_cache(), gammalib::str(), gammalib::xml_file_reduce(), and gammalib::xml_need_par().
|
protected |
Write observation attributes.
[in] | hdu | FITS HDU pointer |
Nothing is done if the HDU pointer is NULL.
Definition at line 1555 of file GCOMObservation.cpp.
|
protected |
BVC filename.
Definition at line 241 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), and write().
|
protected |
Solar System Barycentre Data.
Definition at line 245 of file GCOMObservation.hpp.
Referenced by bvcs(), copy_members(), init_members(), load(), print(), and write().
|
protected |
Deadtime correction.
Definition at line 219 of file GCOMObservation.hpp.
Referenced by copy_members(), deadc(), GCOMObservation(), init_members(), load(), load_dre(), and print().
|
protected |
Background model.
Definition at line 228 of file GCOMObservation.hpp.
Referenced by compute_drb_bgdlixa(), compute_drb_bgdlixe(), compute_drb_bgdlixf(), compute_drb_phinor(), copy_members(), drb(), GCOMObservation(), init_members(), and load_drb().
|
protected |
DRB filename.
Definition at line 223 of file GCOMObservation.hpp.
Referenced by copy_members(), drbname(), GCOMObservation(), init_members(), load_drb(), and write().
|
protected |
DRE filename.
Definition at line 222 of file GCOMObservation.hpp.
Referenced by copy_members(), drename(), GCOMObservation(), init_members(), load_drb(), load_dre(), load_drg(), load_drw(), and write().
|
protected |
Geometry factors.
Definition at line 230 of file GCOMObservation.hpp.
Referenced by compute_drb_bgdlixa(), compute_drb_bgdlixe(), compute_drb_phinor(), copy_members(), drg(), GCOMObservation(), get_bgdlixa_phibar_indices(), get_weighted_drg_map(), init_members(), load_drg(), print(), and use_event_for_likelihood().
|
protected |
DRG filename.
Definition at line 225 of file GCOMObservation.hpp.
Referenced by copy_members(), drgname(), GCOMObservation(), init_members(), load_drg(), and write().
|
protected |
Weighting cube.
Definition at line 229 of file GCOMObservation.hpp.
Referenced by compute_drb_bgdlixf(), copy_members(), drw(), GCOMObservation(), init_members(), and load_drw().
|
protected |
DRW filename.
Definition at line 224 of file GCOMObservation.hpp.
Referenced by copy_members(), drwname(), GCOMObservation(), init_members(), load_drw(), and write().
|
protected |
Exposure map.
Definition at line 231 of file GCOMObservation.hpp.
Referenced by copy_members(), drx(), GCOMObservation(), init_members(), and load_drx().
|
protected |
DRX filename.
Definition at line 226 of file GCOMObservation.hpp.
Referenced by copy_members(), drxname(), GCOMObservation(), init_members(), load_drx(), and write().
|
protected |
EVP filename.
Definition at line 237 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), and write().
|
protected |
Energy width (MeV)
Definition at line 232 of file GCOMObservation.hpp.
Referenced by copy_members(), ewidth(), GCOMObservation(), init_members(), and load_dre().
|
protected |
HKD filenames.
Definition at line 240 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), and write().
|
protected |
Housekeeping Data.
Definition at line 244 of file GCOMObservation.hpp.
Referenced by copy_members(), hkds(), init_members(), load(), and print().
|
protected |
Instrument name.
Definition at line 214 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), instrument(), and read().
|
protected |
Livetime (sec)
Definition at line 218 of file GCOMObservation.hpp.
Referenced by copy_members(), GCOMObservation(), init_members(), livetime(), load(), and load_dre().
|
protected |
OAD filenames.
Definition at line 239 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), and write().
|
protected |
Orbit Aspect Data.
Definition at line 243 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), oads(), and print().
|
protected |
Observation ID.
Definition at line 216 of file GCOMObservation.hpp.
Referenced by copy_members(), GCOMObservation(), init_members(), obs_id(), and read_attributes().
|
protected |
Ontime (sec)
Definition at line 217 of file GCOMObservation.hpp.
Referenced by copy_members(), GCOMObservation(), init_members(), load(), load_dre(), and ontime().
|
protected |
First Phibar layer to use for likelihood.
Definition at line 233 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), phi_first(), print(), read(), use_event_for_likelihood(), and write().
|
protected |
Last Phibar layer to use for likelihood.
Definition at line 234 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), phi_last(), print(), read(), use_event_for_likelihood(), and write().
|
protected |
Response functions.
Definition at line 215 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), read(), response(), and write().
|
protected |
Response cache filename.
Definition at line 227 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), print(), read(), rspname(), and write().
|
protected |
COMPTEL Good Time Intervals.
Definition at line 242 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), print(), and tim().
|
protected |
TIM filename.
Definition at line 238 of file GCOMObservation.hpp.
Referenced by copy_members(), init_members(), load(), and write().