ATLAS Offline Software
Trigo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 /*********************************
5  * Trigo.h
6  * Created by Ignacio Aracena June 2015
7  * <ignacio.aracena@cern.ch>
8  *
9  * @brief Lookup table for trigonometric functions
10  *
11 **********************************/
12 
13 #ifndef L1TopoSimulationUtils_Trigo
14 #define L1TopoSimulationUtils_Trigo
15 
16 #include <string>
17 #include <vector>
18 #include "L1TopoDataTypes.h"
19 
20 namespace TSU {
21  struct Trigo{
22  static const std::vector<std::string> Cosleg;
23  static const std::vector<std::string> Sinleg;
24  static const std::vector<std::string> Cos;
25  static const std::vector<std::string> Sin;
26  static const std::vector<int> CoslegInt;
27  static const std::vector<int> SinlegInt;
28  static const std::vector<int> CosInt;
29  static const std::vector<int> SinInt;
32  };
33 }
34 #endif
TSU::Trigo::Sin
static const std::vector< std::string > Sin
Definition: Trigo.h:39
TSU
Definition: Conversions.h:11
x
#define x
TSU::Trigo::SinlegInt
static const std::vector< int > SinlegInt
Definition: Trigo.h:41
TSU::Trigo::CosInt
static const std::vector< int > CosInt
Definition: Trigo.h:42
TSU::L1TopoDataTypes
Definition: L1TopoDataTypes.h:51
TSU::Trigo::atan2
static int atan2(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition: Trigo.cxx:512
TSU::Trigo::Cosleg
static const std::vector< std::string > Cosleg
Definition: Trigo.h:36
TSU::Trigo::Sinleg
static const std::vector< std::string > Sinleg
Definition: Trigo.h:37
TSU::Trigo::SinInt
static const std::vector< int > SinInt
Definition: Trigo.h:43
y
#define y
L1TopoDataTypes.h
TSU::Trigo::Cos
static const std::vector< std::string > Cos
Definition: Trigo.h:38
TSU::Trigo::atan2leg
static int atan2leg(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition: Trigo.cxx:440
TSU::Trigo::CoslegInt
static const std::vector< int > CoslegInt
Definition: Trigo.h:40