 |
Belle II Software
release-05-02-19
|
14 #include <vxd/dataobjects/VxdID.h>
62 operator unsigned int()
const {
return m_fullSecID; }
70 friend std::ostream&
operator<< (std::ostream& out,
const FullSecID& secID) { out << secID.getFullSecString();
return out; }
103 explicit FullSecID(VxdID vxdID,
bool subLayerID =
false,
unsigned int sectorNumber = 0);
112 FullSecID(
unsigned int layerID,
bool subLayerID,
unsigned int sensorID,
unsigned int sectorNumber);
Class to uniquely identify a any structure of the PXD and SVD.
bool operator==(const FullSecID &secID) const
overloaded '=='-operator for sorting algorithms
friend std::ostream & operator<<(std::ostream &out, const FullSecID &secID)
overloaded '<<' stream operator.
const static int SubLayerBits
Number of bits available to represent a subLayer (a sublayer is 1 if current sector on sensor is in a...
baseType getLadderNumber() const
Get the ladder id.
unsigned short int getUniID() const
returns uniID of sensor (basically the same as VxdID (can simply converted to vxdID(uniID)) but a tri...
const static int VxdIDMask
mask to get VxdID from fullSecID
VxdID getVxdID() const
returns VxdID of sensor.
bool getSubLayerID() const
returns SubLayerID which tells you whether it is useful to search for compatible sectors in the same ...
FullSecID & operator=(const FullSecID &secID)
overloaded assignment operator
const static int MaxSubLayer
Maximum valid Ladder ID.
const static int LayerBitShift
Number of bits to shift for storing a LayerID.
const static int VxdIDBits
Number of bits available to store a full vxdID.
const static int SectorBits
Number of bits available to represent a sector.
BaseType m_fullSecID
contains full info of current SecID.
bool equalIgnoreSubLayerID(const FullSecID &secID)
comparison which ignores the sublayer ID
unsigned int getFullSecID() const
returns the FullSecID coded as integer for further use (can be reconverted to FullSecID by using Full...
const static int VxdIDBitShift
Number of bits shift for storing a full vxdID.
Class to identify a sector inside of the VXD.
const static int LayerBits
Number of bits available to represent a layer.
unsigned int BaseType
defines the base type used for FullSecID
Abstract base class for different kinds of events.
const static int SubLayerBitShift
Number of bits to shift for storing a SubLayerID.
short int getSecID() const
returns SecID of current FullSecID (only unique for each sensor).
const static int SectorMask
mask to get SectorID from fullSecID
short int getLayerNumber() const
returns LayerID compatible with basf2 standards.
const static int Bits
Total bit size of the VxdID.
bool operator<(const FullSecID &secID) const
overloaded '<'-operator for sorting algorithms
const static int SubLayerMask
mask to get subLayerID from fullSecID
int getLadderID() const
returns LadderID compatible with basf2 standards
FullSecID(const FullSecID &secID)
Copy constructor.
short int getLayerID() const
returns LayerID compatible with basf2 standards.
int getLadderNumber() const
returns LadderID compatible with basf2 standards
const static int MaxSector
Maximum valid Segment ID.
const static int MaxVxdID
Maximum valid Sensor ID.
std::string getFullSecString() const
returns the FullSecID coded as string compatible to secIDs stored in the xml-sectormaps
const static int MaxID
Maximum value for ID.
const static int MaxLayer
Maximum valid Layer ID.