ATLAS Offline Software
ICoordinate.h
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.h - description
6  -------------------
7  begin : 28/02/2002
8  email : e.moyse@qmul.ac.uk
9  ***************************************************************************/
10 
11 
12 
13 
14 #ifndef ICOORDINATE_H
15 #define ICOORDINATE_H
16 
19 namespace LVL1 {
20 
26 class ICoordinate {
27 
28  public:
29 
30  ICoordinate(int phi, int eta, double dEta) ;
31  virtual ~ICoordinate();
32  void setCoords(int phi, int eta);
33  int eta() const;
34  int phi() const;
35  double dEta() const;
36 
37  private:
38  void checkBounds();
39  int m_phi;
40  int m_eta;
41  double m_dEta;
42 
43 };
44 
45 } // end of namespace bracket
46 
47 
48 #endif
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
LVL1::ICoordinate::checkBounds
void checkBounds()
Ensure coords are sensible.
Definition: ICoordinate.cxx:46
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
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
LVL1::ICoordinate::m_phi
int m_phi
Definition: ICoordinate.h:49