ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArReadoutGeometry
LArReadoutGeometry
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
"
10
#include "
LArReadoutGeometry/FCALTubeConstLink.h
"
11
#include "
CxxUtils/CachedPointer.h
"
12
#include "
CxxUtils/CachedValue.h
"
13
14
class
FCALModule
;
15
25
26
class
FCALTile
27
{
28
typedef
FCAL_ChannelMap::tileMap_const_iterator
TileConstIterator
;
29
30
public
:
31
35
FCALTile
(
const
FCALTile
&right);
36
40
FCALTile
(
const
FCALModule
*module,
FCALTile::TileConstIterator
tIterator);
41
45
~FCALTile
();
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.
111
const
FCALModule
*
m_module
;
112
TileConstIterator
m_tile
;
113
117
CxxUtils::CachedPointer<const FCALHVLine>
m_line
[4];
118
122
CxxUtils::CachedValue<std::vector<FCALTubeConstLink>
>
m_tube
;
123
124
125
126
};
127
128
129
130
#endif
CachedPointer.h
Cached pointer with atomic update.
CachedValue.h
Cached value with atomic update.
FCALHVModule.h
FCALTubeConstLink.h
FCALTubeConstLink
GeoIntrusivePtr< const FCALTube > FCALTubeConstLink
Definition
FCALTubeConstLink.h:9
CxxUtils::CachedValue
Cached value with atomic update.
Definition
CachedValue.h:55
FCALHVLine
Definition
FCALHVLine.h:15
FCALModule
Definition
FCALModule.h:33
FCALTile::m_tube
CxxUtils::CachedValue< std::vector< FCALTubeConstLink > > m_tube
Cache of tubes.
Definition
FCALTile.h:122
FCALTile::m_tile
TileConstIterator m_tile
Definition
FCALTile.h:112
FCALTile::identify
unsigned int identify() const
Returns the identifier of this tile (convention: comes from the FCAL Channel Map).
Definition
FCALTile.cxx:71
FCALTile::getIndexJ
int getIndexJ() const
Returns the index "J" of the tile.
Definition
FCALTile.cxx:66
FCALTile::getIndexI
int getIndexI() const
Returns the index "i" of the tile.
Definition
FCALTile.cxx:61
FCALTile::operator<
bool operator<(const FCALTile &t) const
For sorting operations:
Definition
FCALTile.h:86
FCALTile::getNumHVLines
static unsigned int getNumHVLines()
Get num hvlines.
Definition
FCALTile.cxx:81
FCALTile::getTube
FCALTubeConstLink getTube(unsigned int i) const
Get a tube.
Definition
FCALTile.cxx:100
FCALTile::getHVLine
const FCALHVLine * getHVLine(unsigned int i) const
Get hvline.
Definition
FCALTile.cxx:85
FCALTile::getY
double getY() const
Gets the Y position of the Tile.
Definition
FCALTile.cxx:51
FCALTile::~FCALTile
~FCALTile()
Destructor.
FCALTile::m_line
CxxUtils::CachedPointer< const FCALHVLine > m_line[4]
Cache of subgaps.
Definition
FCALTile.h:117
FCALTile::FCALTile
FCALTile(const FCALTile &right)
Copy constructor.
Definition
FCALTile.cxx:15
FCALTile::TileConstIterator
FCAL_ChannelMap::tileMap_const_iterator TileConstIterator
Definition
FCALTile.h:28
FCALTile::getX
double getX() const
Gets the X Position of the Tile.
Definition
FCALTile.cxx:46
FCALTile::operator=
FCALTile & operator=(const FCALTile &right)
Assignment.
Definition
FCALTile.cxx:31
FCALTile::m_module
const FCALModule * m_module
Definition
FCALTile.h:111
FCALTile::getNumTubes
unsigned int getNumTubes() const
Gets the number of tubes in the tile.
Definition
FCALTile.cxx:56
FCALTile::getModule
const FCALModule * getModule() const
Get the Module.
Definition
FCALTile.cxx:76
FCAL_ChannelMap::tileMap_const_iterator
tileMap_t::const_iterator tileMap_const_iterator
Definition
LArCalorimeter/LArGeoModel/LArReadoutGeometry/LArReadoutGeometry/FCAL_ChannelMap.h:144
CxxUtils::CachedPointer
Cached pointer with atomic update.
Definition
CachedPointer.h:57
Generated on
for ATLAS Offline Software by
1.17.0