Belle II Software development
|
Tools to apply post corrections to a track after finding. More...
#include <TrackQualityTools.h>
Public Member Functions | |
TrackQualityTools ()=delete | |
Static class only. | |
TrackQualityTools (const TrackQualityTools ©)=delete | |
Static class only. | |
TrackQualityTools & | operator= (const TrackQualityTools &)=delete |
Static class only. | |
Static Public Member Functions | |
static void | normalizeHitsAndResetTrajectory (CDCTrack &track) |
Update all hits to have a positive perpS, a taken flag and no background flag Also set the trajectory to start from the first hit position and point towards the second hit. | |
static void | removeHitsAfterCDCWall (CDCTrack &track, double outerCylindricalRFactor=1.1) |
Remove all hits which can not belong to the track, as the particle can not exit and enter the CDC again. | |
static void | removeHitsIfSmall (CDCTrack &track, unsigned int minimalHits=7) |
Delete a track fully of the number of hits is below minimalHits. | |
static void | removeHitsAfterLayerBreak (CDCTrack &track, double m_maximumArcLength2DDistance=10) |
Delete all hits after a large layer break. | |
static void | removeHitsAfterLayerBreak2 (CDCTrack &track) |
Delete all hits after a large layer break. | |
static void | removeHitsInTheBeginningIfAngleLarge (CDCTrack &track, double maximalAngle=0.7) |
If the angle between two following hits is larger than maximalAngle, delete all hits before (!!) the second hit. | |
static void | removeHitsIfOnlyOneSuperLayer (CDCTrack &track) |
Remove the whole track if it only consists of one superlayer. | |
static void | removeHitsOnTheWrongSide (CDCTrack &track) |
Remove all hits that are on the wrong side of the detector (so to say: "beyond the IP"). | |
static void | removeArcLength2DHoles (CDCTrack &track, double m_maximumArcLength2DDistance=10) |
Remove all hits that come after a large hole in the two dimensional arc length. | |
static void | splitSecondHalfOfTrack (CDCTrack &track, std::vector< CDCTrack > &tracks) |
Trasan did output curlers in split two halves - this method can be used to mimic this. | |
static void | moveToNextAxialLayer (CDCTrack &track) |
Delete hits of the first superlayer if it is a stereo one (fitting does not work very well when starting with a stereo hit). | |
Tools to apply post corrections to a track after finding.
"Removing" of hits means always to mark then as assigned. The deletion has to be done later.
Definition at line 25 of file TrackQualityTools.h.
|
static |
Delete hits of the first superlayer if it is a stereo one (fitting does not work very well when starting with a stereo hit).
Definition at line 23 of file TrackQualityTools.cc.
|
static |
Update all hits to have a positive perpS, a taken flag and no background flag Also set the trajectory to start from the first hit position and point towards the second hit.
Definition at line 62 of file TrackQualityTools.cc.
|
static |
Remove all hits that come after a large hole in the two dimensional arc length.
Definition at line 349 of file TrackQualityTools.cc.
|
static |
Remove all hits which can not belong to the track, as the particle can not exit and enter the CDC again.
The radius of the CDC can be "scaled" with the given factor. Works not very good.
Definition at line 125 of file TrackQualityTools.cc.
|
static |
Delete all hits after a large layer break.
Works quite well for finding large "breaks" in the track. Implementation one (it is not sure which one is better in the moment.)
Definition at line 205 of file TrackQualityTools.cc.
|
static |
Delete all hits after a large layer break.
Works quite well for finding large "breaks" in the track. Implementation two (it is not sure which one is better in the moment.)
Definition at line 161 of file TrackQualityTools.cc.
|
static |
Remove the whole track if it only consists of one superlayer.
Definition at line 311 of file TrackQualityTools.cc.
|
static |
Delete a track fully of the number of hits is below minimalHits.
Definition at line 271 of file TrackQualityTools.cc.
|
static |
If the angle between two following hits is larger than maximalAngle, delete all hits before (!!) the second hit.
Definition at line 282 of file TrackQualityTools.cc.
|
static |
Remove all hits that are on the wrong side of the detector (so to say: "beyond the IP").
Definition at line 333 of file TrackQualityTools.cc.
Trasan did output curlers in split two halves - this method can be used to mimic this.
The new track is automatically added to the list of tracks.
Definition at line 34 of file TrackQualityTools.cc.