#include <MCCompLabel.h>
Inherited by o2::emcal::MCLabel, o2::fdd::MCLabel, o2::ft0::MCLabel, o2::fv0::MCLabel, o2::mid::MCClusterLabel, o2::mid::MCLabel, o2::phos::MCLabel, o2::tof::MCLabel, and o2::zdc::MCLabel.
|
| MCCompLabel (int trackID, int evID, int srcID, bool fake=false) |
|
| MCCompLabel (bool noise=false) |
|
| ~MCCompLabel ()=default |
|
bool | isSet () const |
|
bool | isEmpty () const |
|
bool | isQED () const |
|
bool | isNoise () const |
|
bool | isValid () const |
|
bool | isFake () const |
|
bool | isCorrect () const |
|
int | compare (const MCCompLabel &other) const |
|
uint64_t | getRawValue () const |
|
bool | operator== (const MCCompLabel &other) const |
|
bool | operator!= (const MCCompLabel &other) const |
|
bool | operator< (const MCCompLabel &other) const |
|
bool | operator> (const MCCompLabel &other) const |
|
void | unset () |
|
void | setNoise () |
|
void | setFakeFlag (bool v=true) |
|
void | set (unsigned int trackID, int evID, int srcID, bool fake) |
|
int | getTrackID () const |
|
int | getTrackIDSigned () const |
|
int | getEventID () const |
|
int | getSourceID () const |
|
uint64_t | getTrackEventSourceID () const |
|
void | get (int &trackID, int &evID, int &srcID, bool &fake) const |
|
void | print () const |
|
std::string | asString () const |
|
| ClassDefNV (MCCompLabel, 1) |
|
Definition at line 23 of file MCCompLabel.h.
◆ MCCompLabel() [1/2]
o2::MCCompLabel::MCCompLabel |
( |
int |
trackID, |
|
|
int |
evID, |
|
|
int |
srcID, |
|
|
bool |
fake = false |
|
) |
| |
|
inline |
◆ MCCompLabel() [2/2]
o2::MCCompLabel::MCCompLabel |
( |
bool |
noise = false | ) |
|
|
inline |
◆ ~MCCompLabel()
o2::MCCompLabel::~MCCompLabel |
( |
| ) |
|
|
default |
◆ asString()
std::string o2::MCCompLabel::asString |
( |
| ) |
const |
◆ ClassDefNV()
◆ compare()
◆ get()
void o2::MCCompLabel::get |
( |
int & |
trackID, |
|
|
int & |
evID, |
|
|
int & |
srcID, |
|
|
bool & |
fake |
|
) |
| const |
|
inline |
◆ getEventID()
int o2::MCCompLabel::getEventID |
( |
| ) |
const |
|
inline |
◆ getRawValue()
uint64_t o2::MCCompLabel::getRawValue |
( |
| ) |
const |
|
inline |
◆ getSourceID()
int o2::MCCompLabel::getSourceID |
( |
| ) |
const |
|
inline |
◆ getTrackEventSourceID()
uint64_t o2::MCCompLabel::getTrackEventSourceID |
( |
| ) |
const |
|
inline |
◆ getTrackID()
int o2::MCCompLabel::getTrackID |
( |
| ) |
const |
|
inline |
◆ getTrackIDSigned()
int o2::MCCompLabel::getTrackIDSigned |
( |
| ) |
const |
|
inline |
◆ isCorrect()
bool o2::MCCompLabel::isCorrect |
( |
| ) |
const |
|
inline |
◆ isEmpty()
bool o2::MCCompLabel::isEmpty |
( |
| ) |
const |
|
inline |
◆ isFake()
bool o2::MCCompLabel::isFake |
( |
| ) |
const |
|
inline |
◆ isNoise()
bool o2::MCCompLabel::isNoise |
( |
| ) |
const |
|
inline |
◆ isQED()
bool o2::MCCompLabel::isQED |
( |
| ) |
const |
|
inline |
◆ isSet()
bool o2::MCCompLabel::isSet |
( |
| ) |
const |
|
inline |
◆ isValid()
bool o2::MCCompLabel::isValid |
( |
| ) |
const |
|
inline |
◆ maxEventID()
static constexpr int o2::MCCompLabel::maxEventID |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ maxSourceID()
static constexpr int o2::MCCompLabel::maxSourceID |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ maxTrackID()
static constexpr int o2::MCCompLabel::maxTrackID |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ operator!=()
bool o2::MCCompLabel::operator!= |
( |
const MCCompLabel & |
other | ) |
const |
|
inline |
◆ operator<()
bool o2::MCCompLabel::operator< |
( |
const MCCompLabel & |
other | ) |
const |
|
inline |
◆ operator==()
bool o2::MCCompLabel::operator== |
( |
const MCCompLabel & |
other | ) |
const |
|
inline |
◆ operator>()
bool o2::MCCompLabel::operator> |
( |
const MCCompLabel & |
other | ) |
const |
|
inline |
◆ print()
void o2::MCCompLabel::print |
( |
| ) |
const |
◆ set()
void o2::MCCompLabel::set |
( |
unsigned int |
trackID, |
|
|
int |
evID, |
|
|
int |
srcID, |
|
|
bool |
fake |
|
) |
| |
|
inline |
compose label: the track 1st cast to UInt32_t to preserve the sign!
Definition at line 116 of file MCCompLabel.h.
◆ setFakeFlag()
void o2::MCCompLabel::setFakeFlag |
( |
bool |
v = true | ) |
|
|
inline |
◆ setNoise()
void o2::MCCompLabel::setNoise |
( |
| ) |
|
|
inline |
◆ unset()
void o2::MCCompLabel::unset |
( |
| ) |
|
|
inline |
◆ maskEvID
constexpr uint64_t o2::MCCompLabel::maskEvID = (ul0x1 << nbitsEvID) - 1 |
|
staticconstexpr |
◆ maskFull
◆ maskSrcID
constexpr uint64_t o2::MCCompLabel::maskSrcID = (ul0x1 << nbitsSrcID) - 1 |
|
staticconstexpr |
◆ maskTrackID
constexpr uint64_t o2::MCCompLabel::maskTrackID = (ul0x1 << nbitsTrackID) - 1 |
|
staticconstexpr |
◆ nbitsEvID
constexpr int o2::MCCompLabel::nbitsEvID = 19 |
|
staticconstexpr |
◆ nbitsSrcID
constexpr int o2::MCCompLabel::nbitsSrcID = 8 |
|
staticconstexpr |
◆ nbitsTrackID
constexpr int o2::MCCompLabel::nbitsTrackID = 31 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/simulation/include/SimulationDataFormat/MCCompLabel.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/simulation/src/MCCompLabel.cxx