ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1MuonRecRoiData.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include <math.h> /* M_PI */
7
8namespace LVL1{
9
11 m_eta(eta),
12 m_phi(phi)
13 {
14 }
19 const double etaMin, const double etaMax,
20 const double phiMin, const double phiMax ):
21 m_eta(eta),
22 m_phi(phi),
27 {
28 }
39 if (m_etaMin>m_etaMax) {
40 double tmp = m_etaMax;
42 m_etaMin = tmp;
43 }
44 if(m_phi < -M_PI) {
45 m_phi += 2*M_PI;
46 }else if (m_phi > M_PI) {
47 m_phi -= 2*M_PI;
48 }
50 double tmp = m_phiMax;
52 m_phiMin = tmp;
53 }
54 }
55
56}
#define M_PI
void set_roi(unsigned short _roi)
unsigned short sector(void) const
void set_sector(unsigned short _sector)
void set_side(unsigned short _side)
unsigned short side(void) const
unsigned short roi(void) const
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...