|
GammaLib 2.2.0.dev
|
Fermi/LAT event atom class. More...
#include <GLATEventAtom.hpp>
Public Member Functions | |
| GLATEventAtom (void) | |
| Void constructor. | |
| GLATEventAtom (const GLATEventAtom &atom) | |
| Copy constructor. | |
| virtual | ~GLATEventAtom (void) |
| Destructor. | |
| GLATEventAtom & | operator= (const GLATEventAtom &atom) |
| Assignment operator. | |
| void | clear (void) |
| Clear event atom. | |
| GLATEventAtom * | clone (void) const |
| Clone event atom. | |
| std::string | classname (void) const |
| Return class name. | |
| const GLATInstDir & | dir (void) const |
| Return event instrument direction. | |
| const GEnergy & | energy (void) const |
| Return event energy. | |
| const GTime & | time (void) const |
| Return event time. | |
| std::string | print (const GChatter &chatter=NORMAL) const |
| Print event information. | |
Public Member Functions inherited from GEventAtom | |
| GEventAtom (void) | |
| Void constructor. | |
| GEventAtom (const GEventAtom &atom) | |
| Copy constructor. | |
| virtual | ~GEventAtom (void) |
| Destructor. | |
| virtual GEventAtom & | operator= (const GEventAtom &atom) |
| Assignment operator. | |
| virtual double | size (void) const |
| Return size of an event atom. | |
| virtual double | counts (void) const |
| Return number of counts in event atom. | |
| virtual double | error (void) const |
| Return error in number of counts in event atom. | |
| bool | is_atom (void) const |
| Signal if event is an atom. | |
| bool | is_bin (void) const |
| Signal if event is a bin. | |
Public Member Functions inherited from GEvent | |
| GEvent (void) | |
| Void constructor. | |
| GEvent (const GEvent &event) | |
| Copy constructor. | |
| virtual | ~GEvent (void) |
| Destructor. | |
| virtual GEvent & | operator= (const GEvent &event) |
| Assignment operator. | |
Public Member Functions inherited from GBase | |
| virtual | ~GBase (void) |
| Destructor. | |
Protected Member Functions | |
| void | init_members (void) |
| Initialise class members. | |
| void | copy_members (const GLATEventAtom &atom) |
| Copy class members. | |
| void | free_members (void) |
| Delete class members. | |
Protected Member Functions inherited from GEventAtom | |
| void | init_members (void) |
| Initialise class members. | |
| void | copy_members (const GEventAtom &atom) |
| Copy class members. | |
| void | free_members (void) |
| Delete class members. | |
Protected Member Functions inherited from GEvent | |
| void | init_members (void) |
| Initialise class members. | |
| void | copy_members (const GEvent &event) |
| Copy class members. | |
| void | free_members (void) |
| Delete class members. | |
Protected Attributes | |
| GLATInstDir | m_dir |
| Event direction. | |
| GEnergy | m_energy |
| Event energy. | |
| GTime | m_time |
| Event time. | |
| float | m_theta |
| Zenith angle in instrument system. | |
| float | m_phi |
| Azimuth angle in instrument system. | |
| float | m_zenith_angle |
| Zenith angle in Earth system. | |
| float | m_earth_azimuth_angle |
| Azimuth angle in Earth system. | |
| long | m_event_id |
| ID number of original event. | |
| long | m_run_id |
| Run number of original event. | |
| short | m_recon_version |
| Version of event reconstruction software. | |
| short | m_calib_version [3] |
| Version of calibration tables for ACD, CAL. | |
| short | m_event_class |
| Event class: 0, 1, 2, ... | |
| short | m_conversion_type |
| Type of conversion: 0=Front, 1=Back. | |
| double | m_livetime |
| Accumulated livetime since mission start. | |
| double * | m_difrsp |
| Diffuse response components. | |
| int | m_num_difrsp |
| Number of diffuse model components. | |
Friends | |
| class | GLATEventList |
Fermi/LAT event atom class.
Definition at line 43 of file GLATEventAtom.hpp.
| GLATEventAtom::GLATEventAtom | ( | void | ) |
Void constructor.
Definition at line 53 of file GLATEventAtom.cpp.
References init_members().
Referenced by clone().
| GLATEventAtom::GLATEventAtom | ( | const GLATEventAtom & | atom | ) |
Copy constructor.
| [in] | atom | Event atom. |
Definition at line 68 of file GLATEventAtom.cpp.
References copy_members(), and init_members().
|
virtual |
|
inlinevirtual |
Return class name.
Implements GEventAtom.
Definition at line 98 of file GLATEventAtom.hpp.
|
virtual |
Clear event atom.
Implements GEventAtom.
Definition at line 139 of file GLATEventAtom.cpp.
References GEvent::free_members(), GEventAtom::free_members(), free_members(), GEvent::init_members(), GEventAtom::init_members(), and init_members().
|
virtual |
Clone event atom.
Implements GEventAtom.
Definition at line 161 of file GLATEventAtom.cpp.
References GLATEventAtom().
|
protected |
Copy class members.
| [in] | atom | Event atom. |
Definition at line 234 of file GLATEventAtom.cpp.
References m_calib_version, m_conversion_type, m_difrsp, m_dir, m_earth_azimuth_angle, m_energy, m_event_class, m_event_id, m_livetime, m_num_difrsp, m_phi, m_recon_version, m_run_id, m_theta, m_time, and m_zenith_angle.
Referenced by GLATEventAtom(), and operator=().
|
inlinevirtual |
Return event instrument direction.
Returns the reconstructed arrival direction of the photon on the sky.
Implements GEventAtom.
Definition at line 112 of file GLATEventAtom.hpp.
References m_dir.
|
inlinevirtual |
Return event energy.
Returns the reconstructed energy of the photon on the sky.
Implements GEventAtom.
Definition at line 126 of file GLATEventAtom.hpp.
References m_energy.
|
protected |
Delete class members.
Definition at line 278 of file GLATEventAtom.cpp.
References m_difrsp.
Referenced by clear(), operator=(), and ~GLATEventAtom().
|
protected |
Initialise class members.
Definition at line 202 of file GLATEventAtom.cpp.
References GEnergy::clear(), GLATInstDir::clear(), GTime::clear(), m_calib_version, m_conversion_type, m_difrsp, m_dir, m_earth_azimuth_angle, m_energy, m_event_class, m_event_id, m_livetime, m_num_difrsp, m_phi, m_recon_version, m_run_id, m_theta, m_time, and m_zenith_angle.
Referenced by clear(), GLATEventAtom(), GLATEventAtom(), and operator=().
| GLATEventAtom & GLATEventAtom::operator= | ( | const GLATEventAtom & | atom | ) |
Assignment operator.
| [in] | atom | Event atom. |
Definition at line 106 of file GLATEventAtom.cpp.
References copy_members(), free_members(), init_members(), and GEventAtom::operator=().
Print event information.
| [in] | chatter | Chattiness (defaults to NORMAL). |
Implements GEventAtom.
Definition at line 173 of file GLATEventAtom.cpp.
References m_dir, m_energy, m_time, GEnergy::print(), GLATInstDir::print(), GTime::print(), and SILENT.
|
inlinevirtual |
Return event time.
Returns the event triggering time.
Implements GEventAtom.
Definition at line 140 of file GLATEventAtom.hpp.
References m_time.
|
friend |
Definition at line 46 of file GLATEventAtom.hpp.
|
protected |
Version of calibration tables for ACD, CAL.
Definition at line 83 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Type of conversion: 0=Front, 1=Back.
Definition at line 85 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Diffuse response components.
Definition at line 87 of file GLATEventAtom.hpp.
Referenced by copy_members(), free_members(), and init_members().
|
protected |
Event direction.
Definition at line 73 of file GLATEventAtom.hpp.
Referenced by copy_members(), dir(), init_members(), and print().
|
protected |
Azimuth angle in Earth system.
Definition at line 79 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Event energy.
Definition at line 74 of file GLATEventAtom.hpp.
Referenced by copy_members(), energy(), init_members(), and print().
|
protected |
Event class: 0, 1, 2, ...
Definition at line 84 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
ID number of original event.
Definition at line 80 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Accumulated livetime since mission start.
Definition at line 86 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Number of diffuse model components.
Definition at line 88 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Azimuth angle in instrument system.
Definition at line 77 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Version of event reconstruction software.
Definition at line 82 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Run number of original event.
Definition at line 81 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Zenith angle in instrument system.
Definition at line 76 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Event time.
Definition at line 75 of file GLATEventAtom.hpp.
Referenced by copy_members(), init_members(), print(), GLATEventList::read_events(), and time().
|
protected |
Zenith angle in Earth system.
Definition at line 78 of file GLATEventAtom.hpp.
Referenced by copy_members(), and init_members().