GammaLib
2.1.0.dev
|
COMPTEL selection set class. More...
#include <GCOMSelection.hpp>
Public Member Functions | |
GCOMSelection (void) | |
Void constructor. More... | |
GCOMSelection (const GCOMSelection &select) | |
Copy constructor. More... | |
virtual | ~GCOMSelection (void) |
Destructor. More... | |
GCOMSelection & | operator= (const GCOMSelection &select) |
Assignment operator. More... | |
virtual void | clear (void) |
Clear COMPTEL selection set. More... | |
virtual GCOMSelection * | clone (void) const |
Clone COMPTEL selection set. More... | |
virtual std::string | classname (void) const |
Return class name. More... | |
virtual std::string | print (const GChatter &chatter=NORMAL) const |
Print COMPTEL selection set. More... | |
void | init_statistics (void) const |
Initialise selection statistics. More... | |
bool | use_event (const GCOMEventAtom &event) const |
Check if event should be used. More... | |
const double & | e1_min (void) const |
Return minimum of D1 energy selection window. More... | |
void | e1_min (const double &e1_min) |
Set minimum of D1 energy selection window. More... | |
const double & | e1_max (void) const |
Return maximum of D1 energy selection window. More... | |
void | e1_max (const double &e1_max) |
Set maximum of D1 energy selection window. More... | |
const double & | e2_min (void) const |
Return minimum of D2 energy selection window. More... | |
void | e2_min (const double &e2_min) |
Set minimum of D2 energy selection window. More... | |
const double & | e2_max (void) const |
Return maximum of D2 energy selection window. More... | |
void | e2_max (const double &e2_max) |
Set maximum of D2 energy selection window. More... | |
const int & | tof_min (void) const |
Return minimum of ToF selection window. More... | |
void | tof_min (const int &tof_min) |
Set minimum of ToF selection window. More... | |
const int & | tof_max (void) const |
Return maximum of ToF selection window. More... | |
void | tof_max (const int &tof_max) |
Set maximum of ToF selection window. More... | |
const int & | psd_min (void) const |
Return minimum of PSD selection window. More... | |
void | psd_min (const int &psd_min) |
Set minimum of PSD selection window. More... | |
const int & | psd_max (void) const |
Return maximum of PSD selection window. More... | |
void | psd_max (const int &psd_max) |
Set maximum of PSD selection window. More... | |
const int & | reflag_min (void) const |
Return minimum of Rejection Flag selection window. More... | |
void | reflag_min (const int &reflag_min) |
Set minimum of Rejection Flag selection window. More... | |
const int & | reflag_max (void) const |
Return maximum of Rejection Flag selection window. More... | |
void | reflag_max (const int &reflag_max) |
Set maximum of Rejection Flag selection window. More... | |
const int & | vetoflag_min (void) const |
Return minimum of Veto Flag selection window. More... | |
void | vetoflag_min (const int &vetoflag_min) |
Set minimum of Veto Flag selection window. More... | |
const int & | vetoflag_max (void) const |
Return maximum of Veto Flag selection window. More... | |
void | vetoflag_max (const int &vetoflag_max) |
Set maximum of Veto Flag selection window. More... | |
const int & | fpmtflag (void) const |
Return failed PMT flag for D2 modules. More... | |
void | fpmtflag (const int &fpmtflag) |
Set failed PMT flag for D2 modules. More... | |
const bool & | use_d1 (const int &id1) const |
Return D1 module usage flag. More... | |
void | use_d1 (const int &id1, const bool &use) |
Set D1 module usage flag. More... | |
const bool & | use_d2 (const int &id2) const |
Return D2 module usage flag. More... | |
void | use_d2 (const int &id2, const bool &use) |
Set D2 module usage flag. More... | |
const GPhases & | orbital_phases (void) const |
Return orbital phases. More... | |
void | orbital_phases (const GPhases &phases) |
Set orbital phases. More... | |
void | orbital_period (const double &period, const GTime &time) |
Set orbital period. More... | |
double | orbital_phase (const GTime &time) const |
Return orbital phase for a given time. More... | |
const GPhases & | pulsar_phases (void) const |
Return pulsar phases. More... | |
void | pulsar_phases (const GPhases &phases) |
Set pulsar phases. More... | |
const GPulsar & | pulsar (void) const |
Return pulsar. More... | |
void | pulsar (const GPulsar &pulsar) |
Set pulsar. More... | |
bool | has_pulsar (void) const |
Signals that pulsar selection should be performed. More... | |
void | read (const GFitsHDU &hdu) |
Read selection set from FITS HDU keywords. More... | |
void | write (GFitsHDU &hdu) const |
Write selection set keywords into FITS HDU. 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 GCOMSelection &select) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Protected Attributes | |
double | m_e1_min |
Minimum D1 energy deposit (MeV) More... | |
double | m_e1_max |
Maximum D1 energy deposit (MeV) More... | |
double | m_e2_min |
Minimum D2 energy deposit (MeV) More... | |
double | m_e2_max |
Maximum D2 energy deposit (MeV) More... | |
int | m_tof_min |
Minimum TOF window. More... | |
int | m_tof_max |
Maximum TOF window. More... | |
int | m_psd_min |
Minimum PSD window. More... | |
int | m_psd_max |
Maximum PSD window. More... | |
int | m_reflag_min |
Minimum rejection flag. More... | |
int | m_reflag_max |
Maximum rejection flag. More... | |
int | m_vetoflag_min |
Minimum veto flag. More... | |
int | m_vetoflag_max |
Maximum veto flag. More... | |
int | m_fpmtflag |
bool | m_use_d1 [7] |
D1 module usage. More... | |
bool | m_use_d2 [14] |
D2 module usage. More... | |
GPhases | m_orbital_phases |
Phases for orbital phase selection. More... | |
GModelTemporalPhaseCurve | m_orbital_phase_curve |
Orbital phase curve. More... | |
GPhases | m_pulsar_phases |
Phases for pulse phase selection. More... | |
GPulsar | m_pulsar |
Pulsar information. More... | |
int | m_num_events_checked |
Number of checked events. More... | |
int | m_num_events_used |
Number of used events. More... | |
int | m_num_events_rejected |
Number of rejected events. More... | |
int | m_num_e1_min |
Number of events below E1 threshold. More... | |
int | m_num_e1_max |
Number of events above E1 threshold. More... | |
int | m_num_e2_min |
Number of events below E2 threshold. More... | |
int | m_num_e2_max |
Number of events above E2 threshold. More... | |
int | m_num_tof_min |
Number of events below TOF threshold. More... | |
int | m_num_tof_max |
Number of events above TOF threshold. More... | |
int | m_num_psd_min |
Number of events below PSD threshold. More... | |
int | m_num_psd_max |
Number of events above PSD threshold. More... | |
int | m_num_reflag_min |
Number of events below rejection flag threshold. More... | |
int | m_num_reflag_max |
Number of events above rejection flag threshold. More... | |
int | m_num_vetoflag_min |
Number of events below veto flag threshold. More... | |
int | m_num_vetoflag_max |
Number of events above veto flag threshold. More... | |
int | m_num_no_scatter |
Number of events without scatter angle. More... | |
int | m_num_invalid_modcom |
Number of events with invalid minitelescopes. More... | |
int | m_num_d1module_off |
Number of events excluded since D1 module off. More... | |
int | m_num_d2module_off |
Number of events excluded since D2 module off. More... | |
int | m_num_fpmt |
Number of events excluded due to failed PMT. More... | |
int | m_num_d1 [7] |
Number of events per D1 module. More... | |
int | m_num_d2 [14] |
Number of events per D2 module. More... | |
COMPTEL selection set class.
This class implements a COMPTEL selection set.
Definition at line 51 of file GCOMSelection.hpp.
GCOMSelection::GCOMSelection | ( | void | ) |
Void constructor.
Definition at line 62 of file GCOMSelection.cpp.
References init_members().
Referenced by clone().
GCOMSelection::GCOMSelection | ( | const GCOMSelection & | select | ) |
Copy constructor.
[in] | select | COMPTEL selection set. |
Definition at line 77 of file GCOMSelection.cpp.
References copy_members(), and init_members().
|
virtual |
|
inlinevirtual |
Return class name.
Implements GBase.
Definition at line 174 of file GCOMSelection.hpp.
|
virtual |
Clear COMPTEL selection set.
Implements GBase.
Definition at line 145 of file GCOMSelection.cpp.
References free_members(), and init_members().
Referenced by GCOMDri::init_members().
|
virtual |
Clone COMPTEL selection set.
Implements GBase.
Definition at line 163 of file GCOMSelection.cpp.
References GCOMSelection().
|
protected |
Copy class members.
[in] | select | COMPTEL selection set. |
Definition at line 936 of file GCOMSelection.cpp.
References m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_invalid_modcom, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, m_num_vetoflag_min, m_orbital_phase_curve, m_orbital_phases, m_psd_max, m_psd_min, m_pulsar, m_pulsar_phases, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, and m_vetoflag_min.
Referenced by GCOMSelection(), and operator=().
|
inline |
Return maximum of D1 energy selection window.
Definition at line 211 of file GCOMSelection.hpp.
References m_e1_max.
Referenced by e1_max().
|
inline |
Set maximum of D1 energy selection window.
[in] | e1_max | Maximum of D1 energy selection window. |
Definition at line 223 of file GCOMSelection.hpp.
|
inline |
Return minimum of D1 energy selection window.
Definition at line 186 of file GCOMSelection.hpp.
References m_e1_min.
Referenced by e1_min().
|
inline |
Set minimum of D1 energy selection window.
[in] | e1_min | Minimum of D1 energy selection window. |
Definition at line 198 of file GCOMSelection.hpp.
|
inline |
Return maximum of D2 energy selection window.
Definition at line 261 of file GCOMSelection.hpp.
References m_e2_max.
Referenced by e2_max().
|
inline |
Set maximum of D2 energy selection window.
[in] | e2_max | Maximum of D2 energy selection window. |
Definition at line 273 of file GCOMSelection.hpp.
|
inline |
Return minimum of D2 energy selection window.
Definition at line 236 of file GCOMSelection.hpp.
References m_e2_min.
Referenced by e2_min().
|
inline |
Set minimum of D2 energy selection window.
[in] | e2_min | Minimum of D2 energy selection window. |
Definition at line 248 of file GCOMSelection.hpp.
|
inline |
Return failed PMT flag for D2 modules.
Returns the failed PMT flag for D2 modules. The following values can be returned:
Definition at line 493 of file GCOMSelection.hpp.
References m_fpmtflag.
Referenced by GCOMDri::compute_geometry(), fpmtflag(), and GCOMDri::write_attributes().
void GCOMSelection::fpmtflag | ( | const int & | fpmtflag | ) |
Set failed PMT flag for D2 modules.
[in] | fpmtflag | Failed PMT flag for D2 modules. |
Set the failed PMT flag for D2 modules. The following values can be set:
Definition at line 397 of file GCOMSelection.cpp.
References fpmtflag(), G_FPMTFLAG, m_fpmtflag, and gammalib::str().
|
protected |
Delete class members.
Definition at line 1001 of file GCOMSelection.cpp.
Referenced by clear(), operator=(), and ~GCOMSelection().
|
inline |
Signals that pulsar selection should be performed.
This method returns true if the pulsar and the pulsar phase selection are not empty.
Definition at line 600 of file GCOMSelection.hpp.
References pulsar(), and pulsar_phases().
Referenced by GCOMDri::compute_dre(), GCOMDri::compute_drg(), GCOMDris::compute_drws_energy(), GCOMDris::compute_drws_phibar(), GCOMDri::compute_drx(), GCOMDris::vetorate_generate(), and GCOMDris::vetorate_setup().
|
protected |
Initialise class members.
< Minimum D1 energy deposit (MeV)
< Maximum D1 energy deposit (MeV)
< Minimum D2 energy deposit (MeV)
< Maximum D2 energy deposit (MeV)
< Minimum TOF window
< Maximum TOF window
< Minimum PSD window
< Maximum PSD window
< Minimum rejection flag
< Maximum rejection flag
< Minimum veto flag
< Maximum veto flag
< D2 PMT failure flag
Definition at line 896 of file GCOMSelection.cpp.
References GPhases::clear(), GPulsar::clear(), GModelTemporalPhaseCurve::clear(), init_statistics(), m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_orbital_phase_curve, m_orbital_phases, m_psd_max, m_psd_min, m_pulsar, m_pulsar_phases, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, and m_vetoflag_min.
Referenced by clear(), GCOMSelection(), and operator=().
void GCOMSelection::init_statistics | ( | void | ) | const |
Initialise selection statistics.
Definition at line 172 of file GCOMSelection.cpp.
References m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_invalid_modcom, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, and m_num_vetoflag_min.
Referenced by GCOMDri::compute_dre(), and init_members().
GCOMSelection & GCOMSelection::operator= | ( | const GCOMSelection & | select | ) |
Assignment operator.
[in] | select | COMPTEL selection set. |
Definition at line 115 of file GCOMSelection.cpp.
References copy_members(), free_members(), and init_members().
void GCOMSelection::orbital_period | ( | const double & | period, |
const GTime & | time | ||
) |
Set orbital period.
[in] | period | Orbital period (days). |
[in] | time | Time of phase zero. |
Set the orbital phase for orbital phase selection.
Definition at line 734 of file GCOMSelection.cpp.
References GModelTemporalPhaseCurve::clear(), GModelTemporalPhaseCurve::f0(), GModelTemporalPhaseCurve::f1(), GModelTemporalPhaseCurve::f2(), m_orbital_phase_curve, GModelTemporalPhaseCurve::mjd(), GModelTemporalPhaseCurve::phase(), and gammalib::sec_in_day.
|
inline |
Return orbital phase for a given time.
[in] | time | Time. |
Definition at line 531 of file GCOMSelection.hpp.
References m_orbital_phase_curve, and GModelTemporalPhaseCurve::phase().
Referenced by GCOMDri::use_superpacket().
|
inline |
Return orbital phases.
Definition at line 505 of file GCOMSelection.hpp.
References m_orbital_phases.
Referenced by GCOMDri::use_superpacket().
|
inline |
Set orbital phases.
[in] | phases | Orbital phases. |
Definition at line 517 of file GCOMSelection.hpp.
References m_orbital_phases.
Print COMPTEL selection set.
[in] | chatter | Chattiness. |
Implements GBase.
Definition at line 760 of file GCOMSelection.cpp.
References GPhases::is_empty(), GPulsar::is_empty(), m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_invalid_modcom, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, m_num_vetoflag_min, m_orbital_phase_curve, m_orbital_phases, m_psd_max, m_psd_min, m_pulsar, m_pulsar_phases, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, m_vetoflag_min, gammalib::parformat(), GPhases::print(), GPulsar::print(), GModelTemporalPhaseCurve::print(), SILENT, and gammalib::str().
Referenced by GCOMDri::print().
|
inline |
Return maximum of PSD selection window.
Definition at line 361 of file GCOMSelection.hpp.
References m_psd_max.
Referenced by psd_max().
|
inline |
Set maximum of PSD selection window.
[in] | psd_max | Maximum of PSD selection window. |
Definition at line 373 of file GCOMSelection.hpp.
|
inline |
Return minimum of PSD selection window.
Definition at line 336 of file GCOMSelection.hpp.
References m_psd_min.
Referenced by psd_min().
|
inline |
Set minimum of PSD selection window.
[in] | psd_min | Minimum of PSD selection window. |
Definition at line 348 of file GCOMSelection.hpp.
|
inline |
Return pulsar.
Definition at line 572 of file GCOMSelection.hpp.
References m_pulsar.
Referenced by GCOMDri::compute_dre(), GCOMDri::compute_drg(), GCOMDris::compute_drws_energy(), GCOMDris::compute_drws_phibar(), GCOMDri::compute_drx(), has_pulsar(), pulsar(), GCOMDris::vetorate_generate(), and GCOMDris::vetorate_setup().
|
inline |
|
inline |
Return pulsar phases.
Definition at line 547 of file GCOMSelection.hpp.
References m_pulsar_phases.
Referenced by GCOMDri::compute_dre(), and has_pulsar().
|
inline |
Set pulsar phases.
[in] | phases | Pulsar phases. |
Definition at line 559 of file GCOMSelection.hpp.
References m_pulsar_phases.
void GCOMSelection::read | ( | const GFitsHDU & | hdu | ) |
Read selection set from FITS HDU keywords.
[in] | hdu | FITS HDU. |
Definition at line 510 of file GCOMSelection.cpp.
References GFitsHDU::has_card(), GFitsHDU::integer(), m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, m_num_vetoflag_min, m_psd_max, m_psd_min, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, m_vetoflag_min, GFitsHDU::real(), gammalib::str(), GFitsHDU::string(), and gammalib::strip_whitespace().
Referenced by GCOMDri::read_attributes().
|
inline |
Return maximum of Rejection Flag selection window.
Definition at line 411 of file GCOMSelection.hpp.
References m_reflag_max.
Referenced by reflag_max().
|
inline |
Set maximum of Rejection Flag selection window.
[in] | reflag_max | Maximum of Rejection Flag selection window. |
Definition at line 423 of file GCOMSelection.hpp.
References m_reflag_max, and reflag_max().
|
inline |
Return minimum of Rejection Flag selection window.
Definition at line 386 of file GCOMSelection.hpp.
References m_reflag_min.
Referenced by reflag_min().
|
inline |
Set minimum of Rejection Flag selection window.
[in] | reflag_min | Minimum of Rejection Flag selection window. |
Definition at line 398 of file GCOMSelection.hpp.
References m_reflag_min, and reflag_min().
|
inline |
Return maximum of ToF selection window.
Definition at line 311 of file GCOMSelection.hpp.
References m_tof_max.
Referenced by GCOMDri::compute_tof_correction(), and tof_max().
|
inline |
Set maximum of ToF selection window.
[in] | tof_max | Maximum of ToF selection window. |
Definition at line 323 of file GCOMSelection.hpp.
|
inline |
Return minimum of ToF selection window.
Definition at line 286 of file GCOMSelection.hpp.
References m_tof_min.
Referenced by GCOMDri::compute_tof_correction(), and tof_min().
|
inline |
Set minimum of ToF selection window.
[in] | tof_min | Minimum of ToF selection window. |
Definition at line 298 of file GCOMSelection.hpp.
const bool & GCOMSelection::use_d1 | ( | const int & | id1 | ) | const |
Return D1 module usage flag.
[in] | id1 | D1 module identifier [0,...,6]. |
id1
should be used. Definition at line 421 of file GCOMSelection.cpp.
References G_USE_D1_GET, m_use_d1, and gammalib::str().
Referenced by GCOMDri::compute_geometry(), and GCOMDri::write_attributes().
void GCOMSelection::use_d1 | ( | const int & | id1, |
const bool & | use | ||
) |
Set D1 module usage flag.
[in] | id1 | D1 module identifier [0,...,6]. |
[in] | use | D1 module usage. |
Definition at line 442 of file GCOMSelection.cpp.
References G_USE_D1_SET, m_use_d1, and gammalib::str().
const bool & GCOMSelection::use_d2 | ( | const int & | id2 | ) | const |
Return D2 module usage flag.
[in] | id2 | D2 module identifier [0,...,13]. |
id2
should be used. Definition at line 466 of file GCOMSelection.cpp.
References G_USE_D2_GET, m_use_d2, and gammalib::str().
Referenced by GCOMDri::compute_geometry(), and GCOMDri::write_attributes().
void GCOMSelection::use_d2 | ( | const int & | id2, |
const bool & | use | ||
) |
Set D2 module usage flag.
[in] | id2 | D2 module identifier [0,...,13]. |
[in] | use | D2 module usage. |
Definition at line 487 of file GCOMSelection.cpp.
References G_USE_D2_SET, m_use_d2, and gammalib::str().
bool GCOMSelection::use_event | ( | const GCOMEventAtom & | event | ) | const |
Check if event should be used.
[in] | event | Event. |
Checks if an event should be used for DRE binning.
Definition at line 215 of file GCOMSelection.cpp.
References gammalib::com_exd2r(), gammalib::com_exd2x(), gammalib::com_exd2y(), gammalib::com_tjd(), GCOMStatus::d1status(), GCOMStatus::d2status(), GCOMEventAtom::e1(), GCOMEventAtom::e2(), m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_invalid_modcom, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, m_num_vetoflag_min, m_psd_max, m_psd_min, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, m_vetoflag_min, GCOMEventAtom::modcom(), GCOMEventAtom::psd(), GCOMEventAtom::reflag(), GCOMEventAtom::theta(), GCOMEventAtom::time(), GCOMEventAtom::tof(), and GCOMEventAtom::veto().
Referenced by GCOMDri::compute_dre(), GCOMDris::compute_drws_energy(), GCOMDris::compute_drws_phibar(), and GCOMDris::vetorate_setup().
|
inline |
Return maximum of Veto Flag selection window.
Definition at line 461 of file GCOMSelection.hpp.
References m_vetoflag_max.
Referenced by vetoflag_max().
|
inline |
Set maximum of Veto Flag selection window.
[in] | vetoflag_max | Maximum of Veto Flag selection window. |
Definition at line 473 of file GCOMSelection.hpp.
References m_vetoflag_max, and vetoflag_max().
|
inline |
Return minimum of Veto Flag selection window.
Definition at line 436 of file GCOMSelection.hpp.
References m_vetoflag_min.
Referenced by vetoflag_min().
|
inline |
Set minimum of Veto Flag selection window.
[in] | vetoflag_min | Minimum of Veto Flag selection window. |
Definition at line 448 of file GCOMSelection.hpp.
References m_vetoflag_min, and vetoflag_min().
void GCOMSelection::write | ( | GFitsHDU & | hdu | ) | const |
Write selection set keywords into FITS HDU.
[in] | hdu | FITS HDU. |
Definition at line 642 of file GCOMSelection.cpp.
References GFitsHDU::card(), m_e1_max, m_e1_min, m_e2_max, m_e2_min, m_fpmtflag, m_num_d1, m_num_d1module_off, m_num_d2, m_num_d2module_off, m_num_e1_max, m_num_e1_min, m_num_e2_max, m_num_e2_min, m_num_events_checked, m_num_events_rejected, m_num_events_used, m_num_fpmt, m_num_invalid_modcom, m_num_no_scatter, m_num_psd_max, m_num_psd_min, m_num_reflag_max, m_num_reflag_min, m_num_tof_max, m_num_tof_min, m_num_vetoflag_max, m_num_vetoflag_min, m_psd_max, m_psd_min, m_reflag_max, m_reflag_min, m_tof_max, m_tof_min, m_use_d1, m_use_d2, m_vetoflag_max, m_vetoflag_min, and gammalib::str().
Referenced by GCOMDri::write_attributes().
|
protected |
Maximum D1 energy deposit (MeV)
Definition at line 121 of file GCOMSelection.hpp.
Referenced by copy_members(), e1_max(), init_members(), print(), read(), use_event(), and write().
|
protected |
Minimum D1 energy deposit (MeV)
Definition at line 120 of file GCOMSelection.hpp.
Referenced by copy_members(), e1_min(), init_members(), print(), read(), use_event(), and write().
|
protected |
Maximum D2 energy deposit (MeV)
Definition at line 123 of file GCOMSelection.hpp.
Referenced by copy_members(), e2_max(), init_members(), print(), read(), use_event(), and write().
|
protected |
Minimum D2 energy deposit (MeV)
Definition at line 122 of file GCOMSelection.hpp.
Referenced by copy_members(), e2_min(), init_members(), print(), read(), use_event(), and write().
|
protected |
D2 PMT failures (0: exclude modules, 1: include modules, 2: use FPM information)
Definition at line 132 of file GCOMSelection.hpp.
Referenced by copy_members(), fpmtflag(), init_members(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events per D1 module.
Definition at line 163 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events excluded since D1 module off.
Definition at line 160 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events per D2 module.
Definition at line 164 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events excluded since D2 module off.
Definition at line 161 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above E1 threshold.
Definition at line 147 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below E1 threshold.
Definition at line 146 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above E2 threshold.
Definition at line 149 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below E2 threshold.
Definition at line 148 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of checked events.
Definition at line 143 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of rejected events.
Definition at line 145 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of used events.
Definition at line 144 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events excluded due to failed PMT.
Definition at line 162 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events with invalid minitelescopes.
Definition at line 159 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), use_event(), and write().
|
mutableprotected |
Number of events without scatter angle.
Definition at line 158 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above PSD threshold.
Definition at line 153 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below PSD threshold.
Definition at line 152 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above rejection flag threshold.
Definition at line 155 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below rejection flag threshold.
Definition at line 154 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above TOF threshold.
Definition at line 151 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below TOF threshold.
Definition at line 150 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events above veto flag threshold.
Definition at line 157 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
mutableprotected |
Number of events below veto flag threshold.
Definition at line 156 of file GCOMSelection.hpp.
Referenced by copy_members(), init_statistics(), print(), read(), use_event(), and write().
|
protected |
Orbital phase curve.
Definition at line 138 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), orbital_period(), orbital_phase(), and print().
|
protected |
Phases for orbital phase selection.
Definition at line 137 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), orbital_phases(), and print().
|
protected |
Maximum PSD window.
Definition at line 127 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), psd_max(), read(), use_event(), and write().
|
protected |
Minimum PSD window.
Definition at line 126 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), psd_min(), read(), use_event(), and write().
|
protected |
Pulsar information.
Definition at line 140 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), and pulsar().
|
protected |
Phases for pulse phase selection.
Definition at line 139 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), and pulsar_phases().
|
protected |
Maximum rejection flag.
Definition at line 129 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), reflag_max(), use_event(), and write().
|
protected |
Minimum rejection flag.
Definition at line 128 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), reflag_min(), use_event(), and write().
|
protected |
Maximum TOF window.
Definition at line 125 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), tof_max(), use_event(), and write().
|
protected |
Minimum TOF window.
Definition at line 124 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), tof_min(), use_event(), and write().
|
protected |
D1 module usage.
Definition at line 135 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), use_d1(), use_event(), and write().
|
protected |
D2 module usage.
Definition at line 136 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), use_d2(), use_event(), and write().
|
protected |
Maximum veto flag.
Definition at line 131 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), use_event(), vetoflag_max(), and write().
|
protected |
Minimum veto flag.
Definition at line 130 of file GCOMSelection.hpp.
Referenced by copy_members(), init_members(), print(), read(), use_event(), vetoflag_min(), and write().