 |
Belle II Software
release-05-02-19
|
13 #include <vxd/dataobjects/VxdID.h>
66 std::vector<unsigned short> pxdLayers;
68 std::back_inserter(pxdLayers),
69 [](
unsigned short l)->bool {return l < 3;});
78 std::vector<unsigned short> svdLayers;
80 std::back_inserter(svdLayers),
81 [](
unsigned short l)->bool {return l > 2;});
206 return std::distance(
267 VxdID chipID(sensorID);
269 chipID.setSegmentNumber(
static_cast<unsigned short>(chip));
270 return std::distance(
283 int getPXDChipIndex(
int layer,
int ladder,
int sensor,
bool isU,
int chip)
const
312 unsigned short chipNo = chipID.getSegmentNumber();
362 VxdID chipID(sensorID);
368 return std::distance(
381 int getSVDChipIndex(
int layer,
int ladder,
int sensor,
bool isU,
int chip)
const
402 return (chipID.getLayerNumber() == 3 ? chipID.getSegmentNumber() <
c_nSVDChipsL3 : chipID.getSegmentNumber() <
c_nSVDChipsLu);
411 unsigned short chipNo = chipID.getSegmentNumber();
412 if (chipID.getLayerNumber() == 3) {
434 return std::distance(
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.
void setSegmentNumber(baseType segment)
Set the sensor segment.
baseType getLayerNumber() const
Get the layer id.