ATLAS Offline Software
FCALTile.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 #ifndef LARREADOUTGEOMETRY_FCALTILE_H
6 #define LARREADOUTGEOMETRY_FCALTILE_H
7 
8 #include "LArReadoutGeometry/FCAL_ChannelMap.h"
9 #include "LArHV/FCALHVModule.h"
11 #include "CxxUtils/CachedPointer.h"
12 #include "CxxUtils/CachedValue.h"
13 
14 class FCALModule;
15 
26 class FCALTile
27 {
29 
30  public:
31 
35  FCALTile(const FCALTile &right);
36 
41 
46 
50  FCALTile & operator=(const FCALTile &right);
51 
52 
56  double getX () const;
57 
61  double getY () const;
62 
66  unsigned int getNumTubes () const;
67 
71  int getIndexI () const;
72 
76  int getIndexJ () const;
77 
81  unsigned int identify () const;
82 
86  bool operator < (const FCALTile & t) const { return ((*m_tile).first) < (*t.m_tile).first; }
87 
91  const FCALModule *getModule() const;
92 
96  FCALTubeConstLink getTube (unsigned int i) const;
97 
101  static unsigned int getNumHVLines() ;
102 
106  const FCALHVLine* getHVLine (unsigned int i) const;
107 
108  private:
109 
110  // Iterator to a tile within the FCAL Channel Map.
113 
118 
123 
124 
125 
126 };
127 
128 
129 
130 #endif
FCALTile::getNumTubes
unsigned int getNumTubes() const
Gets the number of tubes in the tile.
Definition: FCALTile.cxx:56
FCALTile::getY
double getY() const
Gets the Y position of the Tile.
Definition: FCALTile.cxx:51
FCALTile::getIndexI
int getIndexI() const
Returns the index "i" of the tile.
Definition: FCALTile.cxx:61
FCALTile::getX
double getX() const
Gets the X Position of the Tile.
Definition: FCALTile.cxx:46
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
CachedPointer.h
Cached pointer with atomic update.
FCALTile::FCALTile
FCALTile(const FCALTile &right)
Copy constructor.
Definition: FCALTile.cxx:15
FCALTile
A tile of the forward calorimeter readout geometry.
Definition: FCALTile.h:27
python.PyAthena.module
module
Definition: PyAthena.py:134
FCALHVLine
Definition: FCALHVLine.h:15
FCALTile::m_module
const FCALModule * m_module
Definition: FCALTile.h:111
lumiFormat.i
int i
Definition: lumiFormat.py:92
FCALTile::m_tube
CxxUtils::CachedValue< std::vector< FCALTubeConstLink > > m_tube
Cache of tubes.
Definition: FCALTile.h:122
CxxUtils::CachedValue
Cached value with atomic update.
Definition: CachedValue.h:55
FCALTile::operator<
bool operator<(const FCALTile &t) const
For sorting operations:
Definition: FCALTile.h:86
FCALTile::getModule
const FCALModule * getModule() const
Get the Module.
Definition: FCALTile.cxx:76
FCALTile::operator=
FCALTile & operator=(const FCALTile &right)
Assignment.
Definition: FCALTile.cxx:31
FCALTile::getNumHVLines
static unsigned int getNumHVLines()
Get num hvlines.
Definition: FCALTile.cxx:81
FCALTile::m_line
CxxUtils::CachedPointer< const FCALHVLine > m_line[4]
Cache of subgaps.
Definition: FCALTile.h:117
CachedValue.h
Cached value with atomic update.
FCALTile::TileConstIterator
FCAL_ChannelMap::tileMap_const_iterator TileConstIterator
Definition: FCALTile.h:28
FCALModule
Definition: FCALModule.h:33
FCALTile::getIndexJ
int getIndexJ() const
Returns the index "J" of the tile.
Definition: FCALTile.cxx:66
FCAL_ChannelMap::tileMap_const_iterator
tileMap_t::const_iterator tileMap_const_iterator
Definition: LArCalorimeter/LArGeoModel/LArReadoutGeometry/LArReadoutGeometry/FCAL_ChannelMap.h:144
FCALTile::m_tile
TileConstIterator m_tile
Definition: FCALTile.h:112
FCALHVModule.h
CxxUtils::CachedPointer< const FCALHVLine >
FCALTile::getHVLine
const FCALHVLine * getHVLine(unsigned int i) const
Get hvline.
Definition: FCALTile.cxx:85
DeMoScan.first
bool first
Definition: DeMoScan.py:534
FCALTile::~FCALTile
~FCALTile()
Destructor.
FCALTile::getTube
FCALTubeConstLink getTube(unsigned int i) const
Get a tube.
Definition: FCALTile.cxx:100
FCALTile::identify
unsigned int identify() const
Returns the identifier of this tile (convention: comes from the FCAL Channel Map).
Definition: FCALTile.cxx:71