ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace 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
#define y
#define x
static int atan2leg(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition Trigo.cxx:440
static const std::vector< std::string > Sin
Definition Trigo.h:305
static const std::vector< std::string > Cos
Definition Trigo.h:100
static const std::vector< int > CosInt
Definition Trigo.h:28
static const std::vector< int > SinInt
Definition Trigo.h:29
static const std::vector< std::string > Sinleg
Definition Trigo.h:234
static const std::vector< int > CoslegInt
Definition Trigo.h:26
static const std::vector< int > SinlegInt
Definition Trigo.h:27
static const std::vector< std::string > Cosleg
Definition Trigo.h:28
static int atan2(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition Trigo.cxx:512