Ejemplo n.º 1
0
/***********************************************************************//**
 * @brief Signals if sky model is temporally constant
 *
 * @return True if sky model is temporally constant, false otherwise.
 *
 * Signals if the sky model is temporally constant. A temporally constant
 * model is a model that has a temporal component of type "Constant".
 ***************************************************************************/
inline
bool GCTAModelIrfBackground::is_constant(void) const
{
    return (m_temporal != NULL && m_temporal->type() == "Constant");
}
/***********************************************************************//**
 * @brief Signals if model is temporally constant
 *
 * @return True if model is temporally constant, false otherwise.
 *
 * Signals if the model is temporally constant. A temporally constant model
 * is a model that has a temporal component of type "Constant".
 ***************************************************************************/
inline
bool GCTAModelRadialAcceptance::is_constant(void) const
{
    return (m_temporal != NULL && m_temporal->type() == "Constant");
}