ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoSimulationUtils
L1TopoSimulationUtils
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
;
30
static
int
atan2leg
(
TSU::L1TopoDataTypes<16,0>
x
,
TSU::L1TopoDataTypes<16,0>
y
);
31
static
int
atan2
(
TSU::L1TopoDataTypes<16,0>
x
,
TSU::L1TopoDataTypes<16,0>
y
);
32
};
33
}
34
#endif
L1TopoDataTypes.h
y
#define y
x
#define x
TSU::L1TopoDataTypes
Definition
L1TopoDataTypes.h:52
TSU
Definition
Conversions.h:11
TSU::Trigo
Definition
Trigo.h:21
TSU::Trigo::atan2leg
static int atan2leg(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition
Trigo.cxx:440
TSU::Trigo::Sin
static const std::vector< std::string > Sin
Definition
Trigo.h:305
TSU::Trigo::Cos
static const std::vector< std::string > Cos
Definition
Trigo.h:100
TSU::Trigo::CosInt
static const std::vector< int > CosInt
Definition
Trigo.h:28
TSU::Trigo::SinInt
static const std::vector< int > SinInt
Definition
Trigo.h:29
TSU::Trigo::Sinleg
static const std::vector< std::string > Sinleg
Definition
Trigo.h:234
TSU::Trigo::CoslegInt
static const std::vector< int > CoslegInt
Definition
Trigo.h:26
TSU::Trigo::SinlegInt
static const std::vector< int > SinlegInt
Definition
Trigo.h:27
TSU::Trigo::Cosleg
static const std::vector< std::string > Cosleg
Definition
Trigo.h:28
TSU::Trigo::atan2
static int atan2(TSU::L1TopoDataTypes< 16, 0 > x, TSU::L1TopoDataTypes< 16, 0 > y)
Definition
Trigo.cxx:512
Generated on
for ATLAS Offline Software by
1.17.0