 |
Belle II Software
release-05-01-25
|
89 operator std::string()
const;
118 std::string
__str__()
const {
return (std::string)(*this); }
@ MaxSegment
Maximum valid Segment ID.
bool operator==(const VxdID &b) const
Check for equality.
Class to uniquely identify a any structure of the PXD and SVD.
@ MaxLayer
Maximum valid Layer ID.
@ MaxLadder
Maximum valid Ladder ID.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
@ LayerBits
Number of bits available to represent a layer.
@ LadderBits
Number of bits available to represent a ladder.
baseType getLadderNumber() const
Get the ladder id.
@ MaxSensor
Maximum valid Sensor 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.
@ SensorBits
Number of bits available to represent a sensor.
VxdID & operator=(const VxdID &b)
Assignment operator.
union Belle2::VxdID::@277 m_id
Union to store the ID and all components in one go.
@ SegmentBits
Number of bits available to represent segmentation of the sensor.
unsigned short baseType
The base integer type for VxdID.
@ Bits
Total bit size of the 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.
baseType getSensorNumber() const
Get the sensor id.
struct Belle2::VxdID::@277::@278 parts
< Struct to contain all id components
baseType ladder
Ladder id.
@ MaxID
Maximum value for 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)
baseType getSegmentNumber() const
Get the sensor segment.