GammaLib 2.0.0
Loading...
Searching...
No Matches
GArf.hpp File Reference

XSPEC Auxiliary Response File class definition. More...

#include <string>
#include <vector>
#include "GBase.hpp"
#include "GEbounds.hpp"
#include "GFilename.hpp"
#include "GNodeArray.hpp"
#include "GFitsHeader.hpp"

Go to the source code of this file.

Classes

class  GArf
 Auxiliary Response File class. More...
 

Namespaces

namespace  gammalib
 

Functions

GArf operator+ (const GArf &a, const GArf &b)
 Auxiliary Response File addition operator friend.
 
GArf operator- (const GArf &a, const GArf &b)
 Auxiliary Response File subtraction operator friend.
 
GArf operator* (const GArf &arf, const double &scale)
 Auxiliary Response File scaling operator friend.
 
GArf operator* (const double &scale, const GArf &arf)
 Auxiliary Response File scaling operator friend.
 
GArf operator/ (const GArf &arf, const double &scale)
 Auxiliary Response File vision operator friend.
 

Variables

const std::string gammalib::extname_arf = "SPECRESP"
 

Detailed Description

XSPEC Auxiliary Response File class definition.

Author
Juergen Knoedlseder

Definition in file GArf.hpp.

Function Documentation

◆ operator*() [1/2]

GArf operator* ( const double & scale,
const GArf & arf )
inline

Auxiliary Response File scaling operator friend.

Parameters
[in]scaleScale factor.
[in]arfAuxiliary Response File.
Returns
Scaled Auxiliary Response File.

Definition at line 341 of file GArf.hpp.

◆ operator*() [2/2]

GArf operator* ( const GArf & arf,
const double & scale )
inline

Auxiliary Response File scaling operator friend.

Parameters
[in]arfAuxiliary Response File.
[in]scaleScale factor.
Returns
Scaled Auxiliary Response File.

Definition at line 325 of file GArf.hpp.

◆ operator+()

GArf operator+ ( const GArf & a,
const GArf & b )
inline

Auxiliary Response File addition operator friend.

Parameters
[in]aFirst Auxiliary Response File.
[in]bSecond Auxiliary Response File.
Returns
Sum of Auxiliary Response Files.

Definition at line 293 of file GArf.hpp.

◆ operator-()

GArf operator- ( const GArf & a,
const GArf & b )
inline

Auxiliary Response File subtraction operator friend.

Parameters
[in]aFirst Auxiliary Response File.
[in]bSecond Auxiliary Response File.
Returns
Difference of Auxiliary Response Files.

Definition at line 309 of file GArf.hpp.

◆ operator/()

GArf operator/ ( const GArf & arf,
const double & scale )
inline

Auxiliary Response File vision operator friend.

Parameters
[in]arfAuxiliary Response File.
[in]scaleDivision factor.
Returns
Divided Auxiliary Response File.

Definition at line 357 of file GArf.hpp.