GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GCOMSupport.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  * GCOMSupport.hpp - COMPTEL support functions *
3  * ----------------------------------------------------------------------- *
4  * copyright (C) 2012-2021 by Juergen Knoedlseder *
5  * ----------------------------------------------------------------------- *
6  * *
7  * This program is free software: you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation, either version 3 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19  * *
20  ***************************************************************************/
21 /**
22  * @file GCOMSupport.hpp
23  * @brief Definition of support function used by COMPTEL classes
24  * @author Juergen Knoedlseder
25  */
26 
27 #ifndef GCOMSUPPORT_HPP
28 #define GCOMSUPPORT_HPP
29 
30 /* __ Includes ___________________________________________________________ */
31 
32 /* __ Forward declarations _______________________________________________ */
33 class GSkyMap;
34 
35 /* __ Namespaces _________________________________________________________ */
36 
37 /* __ Constants __________________________________________________________ */
38 
39 /* __ Prototypes _________________________________________________________ */
40 namespace gammalib {
41  void com_wcs_mer2car(GSkyMap& map);
42  double com_energy1(const double& energy, const double& phigeo);
43  double com_energy2(const double& energy, const double& phigeo);
44  const double& com_exd2x(const int& id2);
45  const double& com_exd2y(const int& id2);
46  const double& com_exd2r(const int& id2);
47 }
48 
49 #endif /* GCOMSUPPORT_HPP */
Sky map class.
Definition: GSkyMap.hpp:89
double com_energy2(const double &energy, const double &phigeo)
Return D2 energy deposit.
const double & com_exd2r(const int &id2)
Return D2 module exclusion region radius.
const double & com_exd2y(const int &id2)
Return D2 module exclusion region Y position.
void com_wcs_mer2car(GSkyMap &map)
Changes Mercator&#39;s projection to cartesian projection.
Definition: GCOMSupport.cpp:56
const double & com_exd2x(const int &id2)
Return D2 module exclusion region X position.
double com_energy1(const double &energy, const double &phigeo)
Return D1 energy deposit.