27 #ifndef GCOMSELECTION_HPP
28 #define GCOMSELECTION_HPP
63 virtual void clear(
void);
65 virtual std::string
classname(
void)
const;
71 const double&
e1_min(
void)
const;
72 void e1_min(
const double& e1_min);
73 const double&
e1_max(
void)
const;
74 void e1_max(
const double& e1_max);
75 const double&
e2_min(
void)
const;
76 void e2_min(
const double& e2_min);
77 const double&
e2_max(
void)
const;
78 void e2_max(
const double& e2_max);
80 void tof_min(
const int& tof_min);
82 void tof_max(
const int& tof_max);
84 void psd_min(
const int& psd_min);
86 void psd_max(
const int& psd_max);
97 const bool&
use_d1(
const int& id1)
const;
98 void use_d1(
const int& id1,
const bool& use);
99 const bool&
use_d2(
const int& id2)
const;
100 void use_d2(
const int& id2,
const bool& use);
176 return (
"GCOMSelection");
const double & e1_min(void) const
Return minimum of D1 energy selection window.
const bool & use_d2(const int &id2) const
Return D2 module usage flag.
const GPhases & pulsar_phases(void) const
Return pulsar phases.
void copy_members(const GCOMSelection &select)
Copy class members.
int m_num_d2[14]
Number of events per D2 module.
int m_vetoflag_max
Maximum veto flag.
int m_num_d1module_off
Number of events excluded since D1 module off.
int m_num_tof_max
Number of events above TOF threshold.
virtual std::string classname(void) const
Return class name.
const int & psd_min(void) const
Return minimum of PSD selection window.
int m_reflag_min
Minimum rejection flag.
bool m_use_d1[7]
D1 module usage.
Abstract FITS extension base class.
Definition of interface for all GammaLib classes.
int m_tof_max
Maximum TOF window.
double m_e2_max
Maximum D2 energy deposit (MeV)
double m_e2_min
Minimum D2 energy deposit (MeV)
COMPTEL selection set class.
const int & tof_min(void) const
Return minimum of ToF selection window.
double orbital_phase(const GTime &time) const
Return orbital phase for a given time.
int m_reflag_max
Maximum rejection flag.
int m_vetoflag_min
Minimum veto flag.
const int & fpmtflag(void) const
Return failed PMT flag for D2 modules.
GModelTemporalPhaseCurve m_orbital_phase_curve
Orbital phase curve.
void free_members(void)
Delete class members.
const double & e2_max(void) const
Return maximum of D2 energy selection window.
const int & vetoflag_min(void) const
Return minimum of Veto Flag selection window.
Phase intervals class interface definition.
void write(GFitsHDU &hdu) const
Write selection set keywords into FITS HDU.
int m_psd_max
Maximum PSD window.
bool has_pulsar(void) const
Signals that pulsar selection should be performed.
const int & vetoflag_max(void) const
Return maximum of Veto Flag selection window.
Temporal phase curve model class interface definition.
Interface class for all GammaLib classes.
int m_num_reflag_max
Number of events above rejection flag threshold.
void orbital_period(const double &period, const GTime &time)
Set orbital period.
GCOMSelection(void)
Void constructor.
int m_num_e1_min
Number of events below E1 threshold.
void init_members(void)
Initialise class members.
int m_psd_min
Minimum PSD window.
void init_statistics(void) const
Initialise selection statistics.
int m_num_d2module_off
Number of events excluded since D2 module off.
GCOMSelection & operator=(const GCOMSelection &select)
Assignment operator.
virtual ~GCOMSelection(void)
Destructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print COMPTEL selection set.
double m_e1_max
Maximum D1 energy deposit (MeV)
int m_num_e2_max
Number of events above E2 threshold.
GPulsar m_pulsar
Pulsar information.
const bool & use_d1(const int &id1) const
Return D1 module usage flag.
int m_num_events_rejected
Number of rejected events.
bool m_use_d2[14]
D2 module usage.
const GPulsar & pulsar(void) const
Return pulsar.
virtual GCOMSelection * clone(void) const
Clone COMPTEL selection set.
int m_num_vetoflag_min
Number of events below veto flag threshold.
double phase(void) const
Return phase at reference Modified Julian Day.
int m_num_reflag_min
Number of events below rejection flag threshold.
const double & e1_max(void) const
Return maximum of D1 energy selection window.
const int & psd_max(void) const
Return maximum of PSD selection window.
bool use_event(const GCOMEventAtom &event) const
Check if event should be used.
int m_num_invalid_modcom
Number of events with invalid minitelescopes.
int m_num_events_checked
Number of checked events.
GPhases m_pulsar_phases
Phases for pulse phase selection.
int m_num_fpmt
Number of events excluded due to failed PMT.
const int & reflag_min(void) const
Return minimum of Rejection Flag selection window.
int m_num_tof_min
Number of events below TOF threshold.
virtual void clear(void)
Clear COMPTEL selection set.
int m_num_psd_max
Number of events above PSD threshold.
const int & reflag_max(void) const
Return maximum of Rejection Flag selection window.
const int & tof_max(void) const
Return maximum of ToF selection window.
const GPhases & orbital_phases(void) const
Return orbital phases.
int m_num_no_scatter
Number of events without scatter angle.
int m_num_psd_min
Number of events below PSD threshold.
double m_e1_min
Minimum D1 energy deposit (MeV)
void read(const GFitsHDU &hdu)
Read selection set from FITS HDU keywords.
const double & e2_min(void) const
Return minimum of D2 energy selection window.
int m_num_e2_min
Number of events below E2 threshold.
GPhases m_orbital_phases
Phases for orbital phase selection.
int m_num_events_used
Number of used events.
int m_num_vetoflag_max
Number of events above veto flag threshold.
Temporal phase curve model class.
int m_tof_min
Minimum TOF window.
int m_num_e1_max
Number of events above E1 threshold.
int m_num_d1[7]
Number of events per D1 module.
COMPTEL event atom class.