ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloUtils
src
ICoordinate.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
ICoordinate.cxx - description
6
-------------------
7
begin : 26/02/2002
8
email : e.moyse@qmul.ac.uk
9
***************************************************************************/
10
11
12
13
#ifndef TRIGGERSPACE
14
// running in Athena
15
#include "
TrigT1CaloUtils/ICoordinate.h
"
16
#else
17
// running in TRIGGERSPACE
18
#include "
ICoordinate.h
"
19
#endif
20
21
namespace
LVL1
{
22
23
ICoordinate::ICoordinate
(
int
phi,
int
eta,
double
dEta
):
24
m_phi(
phi
), m_eta(
eta
), m_dEta(
dEta
){
25
checkBounds();
26
}
27
28
29
// Destructor
30
ICoordinate::~ICoordinate
(){
31
}
32
34
void
ICoordinate::setCoords
(
int
phi,
int
eta){
35
m_phi
=
phi
;
m_eta
=
eta
;
36
checkBounds
();
37
return
;
38
}
39
41
void
ICoordinate::checkBounds
(){
42
return
;
43
}
44
46
int
ICoordinate::eta
()
const
{
47
return
m_eta
;
48
}
49
51
int
ICoordinate::phi
()
const
{
52
return
m_phi
;
53
}
54
56
double
ICoordinate::dEta
()
const
{
57
return
m_dEta
;
58
}
59
60
}
// end of LVL1 namespace bracket
LVL1::ICoordinate::checkBounds
void checkBounds()
Ensure coords are sensible.
Definition:
ICoordinate.cxx:46
test_pyathena.eta
eta
Definition:
test_pyathena.py:10
LVL1::ICoordinate::m_dEta
double m_dEta
Definition:
ICoordinate.h:51
LVL1::ICoordinate::m_eta
int m_eta
Definition:
ICoordinate.h:50
LVL1::ICoordinate::setCoords
void setCoords(int phi, int eta)
change coords of an existing ICoordinate object
Definition:
ICoordinate.cxx:39
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
xAOD::phi
setEt phi
Definition:
TrigEMCluster_v1.cxx:29
LVL1::ICoordinate::dEta
double dEta() const
return double eta
Definition:
ICoordinate.cxx:61
LVL1::ICoordinate::ICoordinate
ICoordinate(int phi, int eta, double dEta)
Definition:
ICoordinate.cxx:28
LVL1::ICoordinate::~ICoordinate
virtual ~ICoordinate()
Definition:
ICoordinate.cxx:35
LVL1::ICoordinate::phi
int phi() const
return phi
Definition:
ICoordinate.cxx:56
LVL1::ICoordinate::eta
int eta() const
return eta
Definition:
ICoordinate.cxx:51
TauGNNUtils::Variables::Track::dEta
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Definition:
TauGNNUtils.cxx:527
ICoordinate.h
LVL1::ICoordinate::m_phi
int m_phi
Definition:
ICoordinate.h:49
Generated on Sun Dec 22 2024 21:11:22 for ATLAS Offline Software by
1.8.18