9#include <vxd/geometry/GeoTools.h>
10#include <vxd/geometry/GeoCache.h>
26 [](
VxdID id)->bool { return (id.getLayerNumber() > 2); })
39 layerSet.begin(), layerSet.end(),
41 [](
VxdID id)->int { return id.getLayerNumber(); }
56 std::iota(sensorChips.begin(), sensorChips.end(), 0);
61 std::vector<VxdID> sensorIDs;
63 sensorChips.begin(), sensorChips.end(),
64 std::back_inserter(sensorIDs),
65 [sensorID](
unsigned short i)->VxdID
66 { VxdID sID(sensorID); sID.setSegmentNumber(i); return sID; }
77 std::iota(sensorChipsL456.begin(), sensorChipsL456.end(), 0);
79 std::iota(sensorChipsL3.begin(), sensorChipsL3.end(), 0);
84 std::vector<VxdID> sensorIDs;
85 std::vector<unsigned short>& sensorChips =
86 sensorID.getLayerNumber() == 3 ? sensorChipsL3 : sensorChipsL456;
88 sensorChips.begin(), sensorChips.end(),
89 std::back_inserter(sensorIDs),
90 [sensorID](
unsigned short i)->VxdID
91 { VxdID sID(sensorID); sID.setSegmentNumber(i); return sID; }
Class to faciliate easy access to sensor information of the VXD like coordinate transformations or pi...
const std::set< Belle2::VxdID > getLayers(SensorInfoBase::SensorType sensortype=SensorInfoBase::VXD)
Return a set of all known Layers.
const std::vector< VxdID > getListOfSensors() const
Get list of all sensors.
static GeoCache & getInstance()
Return a reference to the singleton instance.
Class to uniquely identify a any structure of the PXD and SVD.
Namespace to provide code needed by both Vertex Detectors, PXD and SVD, and also testbeam telescopes.
Abstract base class for different kinds of events.