 |
Belle II Software
release-05-02-19
|
14 #include <framework/datastore/RelationsObject.h>
15 #include <vxd/dataobjects/VxdID.h>
16 #include <vxd/geometry/SensorInfoBase.h>
17 #include <vxd/geometry/GeoCache.h>
46 SVDCluster(VxdID sensorID,
bool isU,
float position,
float positionSigma,
47 double clsTime,
double clsTimeSigma,
float clsCharge,
float seedCharge,
48 unsigned short clsSize,
float clsSN,
float clsChi2,
int firstFrame = 0):
57 SVDCluster():
SVDCluster(0, false, 0.0, 1.0, 0.0, 100.0, 0.0, 0.0, 0, 1.0,
72 SVDCluster(VxdID sensorID,
bool isU,
float position,
double clsTime,
73 double clsTimeSigma,
float clsCharge,
float seedCharge,
74 unsigned short clsSize):
75 SVDCluster(sensorID, isU, position, 1.0, clsTime, clsTimeSigma,
76 clsCharge, seedCharge, clsSize, 1.0, 100.0)
92 SVDCluster(VxdID sensorID,
bool isU,
float position,
float positionSigma,
93 double clsTime,
double clsTimeSigma,
float clsCharge,
float seedCharge,
94 unsigned short clsSize,
float clsSN):
95 SVDCluster(sensorID, isU, position, positionSigma, clsTime, clsTimeSigma,
96 clsCharge, seedCharge, clsSize, clsSN, 100.0)
203 std::ostringstream os;
204 os <<
"VXDID : " <<
m_sensorID <<
" = " << std::string(thisSensorID)
float getCharge() const
Get collected charge.
float m_position
Reconstructed hit position in r-phi or z.
Class to uniquely identify a any structure of the PXD and SVD.
double getQualityError() const
Get cluster quality indicator error.
float getChi2() const
Get chi2 of the time/amplitude fit.
unsigned short m_sensorID
Compressed sensor identifier.
double m_qualityIndicatorError
Error associated with probability calcualtion.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Base class to provide Sensor Information for PXD and SVD.
bool m_isU
True if clusters of u-strips, otherwise false.
SVDCluster()
Default constructor for the ROOT IO.
int getFirstFrame() const
Get firstFrame of the MaxSum algorithm.
double getWidth(double v=0) const
Return the width of the sensor.
float getSNR() const
Get cluster SNR.
double m_clsTimeSigma
Standard deviation of waveform maximum times.
float getPositionSigma() const
Get the error of the reconstructed hit coordinate.
float m_clsCharge
Deposited charge in electrons.
float getClsTimeSigma() const
Get standard deviation of waveform maximum times of cluster strip signals.
float m_seedCharge
Cluster seed charge in electrons.
static GeoCache & getInstance()
Return a reference to the singleton instance.
Abstract base class for different kinds of events.
float getSeedCharge() const
Get seed charge.
bool isUCluster() const
Get the direction of strips.
double m_clsTime
Average waveform maximum time.
VxdID getSensorID() const
Get the sensor ID.
float getPosition(double v=0) const
Get the coordinate of reconstructed hit.
unsigned short getRawSensorID() const
Get raw sensor ID.
unsigned short m_clsSize
Cluster size in pixels.
unsigned short getSize() const
Get cluster size.
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
std::string print() const
Get a string representation of the cluster.
int m_firstFrame
firstFrame computed with the MaxSum algorithm
float m_positionSigma
Standard deviation of hit position in r-phi or z.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
const SensorInfoBase & getSensorInfo(Belle2::VxdID id) const
Return a referecne to the SensorInfo of a given SensorID.
double getQuality() const
Get cluster quality indicator.
double m_qualityIndicator
Probability of signal cluster.
void setQualityIndicatorError(double qualityIndicatorError)
Add quality indicator error to object.
float getClsTime() const
Get average of waveform maximum times of cluster strip signals.
float m_clsChi2
Chi2 for time/amplitude fit.
float m_clsSN
Cluster S/N ratio.
void setQualityIndicator(const double qualityIndicator)
Add quality indicator to object.