 |
Belle II Software
release-05-02-19
|
89 operator std::string()
const;
118 std::string
__str__()
const {
return (std::string)(*this); }
@ LadderBits
Number of bits available to represent a ladder.
@ MaxSensor
Maximum valid Sensor ID.
bool operator==(const VxdID &b) const
Check for equality.
@ MaxLadder
Maximum valid Ladder ID.
Class to uniquely identify a any structure of the PXD and SVD.
@ MaxSegment
Maximum valid Segment ID.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
union Belle2::VxdID::@301 m_id
Union to store the ID and all components in one go.
@ MaxID
Maximum value for ID.
baseType getLadderNumber() const
Get the ladder id.
void setLayerNumber(baseType layer)
Set the layer id.
baseType getID() const
Get the unique id.
VxdID(baseType id=0)
Constructor using the unique id.
baseType segment
Segment id.
VxdID & operator=(const VxdID &b)
Assignment operator.
unsigned short baseType
The base integer type for VxdID.
Abstract base class for different kinds of events.
void setSegmentNumber(baseType segment)
Set the sensor segment.
void setSensorNumber(baseType sensor)
Set the sensor id.
struct Belle2::VxdID::@301::@302 parts
< Struct to contain all id components
@ LayerBits
Number of bits available to represent a layer.
baseType getSensorNumber() const
Get the sensor id.
@ SensorBits
Number of bits available to represent a sensor.
baseType ladder
Ladder id.
@ MaxLayer
Maximum valid Layer ID.
baseType getLayerNumber() const
Get the layer id.
void setLadderNumber(baseType ladder)
Set the ladder id.
VxdID(baseType layer, baseType ladder, baseType sensor, baseType segment=0)
Constructor using layer, ladder and sensor ids.
baseType sensor
Sensor id.
void setID(baseType id)
Set the unique id.
bool operator<(const VxdID &b) const
Order by unique id.
std::string __str__() const
make this type printable in python with print(vxd_id)
@ SegmentBits
Number of bits available to represent segmentation of the sensor.
baseType getSegmentNumber() const
Get the sensor segment.
@ Bits
Total bit size of the VxdID.