#include <ROC.h>
Definition at line 43 of file ROC.h.
◆ anonymous enum
Definition at line 46 of file ROC.h.
◆ ROC() [1/3]
◆ ROC() [2/3]
o2::tpc::ROC::ROC |
( |
unsigned char |
roc | ) |
|
|
inline |
constructor
- Parameters
-
[in] | roc | readout chamber number |
Definition at line 55 of file ROC.h.
◆ ROC() [3/3]
constructor from sector and ROC type
- Parameters
-
[in] | sec | sector |
[in] | type | ROC type |
Definition at line 60 of file ROC.h.
◆ getRoc()
unsigned char o2::tpc::ROC::getRoc |
( |
| ) |
const |
|
inline |
numerical ROC value
- Returns
- numerical ROC value
Definition at line 88 of file ROC.h.
◆ getSector()
Sector o2::tpc::ROC::getSector |
( |
| ) |
const |
|
inline |
get sector
Definition at line 105 of file ROC.h.
◆ isIROC()
bool o2::tpc::ROC::isIROC |
( |
| ) |
const |
|
inline |
If roc is an IROC.
Definition at line 99 of file ROC.h.
◆ isOROC()
bool o2::tpc::ROC::isOROC |
( |
| ) |
const |
|
inline |
If roc is an OROC.
Definition at line 102 of file ROC.h.
◆ looped()
bool o2::tpc::ROC::looped |
( |
| ) |
const |
|
inline |
if increment operator went above MaxROC
Definition at line 108 of file ROC.h.
◆ operator int()
o2::tpc::ROC::operator int |
( |
| ) |
const |
|
inline |
int return operator to use similar as integer
- Returns
- roc number
Definition at line 84 of file ROC.h.
◆ operator!=()
bool o2::tpc::ROC::operator!= |
( |
const ROC & |
other | ) |
|
|
inline |
unequal operator
Definition at line 66 of file ROC.h.
◆ operator++()
bool o2::tpc::ROC::operator++ |
( |
| ) |
|
|
inline |
increment operator This operator can be used to iterate over all ROCs e.g. ROC r; while (++r) { std::cout << "ROC: " << r.getRoc() << std::endl; }
Definition at line 75 of file ROC.h.
◆ operator<()
bool o2::tpc::ROC::operator< |
( |
const ROC & |
other | ) |
|
|
inline |
smaller operator
Definition at line 69 of file ROC.h.
◆ operator==()
bool o2::tpc::ROC::operator== |
( |
const ROC & |
other | ) |
|
|
inline |
comparison operator
Definition at line 63 of file ROC.h.
◆ rocType()
RocType o2::tpc::ROC::rocType |
( |
| ) |
const |
|
inline |
◆ side()
Side o2::tpc::ROC::side |
( |
| ) |
const |
|
inline |
side of the ROC
- Returns
- side of the sector
Definition at line 92 of file ROC.h.
The documentation for this class was generated from the following file:
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/base/include/TPCBase/ROC.h