ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
ReadoutGeometryBase
src
SiCellId.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ReadoutGeometryBase/SiCellId.h
"
6
7
namespace
InDetDD
{
8
std::ostream &
operator <<
(std::ostream & os,
const
SiCellId
& cellId)
9
{
10
if
(cellId.
isValid
()){
11
return
os <<
"["
<< cellId.
phiIndex
() <<
"."
<< cellId.
etaIndex
() <<
"]"
;
12
}
else
{
13
return
os <<
"[INVALID]"
;
14
}
15
}
16
}
// namespace InDetDD
17
SiCellId.h
InDetDD::SiCellId
Identifier for the strip or pixel cell.
Definition
SiCellId.h:29
InDetDD::SiCellId::phiIndex
int phiIndex() const
Get phi index. Equivalent to strip().
Definition
SiCellId.h:122
InDetDD::SiCellId::isValid
bool isValid() const
Test if its in a valid state.
Definition
SiCellId.h:136
InDetDD::SiCellId::etaIndex
int etaIndex() const
Get eta index.
Definition
SiCellId.h:114
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
InDetDD::operator<<
std::ostream & operator<<(std::ostream &os, const SiCellId &cellId)
Definition
SiCellId.cxx:8
Generated on
for ATLAS Offline Software by
1.17.0