|
ACTS
Experiment-independent tracking
|
After the particle interaction with surfaces are recorded and digitized measurements on the pixel or strip detectors need further treatment. More...
#include <Acts/SpacePointFormation/SpacePointBuilder.hpp>
Public Types | |
| using | BuilderFunction |
| Type alias for space point builder function. | |
Public Member Functions | |
| SpacePointBuilder ()=default | |
| SpacePointBuilder (const SpacePointBuilderConfig &cfg, BuilderFunction func, std::unique_ptr< const Logger > logger=getDefaultLogger("SpacePointBuilder", Logging::INFO)) | |
| template<template< typename... > typename container_t> | |
| void | buildSpacePoint (const GeometryContext &gctx, const std::vector< SourceLink > &sourceLinks, const SpacePointBuilderOptions &opt, std::back_insert_iterator< container_t< spacepoint_t > > spacePointIt) const |
| Calculates the space points out of a given collection of SourceLinks and stores the results. | |
| void | makeSourceLinkPairs (const GeometryContext &gctx, const std::vector< SourceLink > &slinksFront, const std::vector< SourceLink > &slinksBack, std::vector< std::pair< SourceLink, SourceLink > > &slinkPairs, const StripPairOptions &pairOpt) const |
| Searches possible combinations of two SourceLinks on different surfaces that may come from the same particles. | |
Protected Member Functions | |
| const Logger & | logger () const |
| Get the logger instance. | |
Protected Attributes | |
| SpacePointBuilderConfig | m_config |
| Configuration of the single hit space point builder. | |
| std::unique_ptr< const Acts::Logger > | m_logger |
| the logging instance | |
| BuilderFunction | m_spConstructor |
| Function to create external space point The constructor of spacepoint_t with Vector3 global pos, Vector2 global cov, and vector of source link pointers. | |
| std::shared_ptr< const SpacePointUtility > | m_spUtility |
| Utility for space point calculations. | |
After the particle interaction with surfaces are recorded and digitized measurements on the pixel or strip detectors need further treatment.
This class takes the SouceLinks and provides the corresponding space points.
| using Acts::SpacePointBuilder< spacepoint_t >::BuilderFunction |
Type alias for space point builder function.
| Acts::SpacePointBuilder< spacepoint_t >::SpacePointBuilder | ( | const SpacePointBuilderConfig & | cfg, |
| BuilderFunction | func, | ||
| std::unique_ptr< const Logger > | logger = getDefaultLogger("SpacePointBuilder< spacepoint_t >", Logging::INFO) ) |
| cfg | The configuration for the space point builder |
| func | The function that provides user's SP constructor with global pos, global cov, and sourceLinks. |
| logger | The logging instance |
|
default |
| void Acts::SpacePointBuilder< spacepoint_t >::buildSpacePoint | ( | const GeometryContext & | gctx, |
| const std::vector< SourceLink > & | sourceLinks, | ||
| const SpacePointBuilderOptions & | opt, | ||
| std::back_insert_iterator< container_t< spacepoint_t > > | spacePointIt ) const |
Calculates the space points out of a given collection of SourceLinks and stores the results.
| gctx | The current geometry context object, e.g. alignment |
| sourceLinks | vector of Sourcelink |
| opt | option for the space point building. It contains the ends of the strips for strip SP building |
| spacePointIt | Output iterator for the space point |
|
protected |
Get the logger instance.
| void Acts::SpacePointBuilder< spacepoint_t >::makeSourceLinkPairs | ( | const GeometryContext & | gctx, |
| const std::vector< SourceLink > & | slinksFront, | ||
| const std::vector< SourceLink > & | slinksBack, | ||
| std::vector< std::pair< SourceLink, SourceLink > > & | slinkPairs, | ||
| const StripPairOptions & | pairOpt ) const |
Searches possible combinations of two SourceLinks on different surfaces that may come from the same particles.
| gctx | The current geometry context object, e.g. alignment |
| slinksFront | vector of Sourcelinks on a surface |
| slinksBack | vector of SoruceLinks on another surface |
| slinkPairs | storage of the SouceLink pairs |
| pairOpt | pair maker option with paramCovAccessor |
|
protected |
Configuration of the single hit space point builder.
|
protected |
the logging instance
|
protected |
Function to create external space point The constructor of spacepoint_t with Vector3 global pos, Vector2 global cov, and vector of source link pointers.
|
protected |
Utility for space point calculations.