#include <Sector.h>
Definition at line 40 of file Sector.h.
◆ Sector() [1/2]
o2::tpc::Sector::Sector |
( |
| ) |
|
|
default |
◆ Sector() [2/2]
o2::tpc::Sector::Sector |
( |
unsigned char |
sec | ) |
|
|
inline |
construction
- Parameters
-
Definition at line 51 of file Sector.h.
◆ getLeft()
get Sector to the left of the current one
- Parameters
-
- Returns
- Sector left of the current one taking into account that the sector left of 17 (35) is 0 (18)
Definition at line 145 of file Sector.h.
◆ getRight()
get Sector to the right of the current one
- Parameters
-
- Returns
- Sector right of the current one taking into account that the sector right of 0 (18) is 17 (35)
Definition at line 147 of file Sector.h.
◆ getSector()
unsigned char o2::tpc::Sector::getSector |
( |
| ) |
const |
|
inline |
◆ looped()
bool o2::tpc::Sector::looped |
( |
| ) |
const |
|
inline |
◆ operator int()
o2::tpc::Sector::operator int |
( |
| ) |
const |
|
inline |
int return operator to use similar as integer
- Returns
- sector number
Definition at line 85 of file Sector.h.
◆ operator!=()
bool o2::tpc::Sector::operator!= |
( |
const Sector & |
other | ) |
const |
|
inline |
unequal operator
Definition at line 67 of file Sector.h.
◆ operator++()
bool o2::tpc::Sector::operator++ |
( |
| ) |
|
|
inline |
increment operator This operator can be used to iterate over all sectors e.g. Sector sec; while (++sec) { std::cout << "Sector: " << sec.getSector() << std::endl; }
Definition at line 76 of file Sector.h.
◆ operator<()
bool o2::tpc::Sector::operator< |
( |
const Sector & |
other | ) |
const |
|
inline |
smaller operator
Definition at line 70 of file Sector.h.
◆ operator=()
Sector & o2::tpc::Sector::operator= |
( |
int |
sector | ) |
|
|
inline |
assignment operator with int
Definition at line 88 of file Sector.h.
◆ operator==()
bool o2::tpc::Sector::operator== |
( |
const Sector & |
other | ) |
const |
|
inline |
comparison operator
Definition at line 64 of file Sector.h.
◆ phi()
double o2::tpc::Sector::phi |
( |
| ) |
const |
|
inline |
◆ side()
Side o2::tpc::Sector::side |
( |
| ) |
const |
|
inline |
◆ ToSector()
template<typename T >
static int o2::tpc::Sector::ToSector |
( |
T |
x, |
|
|
T |
y, |
|
|
T |
z |
|
) |
| |
|
inlinestatic |
helper function to retrieve a TPC sector given cartesian coordinates
- Parameters
-
x | x position |
y | y position |
z | z position |
Definition at line 107 of file Sector.h.
◆ ToShiftedSector()
template<typename T >
static int o2::tpc::Sector::ToShiftedSector |
( |
T |
x, |
|
|
T |
y, |
|
|
T |
z |
|
) |
| |
|
inlinestatic |
helper function to retrieve a TPC sector given cartesian coordinates the sector counting is shifte by -10deg in this case, so sector 0 will be from -10 deg to +10 deg instead of 0-20
- Parameters
-
x | x position |
y | y position |
z | z position |
Definition at line 126 of file Sector.h.
◆ MAXSECTOR
constexpr int o2::tpc::Sector::MAXSECTOR = constants::MAXSECTOR |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/base/include/TPCBase/Sector.h