GammaLib
2.1.0.dev
|
Photon class definition. More...
#include <string>
#include "GBase.hpp"
#include "GSkyDir.hpp"
#include "GEnergy.hpp"
#include "GTime.hpp"
Go to the source code of this file.
Classes | |
class | GPhoton |
Class that handles photons. More... | |
Functions | |
bool | operator== (const GPhoton &a, const GPhoton &b) |
Equality friend operator. More... | |
bool | operator!= (const GPhoton &a, const GPhoton &b) |
Non-equality friend operator. More... | |
Photon class definition.
Definition in file GPhoton.hpp.
Non-equality friend operator.
[in] | a | First photon. |
[in] | b | Second photon. |
Definition at line 227 of file GPhoton.hpp.
References GSkyDir::dist(), GPhoton::m_dir, GPhoton::m_energy, and GPhoton::m_time.
Equality friend operator.
[in] | a | First photon. |
[in] | b | Second photon. |
Definition at line 212 of file GPhoton.hpp.
References GSkyDir::dist(), GPhoton::m_dir, GPhoton::m_energy, and GPhoton::m_time.