This algorithm builds 3D tracks from pairs of 2D tracks coming from a track-finding algorithm such as HoughFinder2DAlgo. This algorithms expects only two of the three collections to have tracks and does nothing if this condition is not fulfilled. Otherwise, it will build 3D tracks taking sequentially tracks from both collections, pairing them (the first track from the first collection is combined with the first track of the second collection, and so on...) until one of the two collection runs out of tracks. This means that this algo implicitly assumes that the tracks in the collections are "sorted" in reverse order of "significance".
More...
#include <PairwiseTrack3DBuilderAlgo.h>
This algorithm builds 3D tracks from pairs of 2D tracks coming from a track-finding algorithm such as HoughFinder2DAlgo. This algorithms expects only two of the three collections to have tracks and does nothing if this condition is not fulfilled. Otherwise, it will build 3D tracks taking sequentially tracks from both collections, pairing them (the first track from the first collection is combined with the first track of the second collection, and so on...) until one of the two collection runs out of tracks. This means that this algo implicitly assumes that the tracks in the collections are "sorted" in reverse order of "significance".
Needed event objects:
name | type | store | optional | description |
tracks2DColl | Track2DColl | evStore | No | HoughFinder tracks |
Needed global objects: name | type | store | optional | description -----------------------—|-----------------—|----------—|-------—|----------------------—
Provided event objects:
name | type | alias | store | description |
tracks3D_pairwise | std::vector<Track> | tracks3D | evStore | Combined 3D tracks |
Parameters: name | type | default value | description --------------------—|-----------------—|--------------------------—|------------------------------------—
◆ PairwiseTrack3DBuilderAlgo()
Herd::PairwiseTrack3DBuilderAlgo::PairwiseTrack3DBuilderAlgo |
( |
const std::string & |
name | ) |
|
Constructor.
- Parameters
-
name | The name of the algorithm object. |
◆ Initialize()
bool Herd::PairwiseTrack3DBuilderAlgo::Initialize |
( |
| ) |
|
|
override |
Initializes the algo.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
bool Herd::PairwiseTrack3DBuilderAlgo::Process |
( |
| ) |
|
|
override |
Processes an event.
- Returns
- true if no error occurs during processing, false otherwise.
◆ m_evStore
StorePtr Herd::PairwiseTrack3DBuilderAlgo::m_evStore |
|
private |
◆ m_globStore
StorePtr Herd::PairwiseTrack3DBuilderAlgo::m_globStore |
|
private |
◆ m_tracks3D
std::vector<Track> Herd::PairwiseTrack3DBuilderAlgo::m_tracks3D |
|
private |
The documentation for this class was generated from the following files: