27 #ifndef GLATEVENTBIN_HPP
28 #define GLATEVENTBIN_HPP
64 virtual void clear(
void);
66 virtual std::string
classname(
void)
const;
67 virtual double size(
void)
const;
71 virtual double counts(
void)
const;
72 virtual double error(
void)
const;
79 const double&
ontime(
void)
const;
80 const int&
index(
void)
const;
81 const int&
ipix(
void)
const;
82 const int&
ieng(
void)
const;
114 return (
"GLATEventBin");
const int & index(void) const
Return event bin index in cube.
Energy value class definition.
int m_index
Actual skymap index.
Fermi/LAT instrument direction class.
Abstract interface for the event bin class.
Abstract event bin base class definition.
virtual std::string classname(void) const
Return class name.
GLATInstDir * m_dir
Pointer to bin direction.
GEnergy * m_ewidth
Pointer to energy width of bin.
virtual double error(void) const
Return error in number of counts.
GEnergy * m_energy
Pointer to bin energy.
virtual GLATEventBin * clone(void) const
Clone event bin.
int m_ipix
Actual spatial index.
const int & ieng(void) const
Return event bin energy index in cube.
const double & solidangle(void) const
Return solid angle of event bin.
Fermi/LAT event bin class.
int m_ieng
Actual energy index.
void free_members(void)
Delete class members.
virtual const GEnergy & energy(void) const
Return energy of event bin.
virtual ~GLATEventBin(void)
Destructor.
double * m_solidangle
Pointer to solid angle of pixel (sr)
virtual double size(void) const
Return size of event bin.
const GEnergy & ewidth(void) const
Return energy width of event bin.
const int & ipix(void) const
Return event bin map pixel index in cube.
virtual const GTime & time(void) const
Return time of event bin.
virtual GLATEventBin & operator=(const GLATEventBin &bin)
Assignment operator.
GLATEventBin(void)
Void constructor.
void init_members(void)
Initialise class members.
Fermi/LAT event cube class.
virtual const GLATInstDir & dir(void) const
Return instrument direction of event bin.
const double & ontime(void) const
Return ontime of event bin.
virtual void clear(void)
Clear event bin.
double * m_ontime
Pointer to ontime of bin (seconds)
double * m_counts
Pointer to number of counts.
void copy_members(const GLATEventBin &bin)
Copy class members.
virtual double counts(void) const
Return number of counts in event bin.
Fermi/LAT instrument direction class definition.
const GLATEventCube * cube(void) const
Return pointer to related map cube.
GLATEventCube * m_cube
Event cube back pointer.
GTime * m_time
Pointer to bin time.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print event information.
Time class interface definition.
Class that handles energies in a unit independent way.