11#include <vxd/dataobjects/VxdID.h>
12#include <svd/dataobjects/SVDShaperDigit.h>
49 RawCluster(
VxdID vxdID,
bool isUside,
double cutSeed,
double cutAdjacent);
60 RawCluster(
VxdID vxdID,
bool isUside,
double cutSeed,
double cutAdjacent,
const std::string& storeShaperDigitsName);
100 std::pair<int, std::vector<float>>
getMaxSum3Samples(
bool inElectrons =
false)
const;
std::array< APVFloatSampleType, c_nAPVSamples > APVFloatSamples
array of APVFloatSampleType objects
Class representing a raw cluster candidate during clustering of the SVD.
RawCluster()
Default Constructor to create an empty RawCluster.
int getSeedInternalIndex() const
const std::vector< StripInRawCluster > getStripsInRawCluster() const
std::pair< int, std::vector< float > > getMaxSum3Samples(bool inElectrons=false) const
int getSeedMaxSample() const
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
Belle2::SVDShaperDigit::APVFloatSamples getClsSamples(bool inElectrons) const
int m_seedInternalIndex
stripsInRawCluster index of the seed strip of the cluster
bool add(VxdID vxdID, bool isUside, struct StripInRawCluster &aStrip)
Add a Strip to the current cluster.
bool m_isUside
side of the cluster
void setStripCharge(int index, double charge)
set the strip charge
VxdID m_vxdID
VxdID of the cluster.
float m_seedSNR
SNR (using MaxSample) of the seed strip.
int m_seedMaxSample
ADC MaxSample of the seed strip.
VxdID getSensorID() const
double m_cutSeed
SNR above which the strip can be considered as seed.
int m_seedIndex
SVDShaperDigit index of the seed strip of the cluster.
std::vector< StripInRawCluster > m_strips
vector containing the strips in the cluster
double m_cutAdjacent
SNR above which the strip can be considered for clustering.
void setStripTime(int index, double time)
set the strip time
Class to uniquely identify a any structure of the PXD and SVD.
Namespace to encapsulate code needed for simulation and reconstrucion of the SVD.
structure containing the relevant informations of each strip of the raw cluster
double charge
strip charge
Belle2::SVDShaperDigit::APVFloatSamples samples
ADC of the acquired samples.
int shaperDigitIndex
index of the shaper digit
int maxSample
ADC max of the acquired samples.