MyMarlinTPC
170316
|
Functions | |
void | setMultiplePulseCandidate (int &i) |
void | setAnomalousShape (int &j) |
void | setOverflow (int &k) |
void | setUnderflow (int &m) |
void | setSplit (int &n) |
void | setPlateauCutoff (int &l) |
bool | isMultiplePulseCandidate (int i) |
bool | isAnomalousShape (int j) |
bool | isOverflow (int k) |
bool | isUnderflow (int m) |
bool | isSplit (int n) |
bool | isPlateauCutoff (int l) |
Variables | |
int const | MULTIPLE_PULSE_CANDIDATE_BIT = 1 |
int const | ANOMALOUS_SHAPE_BIT = 1 << 1 |
int const | OVERFLOW_BIN_BIT = 1 << 2 |
int const | UNDERFLOW_BIN_BIT = 1 << 3 |
int const | WAS_SPLIT_BIT = 1 << 4 |
int const | PLATEAU_CUTOFF_BIT = 1 << 5 |
a collection of the quality flagwords that are stored in the respective LCIO classes: these are collected into three different namespaces (for pulses, hits and tracks), and equipped with "global" functions (within this namespace) to ease the usage
the flags were discussed in the forum
example usage: EVENT::TrackerPulse* aPulse; if(isUnderflow(aPulse->getQuality()) {...}
int quality = 0; quality = setMultiplePulseCandidate(quality); quality = setOverflow(quality);
|
inline |
Definition at line 62 of file FlagwordDefinitions.h.
References ANOMALOUS_SHAPE_BIT.
Referenced by marlintpc::RowBasedHitFinderProcessor::_createHitCollection(), and marlintpc::RowBasedPadPulseRoadSearchProcessor::processEvent().
|
inline |
Definition at line 58 of file FlagwordDefinitions.h.
References MULTIPLE_PULSE_CANDIDATE_BIT.
Referenced by marlintpc::RowBasedPadPulseRoadSearchProcessor::processEvent().
|
inline |
Definition at line 66 of file FlagwordDefinitions.h.
References OVERFLOW_BIN_BIT.
Referenced by marlintpc::RowBasedHitFinderProcessor::_createHitCollection(), and marlintpc::RowBasedPadPulseRoadSearchProcessor::processEvent().
|
inline |
Definition at line 78 of file FlagwordDefinitions.h.
References PLATEAU_CUTOFF_BIT.
Referenced by marlintpc::RowBasedHitFinderProcessor::_createHitCollection(), and marlintpc::RowBasedPadPulseRoadSearchProcessor::processEvent().
|
inline |
Definition at line 74 of file FlagwordDefinitions.h.
References WAS_SPLIT_BIT.
Referenced by marlintpc::RowBasedHitFinderProcessor::_createHitCollection(), and marlintpc::RowBasedPadPulseRoadSearchProcessor::processEvent().
|
inline |
Definition at line 70 of file FlagwordDefinitions.h.
References UNDERFLOW_BIN_BIT.
|
inline |
Definition at line 36 of file FlagwordDefinitions.h.
References ANOMALOUS_SHAPE_BIT.
|
inline |
Definition at line 32 of file FlagwordDefinitions.h.
References MULTIPLE_PULSE_CANDIDATE_BIT.
|
inline |
Definition at line 40 of file FlagwordDefinitions.h.
References OVERFLOW_BIN_BIT.
|
inline |
Definition at line 52 of file FlagwordDefinitions.h.
References PLATEAU_CUTOFF_BIT.
|
inline |
Definition at line 48 of file FlagwordDefinitions.h.
References WAS_SPLIT_BIT.
|
inline |
Definition at line 44 of file FlagwordDefinitions.h.
References UNDERFLOW_BIN_BIT.
int const marlintpc::pulseflag::ANOMALOUS_SHAPE_BIT = 1 << 1 |
Definition at line 26 of file FlagwordDefinitions.h.
Referenced by isAnomalousShape(), and setAnomalousShape().
int const marlintpc::pulseflag::MULTIPLE_PULSE_CANDIDATE_BIT = 1 |
Definition at line 25 of file FlagwordDefinitions.h.
Referenced by isMultiplePulseCandidate(), and setMultiplePulseCandidate().
int const marlintpc::pulseflag::OVERFLOW_BIN_BIT = 1 << 2 |
Definition at line 27 of file FlagwordDefinitions.h.
Referenced by isOverflow(), and setOverflow().
int const marlintpc::pulseflag::PLATEAU_CUTOFF_BIT = 1 << 5 |
Definition at line 30 of file FlagwordDefinitions.h.
Referenced by isPlateauCutoff(), and setPlateauCutoff().
int const marlintpc::pulseflag::UNDERFLOW_BIN_BIT = 1 << 3 |
Definition at line 28 of file FlagwordDefinitions.h.
Referenced by isUnderflow(), and setUnderflow().
int const marlintpc::pulseflag::WAS_SPLIT_BIT = 1 << 4 |
Definition at line 29 of file FlagwordDefinitions.h.
Referenced by isSplit(), and setSplit().