![]() |
Project
|
#include <ChamberEfficiency.h>
Public Types | |
enum class | EffType { BendPlane , NonBendPlane , BothPlanes } |
Public Member Functions | |
void | setFromCounters (const std::vector< ChEffCounter > &counters) |
double | getEfficiency (int deId, int columnId, int lineId, EffType type) const |
void | addEntry (bool isEfficientBP, bool isEfficientNBP, int deId, int columnId, int lineId) |
std::vector< ChEffCounter > | getCountersAsVector () const |
Definition at line 30 of file ChamberEfficiency.h.
|
strong |
Enumerator | |
---|---|
BendPlane | Bending plane efficiency. |
NonBendPlane | Non-bending plane efficiency. |
BothPlanes | Both plane efficiency. |
Definition at line 33 of file ChamberEfficiency.h.
void o2::mid::ChamberEfficiency::addEntry | ( | bool | isEfficientBP, |
bool | isEfficientNBP, | ||
int | deId, | ||
int | columnId, | ||
int | lineId | ||
) |
Adds an entry
isEfficientBP | Bending plane was efficient |
isEfficientNBP | Non-bending plane was efficient |
deId | Detection element ID |
columnId | Column ID |
lineId | line of the local board in the RPC |
Definition at line 70 of file ChamberEfficiency.cxx.
std::vector< ChEffCounter > o2::mid::ChamberEfficiency::getCountersAsVector | ( | ) | const |
Returns the efficiency counters
Definition at line 36 of file ChamberEfficiency.cxx.
double o2::mid::ChamberEfficiency::getEfficiency | ( | int | deId, |
int | columnId, | ||
int | lineId, | ||
EffType | type | ||
) | const |
Gets the efficiency
deId | Detection element ID |
columnId | Column ID |
lineId | Line of the local board in the RPC |
type | Efficiency type |
Definition at line 58 of file ChamberEfficiency.cxx.
void o2::mid::ChamberEfficiency::setFromCounters | ( | const std::vector< ChEffCounter > & | counters | ) |
Sets the efficiency from a vector of counters
counters | Vector of efficiency counters |
Definition at line 28 of file ChamberEfficiency.cxx.