Class Acts::SpacePointBuilder< SpacePoint< Cluster > >¶
-
template<typename Cluster>
class Acts::SpacePointBuilder<SpacePoint<Cluster>>¶ Public Functions
-
SpacePointBuilder(DoubleHitSpacePointConfig cfg)¶
Constructor.
- Parameters
cfg – Specific config that will be used instead of the default values
-
SpacePointBuilder() = default¶
Default constructor.
-
void calculateSpacePoints(const GeometryContext &gctx, const std::vector<const Cluster*> &clusters, std::vector<SpacePoint<Cluster>> &spacePointStorage) const¶
Calculates the space points out of a given collection of clusters and stores the results.
- Parameters
gctx – The current geometry context object, e.g. alignment
clusters – vector of clusters
spacePointStorage – storage of the results
-
void calculateSpacePoints(const GeometryContext &gctx, const std::vector<std::pair<const Cluster*, const Cluster*>> &clusterPairs, std::vector<SpacePoint<Cluster>> &spacePoints) const¶
Calculates the space points out of a given collection of clusters on several strip detectors and stores the data.
Note
If no configuration is set, the default values will be used
- Parameters
gctx – The current geometry context object, e.g. alignment
clusterPairs – pairs of clusters that are space point candidates
spacePoints – storage of the results
-
void makeClusterPairs(const GeometryContext &gctx, const std::vector<const Cluster*> &clustersFront, const std::vector<const Cluster*> &clustersBack, std::vector<std::pair<const Cluster*, const Cluster*>> &clusterPairs) const¶
Searches possible combinations of two clusters on different surfaces that may come from the same particles.
Note
The structure of
clustersFront
andclustersBack
is meant to be clusters[Independent clusters on a single surface]- Parameters
gctx – The current geometry context object, e.g. alignment
clustersFront – vector of clusters on a surface
clustersBack – vector of clusters on another surface
clusterPairs – storage of the cluster pairs
-
SpacePointBuilder(DoubleHitSpacePointConfig cfg)¶