![]() |
Belle II Software development
|
Class representing a sequence of three dimensional reconstructed hits. More...
#include <CDCTrack.h>
Public Member Functions | |
| CDCTrack ()=default | |
| Default constructor for ROOT compatibility. | |
| CDCTrack (const std::vector< CDCRecoHit3D > &recoHits3D) | |
| Constructor from a series of hits. | |
| CDCTrack (const CDCSegment2D &segment) | |
| Constructor from a two dimensional segment filling the third dimension with 0 values. | |
| bool | operator< (const CDCTrack &track) const |
| Comparison of track - no particular order has been defined so far, all tracks are equivalent. | |
| std::vector< CDCSegment3D > | splitIntoSegments () const |
| Splits the track into segments. | |
| CDC::ISuperLayer | getStartISuperLayer () const |
| Getter for the superlayer id the track starts from. | |
| CDC::ISuperLayer | getEndISuperLayer () const |
| Getter for the superlayer id the track ends in. | |
| const ROOT::Math::XYZVector & | getStartRecoPos3D () const |
| Getter for the position of the first reconstructed hit. | |
| const ROOT::Math::XYZVector & | getEndRecoPos3D () const |
| Getter for the position of the last reconstructed hit. | |
| void | setStartTrajectory3D (const CDCTrajectory3D &startTrajectory3D) |
| Setter for the two dimensional trajectory. | |
| void | setEndTrajectory3D (const CDCTrajectory3D &endTrajectory3D) |
| Setter for the three dimensional trajectory. | |
| const CDCTrajectory3D & | getStartTrajectory3D () const |
| Getter for the two dimensional trajectory. | |
| const CDCTrajectory3D & | getEndTrajectory3D () const |
| Getter for the three dimensional trajectory. | |
| 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 () const |
| Unset the masked flag of the automaton cell of this segment and of all contained wire hits. | |
| void | setAndForwardMaskedFlag () const |
| Set the masked flag of the automaton cell of this segment and forward the masked flag to all contained wire hits. | |
| void | receiveMaskedFlag () const |
| Check all contained wire hits if one has the masked flag. | |
| void | forwardTakenFlag (bool takenFlag=true) const |
| Set the taken flag of all hits belonging to this track to the given value (default true), but do not touch the flag of the track itself. | |
| void | sortByArcLength2D () |
| Sort the recoHits according to their perpS information. | |
| void | shiftToPositiveArcLengths2D (bool doForAllTracks=false) |
| Set all arcLengths to have positive values by shifting them by pi*radius if they are negative. | |
| void | reverse () |
| Reverse the track inplace. | |
| CDCTrack | reversed () const |
| Return a reversed copy of the track. | |
| MayBePtr< const CDCRecoHit3D > | find (const CDCWireHit &wireHit) const |
| Finds the first CDCRecoHit3D that is based on the given wire hit - nullptr if none. | |
| void | setHasMatchingSegment (bool hasMatchingSegment=true) |
| Set the flag which indicates that the track has a matching segment (probably only used in the SegmentTrackCombiner). | |
| bool | getHasMatchingSegment () const |
| Get a flag which indicates that the track has a matching segment (probably set in the SegmentTrackCombiner). | |
| float | getQualityIndicator () const |
| Get the multivariate quality indicator in [0, 1] attached the CDCTrack. | |
| void | setQualityIndicator (const float qualityIndicator) |
| Set the multivariate quality indicator in [0, 1] attached the CDCTrack. | |
Static Public Member Functions | |
| static CDCTrack | condense (const Path< const CDCTrack > &trackPath) |
| concatenates several tracks from a path | |
| static CDCTrack | condense (const Path< const CDCSegmentTriple > &segmentTriplePath) |
| Reconstructs the hit content of the segment triple track to a CDCTrack averaging overlapping parts. | |
| static CDCTrack | condense (const Path< const CDCSegmentPair > &segmentPairPath) |
| Reconstructs the hit content of the axial stereo segment pair path to a CDCTrack averaging overlapping parts. | |
Public Attributes | |
| T | elements |
| STL member. | |
Private Attributes | |
| AutomatonCell | m_automatonCell |
| Memory for the automaton cell. | |
| CDCTrajectory3D | m_startTrajectory3D |
| Memory for the three dimensional trajectory at the start of the track. | |
| CDCTrajectory3D | m_endTrajectory3D |
| Memory for the three dimensional trajectory at the end of the track. | |
| float | m_qualityIndicator = NAN |
| Multivariate classifier output in [0, 1] correlated with probability that track is good match. | |
| bool | m_hasMatchingSegment = false |
| Flag which indicates that the track had a matching segment (can be used for filter decisions) | |
Class representing a sequence of three dimensional reconstructed hits.
Definition at line 37 of file CDCTrack.h.
|
explicit |
Constructor from a series of hits.
Definition at line 132 of file CDCTrack.cc.
|
explicit |
Constructor from a two dimensional segment filling the third dimension with 0 values.
Definition at line 137 of file CDCTrack.cc.
|
static |
Reconstructs the hit content of the axial stereo segment pair path to a CDCTrack averaging overlapping parts.
Definition at line 265 of file CDCTrack.cc.
|
static |
Reconstructs the hit content of the segment triple track to a CDCTrack averaging overlapping parts.
Definition at line 199 of file CDCTrack.cc.
concatenates several tracks from a path
FIXME : arc lengths are not set properly
Definition at line 166 of file CDCTrack.cc.
| MayBePtr< const CDCRecoHit3D > find | ( | const CDCWireHit & | wireHit | ) | const |
Finds the first CDCRecoHit3D that is based on the given wire hit - nullptr if none.
Definition at line 369 of file CDCTrack.cc.
| void forwardTakenFlag | ( | bool | takenFlag = true | ) | const |
Set the taken flag of all hits belonging to this track to the given value (default true), but do not touch the flag of the track itself.
Definition at line 407 of file CDCTrack.cc.
|
inline |
Mutable getter for the automaton cell.
Definition at line 121 of file CDCTrack.h.
|
inline |
Getter for the superlayer id the track ends in.
Definition at line 75 of file CDCTrack.h.
|
inline |
Getter for the position of the last reconstructed hit.
Definition at line 87 of file CDCTrack.h.
|
inline |
Getter for the three dimensional trajectory.
The trajectory should start at the END of the track and follow its direction.
Definition at line 115 of file CDCTrack.h.
|
inline |
Get a flag which indicates that the track has a matching segment (probably set in the SegmentTrackCombiner).
This flag can be used for filter decisions (e.g. if the track is fake).
Definition at line 178 of file CDCTrack.h.
|
inline |
Get the multivariate quality indicator in [0, 1] attached the CDCTrack.
Definition at line 184 of file CDCTrack.h.
|
inline |
Getter for the superlayer id the track starts from.
Definition at line 69 of file CDCTrack.h.
|
inline |
Getter for the position of the first reconstructed hit.
Definition at line 81 of file CDCTrack.h.
|
inline |
Getter for the two dimensional trajectory.
The trajectory should start at the start of the track and follow its direction.
Definition at line 108 of file CDCTrack.h.
|
inline |
Indirection to the automaton cell for easier access to the flags.
Definition at line 127 of file CDCTrack.h.
|
inline |
Comparison of track - no particular order has been defined so far, all tracks are equivalent.
Definition at line 59 of file CDCTrack.h.
| void receiveMaskedFlag | ( | ) | 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 396 of file CDCTrack.cc.
| void reverse | ( | ) |
Reverse the track inplace.
Definition at line 338 of file CDCTrack.cc.
| CDCTrack reversed | ( | ) | const |
Return a reversed copy of the track.
Definition at line 362 of file CDCTrack.cc.
| void setAndForwardMaskedFlag | ( | ) | 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 387 of file CDCTrack.cc.
|
inline |
Setter for the three dimensional trajectory.
The trajectory should start at the END of the track and follow its direction.
Definition at line 101 of file CDCTrack.h.
|
inline |
Set the flag which indicates that the track has a matching segment (probably only used in the SegmentTrackCombiner).
Definition at line 169 of file CDCTrack.h.
|
inline |
Set the multivariate quality indicator in [0, 1] attached the CDCTrack.
Definition at line 190 of file CDCTrack.h.
|
inline |
Setter for the two dimensional trajectory.
The trajectory should start at the start of the track and follow its direction.
Definition at line 94 of file CDCTrack.h.
| void shiftToPositiveArcLengths2D | ( | bool | doForAllTracks = false | ) |
Set all arcLengths to have positive values by shifting them by pi*radius if they are negative.
This can only be done if the radius is not infinity (for example cosmics). The flag can be used to do this for all tracks (default is to do this only for curlers)
Definition at line 425 of file CDCTrack.cc.
| void sortByArcLength2D | ( | ) |
Sort the recoHits according to their perpS information.
Definition at line 414 of file CDCTrack.cc.
| std::vector< CDCSegment3D > splitIntoSegments | ( | ) | const |
Splits the track into segments.
Note : No trajectory information is copied
Definition at line 323 of file CDCTrack.cc.
| void unsetAndForwardMaskedFlag | ( | ) | const |
Unset the masked flag of the automaton cell of this segment and of all contained wire hits.
Definition at line 378 of file CDCTrack.cc.
|
mutableprivate |
Memory for the automaton cell.
Definition at line 197 of file CDCTrack.h.
|
private |
Memory for the three dimensional trajectory at the end of the track.
Definition at line 203 of file CDCTrack.h.
|
private |
Flag which indicates that the track had a matching segment (can be used for filter decisions)
Definition at line 210 of file CDCTrack.h.
|
private |
Multivariate classifier output in [0, 1] correlated with probability that track is good match.
Used to reject fakes and clones. Implemented here to be forwarded to RecoTrack.
Definition at line 207 of file CDCTrack.h.
|
private |
Memory for the three dimensional trajectory at the start of the track.
Definition at line 200 of file CDCTrack.h.