ATLAS Offline Software
Loading...
Searching...
No Matches
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"
13
14class FCALModule;
15
25
27{
29
30 public:
31
35 FCALTile(const FCALTile &right);
36
40 FCALTile (const FCALModule *module, FCALTile::TileConstIterator tIterator);
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
Cached pointer with atomic update.
Cached value with atomic update.
Cached value with atomic update.
Definition CachedValue.h:55
CxxUtils::CachedValue< std::vector< FCALTubeConstLink > > m_tube
Cache of tubes.
Definition FCALTile.h:122
TileConstIterator m_tile
Definition FCALTile.h:112
unsigned int identify() const
Returns the identifier of this tile (convention: comes from the FCAL Channel Map).
Definition FCALTile.cxx:71
int getIndexJ() const
Returns the index "J" of the tile.
Definition FCALTile.cxx:66
int getIndexI() const
Returns the index "i" of the tile.
Definition FCALTile.cxx:61
bool operator<(const FCALTile &t) const
For sorting operations:
Definition FCALTile.h:86
static unsigned int getNumHVLines()
Get num hvlines.
Definition FCALTile.cxx:81
FCALTubeConstLink getTube(unsigned int i) const
Get a tube.
Definition FCALTile.cxx:100
const FCALHVLine * getHVLine(unsigned int i) const
Get hvline.
Definition FCALTile.cxx:85
double getY() const
Gets the Y position of the Tile.
Definition FCALTile.cxx:51
~FCALTile()
Destructor.
CxxUtils::CachedPointer< const FCALHVLine > m_line[4]
Cache of subgaps.
Definition FCALTile.h:117
FCALTile(const FCALTile &right)
Copy constructor.
Definition FCALTile.cxx:15
FCAL_ChannelMap::tileMap_const_iterator TileConstIterator
Definition FCALTile.h:28
double getX() const
Gets the X Position of the Tile.
Definition FCALTile.cxx:46
FCALTile & operator=(const FCALTile &right)
Assignment.
Definition FCALTile.cxx:31
const FCALModule * m_module
Definition FCALTile.h:111
unsigned int getNumTubes() const
Gets the number of tubes in the tile.
Definition FCALTile.cxx:56
const FCALModule * getModule() const
Get the Module.
Definition FCALTile.cxx:76
Cached pointer with atomic update.