12#include <framework/datastore/RelationsObject.h>
13#include <vxd/dataobjects/VxdID.h>
14#include <vxd/geometry/SensorInfoBase.h>
15#include <vxd/geometry/GeoCache.h>
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,
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)
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)
237 std::ostringstream os;
238 os <<
"VXDID : " <<
m_sensorID <<
" = " << std::string(thisSensorID)
Defines interface for accessing relations of objects in StoreArray.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
void setQualityIndicator(const double qualityIndicator)
Add quality indicator to object.
std::vector< int > & setTimeGroupId()
Set ID of the time-group.
float m_clsChi2
Chi2 for time/amplitude fit.
std::vector< int > m_timeGroupId
Grouping of clusters in time.
double m_qualityIndicator
Probability of signal cluster.
float m_position
Reconstructed hit position in r-phi or z.
int m_firstFrame
firstFrame computed with the MaxSum algorithm
float getClsTime() const
Get average of waveform maximum times of cluster strip signals.
unsigned short m_clsSize
Cluster size in pixels.
SVDCluster()
Default constructor for the ROOT IO.
bool m_isU
True if clusters of u-strips, otherwise false.
std::vector< std::tuple< float, float, float > > & setTimeGroupInfo()
Set time-group parameters.
unsigned short m_sensorID
Compressed sensor identifier.
void setClsTime(const double time)
Set time of the cluster.
float getSNR() const
Get cluster SNR.
void setPosition(const double position)
Set position of the cluster.
unsigned short getSize() const
Get cluster size.
std::vector< std::tuple< float, float, float > > m_timeGroupInfo
TimeGroup Gaussian Parameters, (integral, center, sigma)
float m_clsCharge
Deposited charge in electrons.
float m_positionSigma
Standard deviation of hit position in r-phi or z.
double m_clsTime
Average waveform maximum time.
float getChi2() const
Get chi2 of the time/amplitude fit.
SVDCluster(VxdID sensorID, bool isU, float position, double clsTime, double clsTimeSigma, float clsCharge, float seedCharge, unsigned short clsSize)
OLD STYLE 8-params constructor, just for backward compatibility.
double getQualityError() const
Get cluster quality indicator error.
float m_clsSN
Cluster S/N ratio.
double getQuality() const
Get cluster quality indicator.
float getCharge() const
Get collected charge.
SVDCluster(VxdID sensorID, bool isU, float position, float positionSigma, double clsTime, double clsTimeSigma, float clsCharge, float seedCharge, unsigned short clsSize, float clsSN, float clsChi2, int firstFrame=0)
Constructor.
double m_clsTimeSigma
Standard deviation of waveform maximum times.
void setQualityIndicatorError(double qualityIndicatorError)
Add quality indicator error to object.
VxdID getSensorID() const
Get the sensor ID.
const std::vector< std::tuple< float, float, float > > & getTimeGroupInfo() const
Get time-group parameters.
bool isUCluster() const
Get the direction of strips.
float getSeedCharge() const
Get seed charge.
float getPosition(double v=0) const
Get the coordinate of reconstructed hit.
const std::vector< int > & getTimeGroupId() const
Get ID of the time-group.
std::string print() const
Get a string representation of the cluster.
float getClsTimeSigma() const
Get the error of the reconstructed hit time.
SVDCluster(VxdID sensorID, bool isU, float position, float positionSigma, double clsTime, double clsTimeSigma, float clsCharge, float seedCharge, unsigned short clsSize, float clsSN)
OLD STYLE Constructor, just for backward compatibility.
float m_seedCharge
Cluster seed charge in electrons.
float getPositionSigma() const
Get the error of the reconstructed hit coordinate.
double m_qualityIndicatorError
Error associated with probability calcualtion.
int getFirstFrame() const
Get firstFrame of the MaxSum algorithm.
unsigned short getRawSensorID() const
Get raw sensor ID.
const SensorInfoBase & getSensorInfo(Belle2::VxdID id) const
Return a referecne to the SensorInfo of a given SensorID.
static GeoCache & getInstance()
Return a reference to the singleton instance.
Base class to provide Sensor Information for PXD and SVD.
double getWidth(double v=0) const
Return the width of the sensor.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.