cluster for internal use
More...
#include <ClusterOriginal.h>
|
| | ClusterOriginal ()=default |
| |
| | ~ClusterOriginal ()=default |
| |
| | ClusterOriginal (const ClusterOriginal &cl)=default |
| |
| ClusterOriginal & | operator= (const ClusterOriginal &cl)=default |
| |
| | ClusterOriginal (ClusterOriginal &&)=delete |
| |
| ClusterOriginal & | operator= (ClusterOriginal &&)=delete |
| |
| void | clear () |
| |
| void | addPad (double x, double y, double dx, double dy, double charge, bool isSaturated, int plane, int digitIdx, int status) |
| |
| void | removePad (size_t iPad) |
| |
| void | sortPads (double precision) |
| |
| size_t | multiplicity () const |
| | return the total number of pads associated to this cluster
|
| |
| size_t | multiplicity (int plane) const |
| |
| PadOriginal & | pad (size_t i) |
| | return the ith pad (no bound checking)
|
| |
| const PadOriginal & | pad (size_t i) const |
| |
| auto | begin () |
| | return begin/end iterators to be able to iterate over the pads without accessing the internal vector
|
| |
| auto | begin () const |
| |
| auto | end () |
| |
| auto | end () const |
| |
| float | charge () const |
| | return the total charge of this cluster
|
| |
| float | chargeAsymmetry () const |
| | return the charge asymmetry of this cluster
|
| |
| int | maxChargePlane () const |
| | return the plane with the highest charge
|
| |
| bool | isSaturated () const |
| | return whether there are saturated pads on both plane or not
|
| |
| std::pair< double, double > | minPadDimensions (int statusMask, bool matchMask) const |
| |
| std::pair< double, double > | minPadDimensions (int plane, int statusMask, bool matchMask) const |
| |
| void | area (int plane, double area[2][2]) const |
| |
| std::pair< int, int > | sizeInPads (int statusMask) const |
| |
| std::pair< int, int > | sizeInPads (int plane, int statusMask) const |
| |
cluster for internal use
Definition at line 32 of file ClusterOriginal.h.
◆ ClusterOriginal() [1/3]
| o2::mch::ClusterOriginal::ClusterOriginal |
( |
| ) |
|
|
default |
◆ ~ClusterOriginal()
| o2::mch::ClusterOriginal::~ClusterOriginal |
( |
| ) |
|
|
default |
◆ ClusterOriginal() [2/3]
◆ ClusterOriginal() [3/3]
◆ addPad()
| void o2::mch::ClusterOriginal::addPad |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
dx, |
|
|
double |
dy, |
|
|
double |
charge, |
|
|
bool |
isSaturated, |
|
|
int |
plane, |
|
|
int |
digitIdx, |
|
|
int |
status |
|
) |
| |
◆ area()
| void o2::mch::ClusterOriginal::area |
( |
int |
plane, |
|
|
double |
area[2][2] |
|
) |
| const |
return the geometrical area (cm) covered by the pads on the given plane area[0][0] = xmin, area[0][1] = xmax, area[1][0] = ymin, area[1][1] = ymax
Definition at line 162 of file ClusterOriginal.cxx.
◆ begin() [1/2]
| auto o2::mch::ClusterOriginal::begin |
( |
| ) |
|
|
inline |
return begin/end iterators to be able to iterate over the pads without accessing the internal vector
Definition at line 60 of file ClusterOriginal.h.
◆ begin() [2/2]
| auto o2::mch::ClusterOriginal::begin |
( |
| ) |
const |
|
inline |
◆ charge()
| float o2::mch::ClusterOriginal::charge |
( |
| ) |
const |
|
inline |
◆ chargeAsymmetry()
| float o2::mch::ClusterOriginal::chargeAsymmetry |
( |
| ) |
const |
|
inline |
◆ clear()
| void o2::mch::ClusterOriginal::clear |
( |
| ) |
|
◆ end() [1/2]
| auto o2::mch::ClusterOriginal::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
| auto o2::mch::ClusterOriginal::end |
( |
| ) |
const |
|
inline |
◆ isSaturated()
| bool o2::mch::ClusterOriginal::isSaturated |
( |
| ) |
const |
|
inline |
return whether there are saturated pads on both plane or not
Definition at line 73 of file ClusterOriginal.h.
◆ maxChargePlane()
| int o2::mch::ClusterOriginal::maxChargePlane |
( |
| ) |
const |
|
inline |
◆ minPadDimensions() [1/2]
| std::pair< double, double > o2::mch::ClusterOriginal::minPadDimensions |
( |
int |
plane, |
|
|
int |
statusMask, |
|
|
bool |
matchMask |
|
) |
| const |
Returns the minimum pad dimensions (half sizes), only considering pads matching (or not, depending matchMask) a given mask, within a given plane
Definition at line 137 of file ClusterOriginal.cxx.
◆ minPadDimensions() [2/2]
| std::pair< double, double > o2::mch::ClusterOriginal::minPadDimensions |
( |
int |
statusMask, |
|
|
bool |
matchMask |
|
) |
| const |
Returns the minimum pad dimensions (half sizes), only considering pads matching (or not, depending matchMask) a given mask
Definition at line 125 of file ClusterOriginal.cxx.
◆ multiplicity() [1/2]
| size_t o2::mch::ClusterOriginal::multiplicity |
( |
| ) |
const |
|
inline |
return the total number of pads associated to this cluster
Definition at line 52 of file ClusterOriginal.h.
◆ multiplicity() [2/2]
| size_t o2::mch::ClusterOriginal::multiplicity |
( |
int |
plane | ) |
const |
return the number of pads associated to this cluster in the given plane
Definition at line 117 of file ClusterOriginal.cxx.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pad() [1/2]
| PadOriginal & o2::mch::ClusterOriginal::pad |
( |
size_t |
i | ) |
|
|
inline |
◆ pad() [2/2]
| const PadOriginal & o2::mch::ClusterOriginal::pad |
( |
size_t |
i | ) |
const |
|
inline |
◆ removePad()
| void o2::mch::ClusterOriginal::removePad |
( |
size_t |
iPad | ) |
|
remove the given pad from the internal list and update the cluster informations
Definition at line 81 of file ClusterOriginal.cxx.
◆ sizeInPads() [1/2]
| std::pair< int, int > o2::mch::ClusterOriginal::sizeInPads |
( |
int |
plane, |
|
|
int |
statusMask |
|
) |
| const |
return the size of the cluster on the given plane in terms of number of pads in x and y directions
Definition at line 214 of file ClusterOriginal.cxx.
◆ sizeInPads() [2/2]
| std::pair< int, int > o2::mch::ClusterOriginal::sizeInPads |
( |
int |
statusMask | ) |
const |
return the size of the cluster in terms of number of pads in x and y directions use the pads from the plane in which their minimum size is the smallest in this direction
Definition at line 185 of file ClusterOriginal.cxx.
◆ sortPads()
| void o2::mch::ClusterOriginal::sortPads |
( |
double |
precision | ) |
|
sort the pads per plane then in increasing y-position if same plane then in increasing x-position if same y positions within ± precision are considered as equal
Definition at line 105 of file ClusterOriginal.cxx.
The documentation for this class was generated from the following files: