GammaLib
2.1.0.dev
|
Abstract base class for the CTA point spread function. More...
#include <GCTAPsf.hpp>
Public Member Functions | |
GCTAPsf (void) | |
Void constructor. More... | |
GCTAPsf (const GCTAPsf &psf) | |
Copy constructor. More... | |
virtual | ~GCTAPsf (void) |
Destructor. More... | |
virtual double | operator() (const double &delta, const double &logE, const double &theta=0.0, const double &phi=0.0, const double &zenith=0.0, const double &azimuth=0.0, const bool &etrue=true) const =0 |
GCTAPsf & | operator= (const GCTAPsf &psf) |
Assignment operator. More... | |
virtual void | clear (void)=0 |
Clear object. More... | |
virtual GCTAPsf * | clone (void) const =0 |
Clones object. More... | |
virtual std::string | classname (void) const =0 |
Return class name. More... | |
virtual void | load (const GFilename &filename)=0 |
virtual GFilename | filename (void) const =0 |
virtual double | mc (GRan &ran, const double &logE, const double &theta=0.0, const double &phi=0.0, const double &zenith=0.0, const double &azimuth=0.0, const bool &etrue=true) const =0 |
virtual double | delta_max (const double &logE, const double &theta=0.0, const double &phi=0.0, const double &zenith=0.0, const double &azimuth=0.0, const bool &etrue=true) const =0 |
virtual double | containment_radius (const double &fraction, const double &logE, const double &theta=0.0, const double &phi=0.0, const double &zenith=0.0, const double &azimuth=0.0, const bool &etrue=true) const =0 |
virtual std::string | print (const GChatter &chatter=NORMAL) const =0 |
Print content of object. 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 GCTAPsf &psf) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Abstract base class for the CTA point spread function.
This class implements the abstract base class for the CTA point spread function.
Definition at line 47 of file GCTAPsf.hpp.
GCTAPsf::GCTAPsf | ( | void | ) |
GCTAPsf::GCTAPsf | ( | const GCTAPsf & | psf | ) |
Copy constructor.
[in] | psf | Point spread function. |
Definition at line 68 of file GCTAPsf.cpp.
References copy_members(), and init_members().
|
virtual |
|
pure virtual |
Return class name.
Returns the class name for non-abstract classes in a human readable way.
Implements GBase.
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
|
pure virtual |
Clear object.
Sets the object to a clean initial state. After calling the method the object will be in the same state as it were if an empty instance of the object would have been created.
Implements GBase.
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
|
pure virtual |
Clones object.
Creates a deep copy of the object and returns a pointer to the object.
Implements GBase.
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
Referenced by GCTAResponseIrf::copy_members(), and GCTAResponseIrf::psf().
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
|
protected |
Copy class members.
[in] | psf | Point spread function. |
Definition at line 154 of file GCTAPsf.cpp.
Referenced by GCTAPsf(), and operator=().
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
Referenced by GCTAResponseIrf::psf_delta_max().
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
|
protected |
Delete class members.
Definition at line 164 of file GCTAPsf.cpp.
Referenced by GCTAPsfPerfTable::clear(), GCTAPsfVector::clear(), GCTAPsf2D::clear(), GCTAPsfKing::clear(), GCTAPsfTable::clear(), operator=(), and ~GCTAPsf().
|
protected |
Initialise class members.
Definition at line 142 of file GCTAPsf.cpp.
Referenced by GCTAPsfPerfTable::clear(), GCTAPsfVector::clear(), GCTAPsf2D::clear(), GCTAPsfKing::clear(), GCTAPsfTable::clear(), GCTAPsf(), and operator=().
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
Referenced by GCTAResponseIrf::mc().
|
pure virtual |
Implemented in GCTAPsf2D, GCTAPsfKing, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
Assignment operator.
[in] | psf | Point spread function. |
Definition at line 106 of file GCTAPsf.cpp.
References copy_members(), free_members(), and init_members().
Referenced by GCTAPsfPerfTable::operator=(), GCTAPsfVector::operator=(), GCTAPsfTable::operator=(), GCTAPsf2D::operator=(), and GCTAPsfKing::operator=().
Print content of object.
[in] | chatter | Chattiness (defaults to NORMAL). |
Formats the content in a standard way and puts this content in a C++ string that is returned.
Implements GBase.
Implemented in GCTAPsfKing, GCTAPsf2D, GCTAPsfTable, GCTAPsfPerfTable, and GCTAPsfVector.
Referenced by GCTAResponseIrf::print().