![]() |
Project
|
#include <PadsPEM.h>
Public Types | |
enum class | PadMode { xydxdyMode , xyInfSupMode } |
Public Member Functions | |
Pads (int N, int chId, PadMode mode=PadMode::xydxdyMode) | |
Pads (const Pads &pads, PadMode mode_) | |
Pads (const Pads *pads, int size) | |
Pads (const Pads &pads, const Groups_t *mask) | |
Pads (const Pads *pads0, const Pads *pads1, PadMode mode) | |
Pads (const double *x_, const double *y_, const double *dx_, const double *dy_, const double *q_, const short *cathode, const Mask_t *saturate_, short cathID, int chId, PadIdx_t *mapCathPadIdxToPadIdx, int nAllPads) | |
Pads (const double *x_, const double *y_, const double *dx_, const double *dy_, const double *q_, const short *cathode, const Mask_t *saturate_, int chId, int nAllPads) | |
Pads (double *x_, double *y_, double *dx_, double *dy_, int chId, int nPads_) | |
int | getNbrOfPads () const |
int | getNbrOfObsPads () const |
const double * | getX () const |
const double * | getY () const |
const double * | getDX () const |
const double * | getDY () const |
const double * | getXInf () const |
const double * | getYInf () const |
const double * | getXSup () const |
const double * | getYSup () const |
const double * | getCharges () const |
const Mask_t * | getSaturates () const |
const Mask_t * | getCathodes () const |
double | getTotalCharge () const |
double | updateTotalCharge () |
double | getMeanTotalCharge () |
int | getChamberId () const |
void | setCharges (double c) |
void | setCharges (double *q_, int n) |
void | setCathodes (Mask_t cath_) |
void | setSaturate (Mask_t val) |
Pads * | selectPads (int *index, int k) |
int | removePads (double qCut) |
void | padBoundsToCenter (const Pads &pads) |
void | padCenterToBounds (const Pads &pads) |
void | padBoundsToCenter () |
void | padCenterToBounds () |
void | normalizeCharges () |
Pads * | refineAll () |
void | refineLocalMax (Pads &localMax, std::vector< PadIdx_t > &localMaxIdx) |
void | refineLocalMaxAndUpdateCij (const Pads &pads, std::vector< PadIdx_t > &localMaxIdx, double Cij[]) |
Pads * | addBoundaryPads () |
PadIdx_t * | getFirstNeighbors () |
PadIdx_t * | buildKFirstsNeighbors (int kernelSize) |
Pads * | extractLocalMax (std::vector< PadIdx_t > &localMaxIdx, double dxMinPadSize, double dyMinPadSize) |
Pads * | extractLocalMaxOnCoarsePads (std::vector< PadIdx_t > &localMaxIdx) |
Pads * | extractLocalMaxOnCoarsePads_Remanent (std::vector< PadIdx_t > &localMaxIdx, double dxMinPadSize, double dyMinPadSize) |
Pads * | clipOnLocalMax (bool extractLocalMax) |
int | addIsolatedPadInGroups (Mask_t *cathToGrp, Mask_t *grpToGrp, int nGroups) |
~Pads () | |
Static Public Member Functions | |
static void | printNeighbors (const PadIdx_t *neigh, int N) |
static void | printPads (const char *title, const Pads &pads) |
static int | getNbrOfPads (const Pads *pads) |
Public Attributes | |
PadMode | mode = PadMode::xydxdyMode |
Static Public Attributes | |
static constexpr double | epsilonGeometry |
|
strong |
o2::mch::Pads::Pads | ( | int | N, |
int | chId, | ||
PadMode | mode = PadMode::xydxdyMode |
||
) |
Definition at line 354 of file PadsPEM.cxx.
Definition at line 432 of file PadsPEM.cxx.
Definition at line 410 of file PadsPEM.cxx.
Definition at line 463 of file PadsPEM.cxx.
Definition at line 584 of file PadsPEM.cxx.
o2::mch::Pads::Pads | ( | const double * | x_, |
const double * | y_, | ||
const double * | dx_, | ||
const double * | dy_, | ||
const double * | q_, | ||
const short * | cathode, | ||
const Mask_t * | saturate_, | ||
short | cathID, | ||
int | chId, | ||
PadIdx_t * | mapCathPadIdxToPadIdx, | ||
int | nAllPads | ||
) |
Definition at line 523 of file PadsPEM.cxx.
o2::mch::Pads::Pads | ( | const double * | x_, |
const double * | y_, | ||
const double * | dx_, | ||
const double * | dy_, | ||
const double * | q_, | ||
const short * | cathode, | ||
const Mask_t * | saturate_, | ||
int | chId, | ||
int | nAllPads | ||
) |
Definition at line 556 of file PadsPEM.cxx.
Definition at line 502 of file PadsPEM.cxx.
o2::mch::Pads::~Pads | ( | ) |
Definition at line 2274 of file PadsPEM.cxx.
Pads * o2::mch::Pads::addBoundaryPads | ( | ) |
Definition at line 193 of file PadsPEM.cxx.
Definition at line 847 of file PadsPEM.cxx.
Definition at line 139 of file PadsPEM.cxx.
Pads * o2::mch::Pads::clipOnLocalMax | ( | bool | extractLocalMax | ) |
???? delete[] neigh;
Definition at line 2070 of file PadsPEM.cxx.
Pads * o2::mch::Pads::extractLocalMax | ( | std::vector< PadIdx_t > & | localMaxIdx, |
double | dxMinPadSize, | ||
double | dyMinPadSize | ||
) |
???? delete[] neigh;
Definition at line 1742 of file PadsPEM.cxx.
???? delete[] neigh;
Definition at line 1235 of file PadsPEM.cxx.
Pads * o2::mch::Pads::extractLocalMaxOnCoarsePads_Remanent | ( | std::vector< PadIdx_t > & | localMaxIdx, |
double | dxMinPadSize, | ||
double | dyMinPadSize | ||
) |
???? delete[] neigh;
Definition at line 1449 of file PadsPEM.cxx.
|
inline |
PadIdx_t * o2::mch::Pads::getFirstNeighbors | ( | ) |
Definition at line 838 of file PadsPEM.cxx.
double o2::mch::Pads::getMeanTotalCharge | ( | ) |
Definition at line 764 of file PadsPEM.cxx.
|
inline |
void o2::mch::Pads::normalizeCharges | ( | ) |
Definition at line 830 of file PadsPEM.cxx.
void o2::mch::Pads::padBoundsToCenter | ( | ) |
Definition at line 89 of file PadsPEM.cxx.
Definition at line 35 of file PadsPEM.cxx.
void o2::mch::Pads::padCenterToBounds | ( | ) |
Definition at line 69 of file PadsPEM.cxx.
Definition at line 52 of file PadsPEM.cxx.
Definition at line 2237 of file PadsPEM.cxx.
Definition at line 2251 of file PadsPEM.cxx.
Pads * o2::mch::Pads::refineAll | ( | ) |
Definition at line 1170 of file PadsPEM.cxx.
Definition at line 1081 of file PadsPEM.cxx.
void o2::mch::Pads::refineLocalMaxAndUpdateCij | ( | const Pads & | pads, |
std::vector< PadIdx_t > & | localMaxIdx, | ||
double | Cij[] | ||
) |
Definition at line 965 of file PadsPEM.cxx.
int o2::mch::Pads::removePads | ( | double | qCut | ) |
Definition at line 805 of file PadsPEM.cxx.
Definition at line 658 of file PadsPEM.cxx.
Definition at line 790 of file PadsPEM.cxx.
Definition at line 784 of file PadsPEM.cxx.
void o2::mch::Pads::setCharges | ( | double | c | ) |
Definition at line 778 of file PadsPEM.cxx.
Definition at line 792 of file PadsPEM.cxx.
double o2::mch::Pads::updateTotalCharge | ( | ) |
Definition at line 758 of file PadsPEM.cxx.
|
staticconstexpr |
PadMode o2::mch::Pads::mode = PadMode::xydxdyMode |