ATLAS Offline Software
BinAndCoord.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 /***************************************************************************
5  BinAndCoord.h - description
6  -------------------
7  begin : 7/03/2002
8  email : e.moyse@qmul.ac.uk
9  ***************************************************************************/
10 
11 
12 
13 
14 #ifndef _BinAndCoord_H_
15 #define _BinAndCoord_H_
16 
17 #ifndef TRIGGERSPACE
18 // running in Athena
20 #else
21 // running in TRIGGERSPACE
22 #include "Coordinate.h"
23 #endif
24 
28 namespace LVL1 {
29 
35 class BinAndCoord {
36 
37 public:
38  BinAndCoord(int phiBin, int etaBin, Coordinate* centralCoords):
39  m_phiBin(phiBin), m_etaBin(etaBin), m_centralCoords(centralCoords){} ;
41 
42 
43 public:
44  int phiBin() const {return m_phiBin;};
45  int etaBin() const {return m_etaBin;};
46  const Coordinate* coords() const {return m_centralCoords;};
47 
48 private:
49 
50  int m_phiBin;
51  int m_etaBin;
53 
54 };
55 
56 } // end of namespace bracket
57 
58 
59 #endif
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::BinAndCoord::m_phiBin
int m_phiBin
Definition: BinAndCoord.h:56
LVL1::Coordinate
Coordinate class declaration.
Definition: TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h:50
Coordinate.h
Coordinate policies.
LVL1::BinAndCoord::phiBin
int phiBin() const
Definition: BinAndCoord.h:54
LVL1::BinAndCoord::~BinAndCoord
~BinAndCoord()
Definition: BinAndCoord.h:50
Coordinate.h
LVL1::BinAndCoord::m_centralCoords
Coordinate * m_centralCoords
Definition: BinAndCoord.h:62
LVL1::BinAndCoord::etaBin
int etaBin() const
Definition: BinAndCoord.h:55
LVL1::BinAndCoord::coords
const Coordinate * coords() const
Definition: BinAndCoord.h:56
LVL1::BinAndCoord::m_etaBin
int m_etaBin
Definition: BinAndCoord.h:61
LVL1::BinAndCoord::BinAndCoord
BinAndCoord(int phiBin, int etaBin, Coordinate *centralCoords)
Definition: BinAndCoord.h:48