![]() |
Belle II Software
release-08-02-04
|
Class representing a raw cluster candidate during clustering of the SVD. More...
#include <RawCluster.h>

Public Member Functions | |
| RawCluster () | |
| Default Constructor to create an empty RawCluster. | |
| RawCluster (VxdID vxdID, bool isUside, double cutSeed, double cutAdjacent) | |
| Constructor to create an empty RawCluster. More... | |
| RawCluster (VxdID vxdID, bool isUside, double cutSeed, double cutAdjacent, const std::string &storeShaperDigitsName) | |
| You can specify the name of StoreArray<SVDShaperDigit> which are needed to get clustered samples. More... | |
| bool | add (VxdID vxdID, bool isUside, struct StripInRawCluster &aStrip) |
| Add a Strip to the current cluster. More... | |
| bool | isGoodRawCluster () |
| VxdID | getSensorID () const |
| bool | isUSide () const |
| Belle2::SVDShaperDigit::APVFloatSamples | getClsSamples (bool inElectrons) const |
| std::pair< int, std::vector< float > > | getMaxSum3Samples (bool inElectrons=false) const |
| int | getSize () const |
| const std::vector< StripInRawCluster > | getStripsInRawCluster () const |
| int | getSeedMaxSample () const |
| int | getSeedInternalIndex () const |
| void | setStripCharge (int index, double charge) |
| set the strip charge More... | |
| void | setStripTime (int index, double time) |
| set the strip time More... | |
Protected Attributes | |
| VxdID | m_vxdID |
| VxdID of the cluster. | |
| bool | m_isUside |
| side of the cluster | |
| double | m_cutSeed = 5 |
| SNR above which the strip can be considered as seed. | |
| double | m_cutAdjacent = 3 |
| SNR above which the strip can be considered for clustering. | |
| int | m_seedMaxSample = -1 |
| ADC MaxSample of the seed strip. | |
| float | m_seedSNR = -1 |
| SNR (using MaxSample) of the seed strip. | |
| int | m_seedIndex = -1 |
| SVDShaperDigit index of the seed strip of the cluster. | |
| int | m_seedInternalIndex = -1 |
| stripsInRawCluster index of the seed strip of the cluster | |
| std::vector< StripInRawCluster > | m_strips |
| vector containing the strips in the cluster | |
| std::string | m_storeShaperDigitsName |
| Name of the collection to use for the SVDShaperDigits. | |
Class representing a raw cluster candidate during clustering of the SVD.
Definition at line 33 of file RawCluster.h.
| RawCluster | ( | VxdID | vxdID, |
| bool | isUside, | ||
| double | cutSeed, | ||
| double | cutAdjacent | ||
| ) |
Constructor to create an empty RawCluster.
| vxdID | sensorID |
| isUside | true if the RawCluster is on the U-side |
| cutSeed | minimum SNR of the seed strip |
| cutAdjacent | minimum SNR of a strip belonging to the cluster |
Definition at line 30 of file RawCluster.cc.
| RawCluster | ( | VxdID | vxdID, |
| bool | isUside, | ||
| double | cutSeed, | ||
| double | cutAdjacent, | ||
| const std::string & | storeShaperDigitsName | ||
| ) |
You can specify the name of StoreArray<SVDShaperDigit> which are needed to get clustered samples.
| vxdID | sensorID |
| isUside | true if the RawCluster is on the U-side |
| cutSeed | minimum SNR of the seed strip |
| cutAdjacent | minimum SNR of a strip belonging to the cluster |
| storeShaperDigitsName | name of the SVDShaperDigit StoreArray |
Definition at line 42 of file RawCluster.cc.
| bool add | ( | VxdID | vxdID, |
| bool | isUside, | ||
| struct StripInRawCluster & | aStrip | ||
| ) |
Add a Strip to the current cluster.
Update the cluster seed strip.
| vxdID | sensorID |
| isUside | true if the RawCluster is on the U-side |
| aStrip | the raw strip to be added to the cluster |
Definition at line 54 of file RawCluster.cc.
| Belle2::SVDShaperDigit::APVFloatSamples getClsSamples | ( | bool | inElectrons | ) | const |
| inElectrons | if true samples are returned in electrons instead of ADC |
Definition at line 104 of file RawCluster.cc.
| std::pair< int, std::vector< float > > getMaxSum3Samples | ( | bool | inElectrons = false | ) | const |
| inElectrons | if true samples are returned in electrons instead of ADC |
Definition at line 137 of file RawCluster.cc.
|
inline |
Definition at line 120 of file RawCluster.h.
|
inline |
Definition at line 115 of file RawCluster.h.
|
inline |
Definition at line 80 of file RawCluster.h.
|
inline |
Definition at line 105 of file RawCluster.h.
|
inline |
Definition at line 110 of file RawCluster.h.
| bool isGoodRawCluster | ( | ) |
Definition at line 92 of file RawCluster.cc.
|
inline |
Definition at line 85 of file RawCluster.h.
|
inline |
set the strip charge
| index | of the strip in the cluster |
| charge | of the strip |
Definition at line 127 of file RawCluster.h.
|
inline |
set the strip time
| index | of the strip in the cluster |
| time | of the strip |
Definition at line 133 of file RawCluster.h.