 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/topology/EStereoKind.h>
13 #include <tracking/trackFindingCDC/topology/ISuperLayer.h>
15 #include <tracking/trackFindingCDC/numerics/ERightLeft.h>
16 #include <tracking/trackFindingCDC/numerics/ESign.h>
29 namespace TrackFindingCDC {
30 class CDCTrajectory2D;
54 explicit CDCRLWireHit(
const CDCWireHit* wireHit, ERightLeft rlInfo = ERightLeft::c_Unknown);
66 double driftLengthVariance);
130 return &rlWireHit.getWire() < &wire;
136 return &wire < &rlWireHit.getWire();
145 return &rlWireHit.getWireHit() < &wireHit;
154 return &wireHit < rlWireHit.m_wireHit;
200 bool hasWireHit(
const CDCWireHit& wirehit)
const
static CDCRLWireHit average(const CDCRLWireHit &rlWireHit1, const CDCRLWireHit &rlWireHit2)
Constructs the average of two wire hits with right left passage informations.
double m_refDriftLength
Memory for the reestimated drift length.
void setRLInfo(const ERightLeft rlInfo)
Setter for the right left passage information.
Class to identify a wire inside the CDC.
HepGeom::Vector3D< double > Vector3D
3D Vector
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
bool operator<(const CDCRLWireHit &rhs) const
Total ordering relation based on wire hit and left right passage information in this order of importa...
const CDCWireHit & getWireHit() const
Getter for the wire hit associated with the oriented hit.
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
ISuperLayer getISuperLayer() const
Getter for the superlayer id.
bool operator==(const CDCRLWireHit &rhs) const
Equality comparison based on wire hit, left right passage information.
const CDCWire & getWire() const
Getter for the wire the oriented hit associated to.
double getRefDriftLength() const
Getter for the drift length at the reference position of the wire.
const CDCWireHit * m_wireHit
Memory for the reference to the assiziated wire hit.
ESign
Enumeration for the distinct sign values of floating point variables.
double getSignedRefDriftLength() const
Getter for the drift length at the reference position of the wire.
const WireID & getWireID() const
Getter for the WireID of the wire the hit is located on.
Particle trajectory as it is seen in xy projection represented as a circle.
CDCRLWireHit reversed() const
Returns the oriented wire hit with the opposite right left information.
bool hasWireHit(const CDCWireHit &wirehit) const
Checks if the oriented hit is associated with the give wire hit.
double getRefDriftLengthVariance() const
Getter for the variance of the drift length at the reference position of the wire.
CDCRLWireHit getAlias() const
Returns the aliased version of this oriented wire hit - here same as reverse.
double getRefCylindricalR() const
The distance from the beam line at reference position of the underlying wire.
bool isOnWire(const CDCWire &wire) const
Checks if the oriented hit is associated with the give wire.
ERightLeft getRLInfo() const
Getter for the right left passage information.
Abstract base class for different kinds of events.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
CDCRLWireHit()=default
Default constructor for ROOT.
ERightLeft m_rlInfo
Memory for the right left passage information of the oriented wire hit.
ERightLeft reversed(ERightLeft eRightLeft)
Return the reversed right left indicator. Leaves ERightLeft::c_Invalid the same.
A three dimensional vector.
void reverse()
Swiches the right left passage to its opposite inplace.
Vector2D reconstruct2D(const CDCTrajectory2D &trajectory2D) const
Reconstructs a position of primary ionisation on the drift circle.
bool isAxial() const
Indicator if the underlying wire is axial.
ERightLeft
Enumeration to represent the distinct possibilities of the right left passage.
void setRefDriftLength(double driftLength)
Setter for the drift length at the reference position of the wire.
EStereoKind getStereoKind() const
Getter for the stereo type of the underlying wire.
void setRefDriftLengthVariance(double driftLengthVariance)
Setter for the variance of the drift length at the reference position of the wire.
const Vector2D & getRefPos2D() const
The two dimensional reference position of the underlying wire.
Class representing a sense wire in the central drift chamber.
Class representing a hit wire in the central drift chamber.
const CDCHit * getHit() const
Getter for the CDCHit pointer into the StoreArray.
Vector3D reconstruct3D(const CDCTrajectory2D &trajectory2D, double z=0) const
Attempts to reconstruct a three dimensional position (especially of stereo hits).
double m_refDriftLengthVariance
Memory for the reestimated drift length variance.
static CDCRLWireHit fromSimHit(const CDCWireHit *wirehit, const CDCSimHit &simhit)
Constructs an oriented wire hit from a CDCSimHit and the associated wirehit.