 |
Belle II Software
release-05-01-25
|
11 #ifndef SVD_RECOTIMEBASE_H
12 #define SVD_RECOTIMEBASE_H
14 #include <vxd/dataobjects/VxdID.h>
15 #include <svd/dataobjects/SVDModeByte.h>
16 #include <framework/datastore/RelationsObject.h>
59 std::copy(bins.begin(), bins.end(), std::back_inserter(
m_bins));
107 std::ostringstream os;
108 os <<
"VXDID : " <<
m_sensorID <<
" = " << std::string(thisSensorID)
109 <<
" side: " << ((
m_isU) ?
"U" :
"V") <<
" bins: ";
111 std::ostream_iterator<BinnedDataType>(os,
" "));
112 os <<
" mode: " << thisMode << std::endl;
130 #endif // SVD_RECOTIMEBASE_H
const BinEdgesArray & getBins() const
Get the bins array.
float BinnedDataType
Types for bins array.
Class to uniquely identify a any structure of the PXD and SVD.
The SVD RecoTimeBase class.
std::string toString() const
Display main parameters in this object.
VxdID::baseType m_sensorID
Compressed sensor identifier.
int getID(const std::vector< double > &breaks, double t)
get id of the time point t
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
VxdID::baseType getRawSensorID() const
Get raw sensor ID.
Class to store SVD mode information.
VxdID getSensorID() const
Get the sensor ID.
unsigned short baseType
The base integer type for VxdID.
BinEdgesArray m_bins
Bins used by the time fitter.
Abstract base class for different kinds of events.
uint8_t baseType
The base integer type for SVDModeByte.
SVDModeByte getModeByte() const
Get the SVDMOdeByte object containing information on trigger FADCTime and DAQ mode.
std::size_t getNBins() const
Get number of bins.
SVDRecoTimeBase()
Default constructor for the ROOT IO.
std::vector< BinnedDataType > BinEdgesArray
BinEdgesArray[i] is the left edge of bin i.
bool isUStrip() const
Get strip direction.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
SVDModeByte::baseType m_mode
Mode byte, trigger FADCTime + DAQ mode.
bool m_isU
True if U, false if V.
SVDRecoTimeBase(VxdID sensorID, bool isU, const T &bins, SVDModeByte mode=SVDModeByte())
Constructor using a stl container of time bin probabilities.