 |
Belle II Software
release-05-01-25
|
11 #include <tracking/trackFindingCDC/topology/CDCWireLayer.h>
12 #include <tracking/trackFindingCDC/topology/CDCWireTopology.h>
13 #include <cdc/geometry/CDCGeometryPar.h>
16 using namespace TrackFindingCDC;
36 size_t nWiresInLayer =
size();
61 for (
const CDCWire& wire : *
this) {
double m_refCylindricalR
Storage for common (averaged) cylindrical radius of all wire reference positions.
double m_refZ
Storage for common (averaged) z coordinate of all wire reference positions.
double getForwardZ() const
Getter for the z coordinate at the forward joint points of the wires.
std::size_t size() const
Returns the total number of objects in this range.
double m_backwardZ
Storage for z position of backward wire ends.
ERotation m_shift
Indicates if this layer is shifted clockwise or counterclockwise.
const double * innerRadiusWireLayer() const
Returns an array of inner radius of wire layers.
double m_forwardZ
Storage for z position of forward wire ends.
double getRefZ() const
Getter for the wire reference z coordinate Gives the wire's reference z coordinate.
static CDCWireTopology & getInstance()
Getter for the singleton instance of the wire topology.
double getBackwardZ() const
Getter for the z coordinate at the backward joint points of the wires.
void initialize()
Intializes the wire layer variables to the average of according variables in the wire range.
double m_forwardCylindricalR
Storage for average distance from beamline of forward wire ends.
const CDCWireLayer & getWireLayer(const WireID &wireId) const
Getter for wire layer getter by wireID object.
ILayer getICLayer() const
Getter for the continuous layer id unique over all layers.
double getBackwardCylindricalR() const
Getter for the distance to the beamline ( z-axes ) at the backward joint point.
The Class for CDC Geometry Parameters.
CDCWireLayer(const ConstVectorRange< CDCWire > &wireRange)
Constructor taking the range of wires the layer shall contain.
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Abstract base class for different kinds of events.
double m_minCylindricalR
Storage for minimal distance from beamline.
const double * outerRadiusWireLayer() const
Returns an array of outer radius of wire layers.
A three dimensional vector.
ISuperLayer getISuperLayer() const
Getter for the super layer id.
signed short getShiftInSuperLayer(unsigned short iSuperLayer, unsigned short iLayer) const
Returns shift in the super-layer.
const CDCWire & getWire(IWire iWire) const
Gives the wire by its id in the layer.
double m_outerCylindricalR
Storage of the outer radius of the wire layer as taken from the CDCGeometryPar instance.
double m_backwardCylindricalR
Storage for average distance from beamline of backward wire ends.
unsigned cellId(unsigned layerId, const TVector3 &position) const
The method to get cell id based on given layer id and the position.
double getMinCylindricalR() const
Getter for the closest distance to the beamline ( z-axes )
ERotation
Enumeration to represent the distinct possibilities of the right left passage information.
A pair of iterators usable with the range base for loop.
Class representating a sense wire layer in the central drift chamber.
double getTanStereoAngle() const
Getter for the tangents of the stereo angle of the wire.
static const CDCWireLayer * getInstance(ILayer iCLayer)
Getter from the the continuous layer id. Does not construct a new object.
double getForwardCylindricalR() const
Getter for the nominal distance to the beamline ( z-axes ) at the forward joint point.
Class representing a sense wire in the central drift chamber.
double m_tanStereoAngle
Storage for average tan stereo angle.
ILayer getILayer() const
Getter for the layer id unique within the superlayer.
const CDCWire & getClosestWire(const Vector3D &pos3D) const
Gets the wire in this layer that is closest to the given position.
double m_innerCylindricalR
Storage of the inner radius of the wire layer as taken from the CDCGeometryPar instance.
double getRefCylindricalR() const
Getter for the cylindrical radius at the wire reference position.