GammaLib
2.1.0.dev
|
Abstract base class for the CTA effective area. More...
#include <GCTAAeff.hpp>
Public Member Functions | |
GCTAAeff (void) | |
Void constructor. More... | |
GCTAAeff (const GCTAAeff &aeff) | |
Copy constructor. More... | |
virtual | ~GCTAAeff (void) |
Destructor. More... | |
virtual double | operator() (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 |
GCTAAeff & | operator= (const GCTAAeff &aeff) |
Assignment operator. More... | |
virtual void | clear (void)=0 |
Clear object. More... | |
virtual GCTAAeff * | 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 | max (const double &logE, const double &zenith, const double &azimuth, const bool &etrue=true) const =0 |
virtual GEbounds | ebounds (void) 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 GCTAAeff &aeff) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Abstract base class for the CTA effective area.
This class implements the abstract base class for the CTA effective area. The effective area is accessed using the following arguments logE - log10 of true (or measured) energy in TeV theta - Offset angle of true photon direction in camera system (rad) phi - Azimuth angle of true photon direction in camera system (rad) zenith - Zenith angle of pointing in Earth system (rad) azimuth - Azimuth angle of pointing in Earth system (rad) etrue - Use true or measured energy
Definition at line 54 of file GCTAAeff.hpp.
GCTAAeff::GCTAAeff | ( | void | ) |
GCTAAeff::GCTAAeff | ( | const GCTAAeff & | aeff | ) |
Copy constructor.
[in] | aeff | Effective area. |
Definition at line 68 of file GCTAAeff.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 GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
|
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 GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
|
pure virtual |
Clones object.
Creates a deep copy of the object and returns a pointer to the object.
Implements GBase.
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
Referenced by GCTAResponseIrf::aeff(), and GCTAResponseIrf::copy_members().
|
protected |
Copy class members.
[in] | aeff | Effective area. |
Definition at line 154 of file GCTAAeff.cpp.
Referenced by GCTAAeff(), and operator=().
|
pure virtual |
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
|
pure virtual |
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
Referenced by GCTAResponseIrf::write().
|
protected |
Delete class members.
Definition at line 164 of file GCTAAeff.cpp.
Referenced by GCTAAeffPerfTable::clear(), GCTAAeffArf::clear(), GCTAAeff2D::clear(), operator=(), and ~GCTAAeff().
|
protected |
Initialise class members.
Definition at line 142 of file GCTAAeff.cpp.
Referenced by GCTAAeffPerfTable::clear(), GCTAAeffArf::clear(), GCTAAeff2D::clear(), GCTAAeff(), and operator=().
|
pure virtual |
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
|
pure virtual |
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
Referenced by GCTAModelAeffBackground::mc().
|
pure virtual |
Implemented in GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
Assignment operator.
[in] | aeff | Effective area. |
Definition at line 106 of file GCTAAeff.cpp.
References copy_members(), free_members(), and init_members().
Referenced by GCTAAeffPerfTable::operator=(), GCTAAeffArf::operator=(), and GCTAAeff2D::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 GCTAAeff2D, GCTAAeffArf, and GCTAAeffPerfTable.
Referenced by GCTAResponseIrf::print().