Belle II Software development
|
A segment consisting of three dimensional reconstructed hits. More...
#include <CDCSegment3D.h>
Public Member Functions | |
CDCSegment2D | stereoProjectToRef () const |
Constructs a two dimensional segment by carrying out the stereo ! projection to the wire reference position. | |
AutomatonCell & | getAutomatonCell () const |
Mutable getter for the automaton cell. | |
AutomatonCell * | operator-> () const |
Indirection to the automaton cell for easier access to the flags. | |
void | unsetAndForwardMaskedFlag (bool toHits=true) const |
Unset the masked flag of the automaton cell of this segment and of all contained wire hits. | |
void | setAndForwardMaskedFlag (bool toHits=true) const |
Set the masked flag of the automaton cell of this segment and forward the masked flag to all contained wire hits. | |
void | receiveMaskedFlag (bool fromHits=true) const |
Check all contained wire hits if one has the masked flag. | |
CDCTrajectory3D & | getTrajectory3D () const |
Getter for the two dimensional trajectory fitted to the segment. | |
void | setTrajectory3D (const CDCTrajectory3D &trajectory3D) const |
Setter for the two dimensional trajectory fitted to the segment. | |
EStereoKind | getStereoKind () const |
Returns the common stereo type of all hits. | |
bool | isAxial () const |
Indicator if the underlying wires are axial. | |
ISuperLayer | getISuperLayer () const |
Returns the common super layer id of all stored tracking hits. | |
const std::vector< CDCRecoHit3D > & | items () const |
Legacy accessor for the items of the segments, still used in some corners. | |
CDCTrajectory2D & | getTrajectory2D () const |
Getter for the two dimensional trajectory fitted to the segment. | |
void | setTrajectory2D (const CDCTrajectory2D &trajectory2D) const |
Setter for the two dimensional trajectory fitted to the segment. | |
void | sortByArcLength2D () |
Sort the recoHits according to their perpS information. | |
double | getAliasScore () const |
Getter for the flag that this segment may have an aliased version. | |
void | setAliasScore (double aliasScore) |
Setter for the flag that this segment may have an aliased version. | |
Static Public Member Functions | |
static CDCSegment3D | reconstruct (const CDCSegment2D &segment2D, const CDCTrajectory2D &trajectory2D) |
Reconstructs a two dimensional stereo segment by shifting each hit onto the given two dimensional trajectory. | |
Public Attributes | |
T | elements |
STL member. | |
Private Attributes | |
AutomatonCell | m_automatonCell |
Memory for the automaton cell. | |
CDCTrajectory3D | m_trajectory3D |
Memory for the three dimensional trajectory fitted to this segment. | |
CDCTrajectory2D | m_trajectory2D |
Memory for the two dimensional trajectory fitted to this segment. | |
double | m_aliasScore |
Boolean flag to indicate that this segment has a valid alias version. | |
A segment consisting of three dimensional reconstructed hits.
Definition at line 26 of file CDCSegment3D.h.
|
inlineinherited |
Getter for the flag that this segment may have an aliased version.
Definition at line 90 of file CDCSegment.h.
|
inline |
Mutable getter for the automaton cell.
Definition at line 40 of file CDCSegment3D.h.
|
inlineinherited |
Returns the common super layer id of all stored tracking hits.
This checks if all items are located in the same superlayer and returns the superlayer id of the later. Returns ISuperLayerUtil::c_Invalid, if the superlayer is not shared among the hits.
Definition at line 57 of file CDCSegment.h.
|
inlineinherited |
Returns the common stereo type of all hits.
This checks if all tracking hits are located in the same superlayer and
returns the stereo type of the later. Returns EStereoKind::c_Invalid if the superlayer
is not shared among the tracking hits.
Definition at line 39 of file CDCSegment.h.
|
inlineinherited |
Getter for the two dimensional trajectory fitted to the segment.
Definition at line 69 of file CDCSegment.h.
|
inline |
Getter for the two dimensional trajectory fitted to the segment.
Definition at line 71 of file CDCSegment3D.h.
|
inlineinherited |
Indicator if the underlying wires are axial.
Definition at line 45 of file CDCSegment.h.
|
inlineinherited |
Legacy accessor for the items of the segments, still used in some corners.
Definition at line 63 of file CDCSegment.h.
|
inline |
Indirection to the automaton cell for easier access to the flags.
Definition at line 46 of file CDCSegment3D.h.
void receiveMaskedFlag | ( | bool | fromHits = true | ) | const |
Check all contained wire hits if one has the masked flag.
Set the masked flag of this segment in case at least one of the contained wire hits is flagged as masked.
Definition at line 62 of file CDCSegment3D.cc.
|
static |
Reconstructs a two dimensional stereo segment by shifting each hit onto the given two dimensional trajectory.
Definition at line 20 of file CDCSegment3D.cc.
|
inlineinherited |
Setter for the flag that this segment may have an aliased version.
Definition at line 96 of file CDCSegment.h.
void setAndForwardMaskedFlag | ( | bool | toHits = true | ) | const |
Set the masked flag of the automaton cell of this segment and forward the masked flag to all contained wire hits.
Definition at line 52 of file CDCSegment3D.cc.
|
inlineinherited |
Setter for the two dimensional trajectory fitted to the segment.
Definition at line 75 of file CDCSegment.h.
|
inline |
Setter for the two dimensional trajectory fitted to the segment.
Definition at line 77 of file CDCSegment3D.h.
|
inlineinherited |
Sort the recoHits according to their perpS information.
Definition at line 81 of file CDCSegment.h.
CDCSegment2D stereoProjectToRef | ( | ) | const |
Constructs a two dimensional segment by carrying out the stereo ! projection to the wire reference position.
Note : no fitting information is transported to the resulting segment.
Definition at line 32 of file CDCSegment3D.cc.
void unsetAndForwardMaskedFlag | ( | bool | toHits = true | ) | const |
Unset the masked flag of the automaton cell of this segment and of all contained wire hits.
Definition at line 42 of file CDCSegment3D.cc.
|
privateinherited |
Boolean flag to indicate that this segment has a valid alias version.
Definition at line 106 of file CDCSegment.h.
|
mutableprivate |
Memory for the automaton cell.
It is declared mutable because it can vary rather freely despite of the hit content might be required fixed.
Definition at line 88 of file CDCSegment3D.h.
|
mutableprivateinherited |
Memory for the two dimensional trajectory fitted to this segment.
Definition at line 103 of file CDCSegment.h.
|
mutableprivate |
Memory for the three dimensional trajectory fitted to this segment.
Definition at line 91 of file CDCSegment3D.h.