ATLAS Offline Software
Loading...
Searching...
No Matches
LayerIndex.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// LayerIndexCalculator.cxx, (c) ATLAS Detector software
8
10
11bool
13{
14 return (one.value() < two.value());
15}
16
17bool
19{
20 return (one.value() <= two.value());
21}
22
23bool
25{
26 return (one.value() > two.value());
27}
28
29bool
31{
32 return (one.value() >= two.value());
33}
34
35MsgStream&
36Trk::operator<<(MsgStream& sl, const Trk::LayerIndex& layx)
37{
38 sl << layx.value();
39 return sl;
40}
41
42std::ostream&
43Trk::operator<<(std::ostream& sl, const Trk::LayerIndex& layx)
44{
45 sl << layx.value();
46 return sl;
47}
LayerIndex for the identification of layers in a simplified detector geometry of Cylinders and Discs.
Definition LayerIndex.h:37
int value() const
layerIndex expressed in an integer
Definition LayerIndex.h:71
bool operator<=(const LayerIndex &one, const LayerIndex &two)
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
bool operator>(const LayerIndex &one, const LayerIndex &two)
bool operator<(const LayerIndex &one, const LayerIndex &two)
Overload of operator< | <= | > | >= for the usage in a map.
bool operator>=(const LayerIndex &one, const LayerIndex &two)