ATLAS Offline Software
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
InDetDD::SiCellId::isValid
bool isValid() const
Test if its in a valid state.
Definition:
SiCellId.h:136
InDetDD::SiCellId::phiIndex
int phiIndex() const
Get phi index. Equivalent to strip().
Definition:
SiCellId.h:122
InDetDD::operator<<
std::ostream & operator<<(std::ostream &os, const SiCellId &cellId)
Definition:
SiCellId.cxx:8
InDetDD::SiCellId::etaIndex
int etaIndex() const
Get eta index.
Definition:
SiCellId.h:114
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
InDetDD::SiCellId
Definition:
SiCellId.h:29
InDetDD
Message Stream Member.
Definition:
FakeTrackBuilder.h:8
SiCellId.h
Generated on Thu Nov 7 2024 21:26:00 for ATLAS Offline Software by
1.8.18