Belle II Software development
|
Class representing a pair of neighbors in the CDC in a single layer For certain circumstances it is allowed that both wires point to nullptr, e.g. More...
#include <WireNeighborPair.h>
Public Types | |
using | Super = std::pair< MayBePtr< const CDCWire >, MayBePtr< const CDCWire > > |
Type of the base class. | |
Public Member Functions | |
MayBePtr< const CDCWire > | getFirst () const |
Getter for the first wire. | |
MayBePtr< const CDCWire > | getSecond () const |
Getter for the second wire. | |
WireNeighborKind | getNeighborKind () const |
Getter for the kind of neighbor hood relation the first wire has with the second. | |
Class representing a pair of neighbors in the CDC in a single layer For certain circumstances it is allowed that both wires point to nullptr, e.g.
at the borders of super layers. Hence you have to check before accessing the wires.
Definition at line 29 of file WireNeighborPair.h.
Type of the base class.
Definition at line 33 of file WireNeighborPair.h.
|
inline |
Getter for the first wire.
Definition at line 39 of file WireNeighborPair.h.
WireNeighborKind getNeighborKind | ( | ) | const |
Getter for the kind of neighbor hood relation the first wire has with the second.
Definition at line 15 of file WireNeighborPair.cc.
|
inline |
Getter for the second wire.
Definition at line 43 of file WireNeighborPair.h.