ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SpacePointData Class Reference

This class contains auxiliary data associated to the external space points provided by the customers These variables are used internally by the seeding algorithm, that reads them The variables collected here are also dynamic variables only present for strip space points. More...

#include <Acts/EventData/SpacePointData.hpp>

Public Member Functions

 SpacePointData ()=default
 Default constructor.
 SpacePointData (const SpacePointData &other)=delete
 No copies.
 SpacePointData (SpacePointData &&other) noexcept=default
 Move operations.
 ~SpacePointData ()=default
 Destructor.
const Acts::Vector3bottomStripVector (const std::size_t idx) const
 Get bottom strip vector for strip space points.
void clear ()
 clear vectors
bool hasDynamicVariable () const
 Check if space point data has dynamic variables.
SpacePointDataoperator= (const SpacePointData &other)=delete
SpacePointDataoperator= (SpacePointData &&other) noexcept=default
 Move assignment operator.
float phi (const std::size_t idx) const
 Get azimuthal angle of space point.
float radius (const std::size_t idx) const
 Get radial distance of space point.
void resize (const std::size_t n, bool resizeDynamic=false)
 Resize vectors.
void setBottomStripVector (const std::size_t idx, const Acts::Vector3 &value)
 Set bottom strip vector for strip space points.
void setPhi (const std::size_t idx, const float value)
 Set azimuthal angle of space point.
void setRadius (const std::size_t idx, const float value)
 Set radial distance of space point.
void setStripCenterDistance (const std::size_t idx, const Acts::Vector3 &value)
 Set strip center distance vector for strip space points.
void setTopStripCenterPosition (const std::size_t idx, const Acts::Vector3 &value)
 Set top strip center position for strip space points.
void setTopStripVector (const std::size_t idx, const Acts::Vector3 &value)
 Set top strip vector for strip space points.
void setVarianceR (const std::size_t idx, const float value)
 Set radial variance of space point.
void setVarianceZ (const std::size_t idx, const float value)
 Set z coordinate variance of space point.
void setX (const std::size_t idx, const float value)
void setY (const std::size_t idx, const float value)
 Set y coordinate of space point.
void setZ (const std::size_t idx, const float value)
 Set z coordinate of space point.
const Acts::Vector3stripCenterDistance (const std::size_t idx) const
 Get strip center distance vector for strip space points.
const Acts::Vector3topStripCenterPosition (const std::size_t idx) const
 Get top strip center position for strip space points.
const Acts::Vector3topStripVector (const std::size_t idx) const
 Get top strip vector for strip space points.
float varianceR (const std::size_t idx) const
 Get radial variance of space point.
float varianceZ (const std::size_t idx) const
 Get z coordinate variance of space point.
float x (const std::size_t idx) const
float y (const std::size_t idx) const
 Get y coordinate of space point.
float z (const std::size_t idx) const
 Get z coordinate of space point.

Detailed Description

This class contains auxiliary data associated to the external space points provided by the customers These variables are used internally by the seeding algorithm, that reads them The variables collected here are also dynamic variables only present for strip space points.

Constructor & Destructor Documentation

◆ SpacePointData() [1/3]

Acts::SpacePointData::SpacePointData ( )
default

Default constructor.

◆ SpacePointData() [2/3]

Acts::SpacePointData::SpacePointData ( const SpacePointData & other)
delete

No copies.

◆ SpacePointData() [3/3]

Acts::SpacePointData::SpacePointData ( SpacePointData && other)
defaultnoexcept

Move operations.

Parameters
otherSpacePointData object to move from

◆ ~SpacePointData()

Acts::SpacePointData::~SpacePointData ( )
default

Destructor.

Member Function Documentation

◆ bottomStripVector()

const Acts::Vector3 & Acts::SpacePointData::bottomStripVector ( const std::size_t idx) const

Get bottom strip vector for strip space points.

Parameters
idxIndex of the space point
Returns
Reference to bottom strip vector

◆ clear()

void Acts::SpacePointData::clear ( )

clear vectors

◆ hasDynamicVariable()

bool Acts::SpacePointData::hasDynamicVariable ( ) const

Check if space point data has dynamic variables.

Returns
True if dynamic variables (strip data) are present

◆ operator=() [1/2]

SpacePointData & Acts::SpacePointData::operator= ( const SpacePointData & other)
delete

◆ operator=() [2/2]

SpacePointData & Acts::SpacePointData::operator= ( SpacePointData && other)
defaultnoexcept

Move assignment operator.

Parameters
otherSpacePointData object to move from
Returns
Reference to this object

◆ phi()

float Acts::SpacePointData::phi ( const std::size_t idx) const

Get azimuthal angle of space point.

Parameters
idxIndex of the space point
Returns
Azimuthal angle value

◆ radius()

float Acts::SpacePointData::radius ( const std::size_t idx) const

Get radial distance of space point.

Parameters
idxIndex of the space point
Returns
Radial distance value

◆ resize()

void Acts::SpacePointData::resize ( const std::size_t n,
bool resizeDynamic = false )

Resize vectors.

Parameters
nNew size for the data vectors
resizeDynamicWhether to resize dynamic data containers

◆ setBottomStripVector()

void Acts::SpacePointData::setBottomStripVector ( const std::size_t idx,
const Acts::Vector3 & value )

Set bottom strip vector for strip space points.

Parameters
idxIndex of the space point to modify
valueNew bottom strip vector to set

◆ setPhi()

void Acts::SpacePointData::setPhi ( const std::size_t idx,
const float value )

Set azimuthal angle of space point.

Parameters
idxIndex of the space point to modify
valueNew azimuthal angle value to set

◆ setRadius()

void Acts::SpacePointData::setRadius ( const std::size_t idx,
const float value )

Set radial distance of space point.

Parameters
idxIndex of the space point to modify
valueNew radial distance value to set

◆ setStripCenterDistance()

void Acts::SpacePointData::setStripCenterDistance ( const std::size_t idx,
const Acts::Vector3 & value )

Set strip center distance vector for strip space points.

Parameters
idxIndex of the space point to modify
valueNew strip center distance vector to set

◆ setTopStripCenterPosition()

void Acts::SpacePointData::setTopStripCenterPosition ( const std::size_t idx,
const Acts::Vector3 & value )

Set top strip center position for strip space points.

Parameters
idxIndex of the space point to modify
valueNew top strip center position vector to set

◆ setTopStripVector()

void Acts::SpacePointData::setTopStripVector ( const std::size_t idx,
const Acts::Vector3 & value )

Set top strip vector for strip space points.

Parameters
idxIndex of the space point to modify
valueNew top strip vector to set

◆ setVarianceR()

void Acts::SpacePointData::setVarianceR ( const std::size_t idx,
const float value )

Set radial variance of space point.

Parameters
idxIndex of the space point to modify
valueNew radial variance value to set

◆ setVarianceZ()

void Acts::SpacePointData::setVarianceZ ( const std::size_t idx,
const float value )

Set z coordinate variance of space point.

Parameters
idxIndex of the space point to modify
valueNew z variance value to set

◆ setX()

void Acts::SpacePointData::setX ( const std::size_t idx,
const float value )
Parameters
idxIndex of the space point to modify
valueNew x coordinate value to set

◆ setY()

void Acts::SpacePointData::setY ( const std::size_t idx,
const float value )

Set y coordinate of space point.

Parameters
idxIndex of the space point to modify
valueNew y coordinate value to set

◆ setZ()

void Acts::SpacePointData::setZ ( const std::size_t idx,
const float value )

Set z coordinate of space point.

Parameters
idxIndex of the space point to modify
valueNew z coordinate value to set

◆ stripCenterDistance()

const Acts::Vector3 & Acts::SpacePointData::stripCenterDistance ( const std::size_t idx) const

Get strip center distance vector for strip space points.

Parameters
idxIndex of the space point
Returns
Reference to strip center distance vector

◆ topStripCenterPosition()

const Acts::Vector3 & Acts::SpacePointData::topStripCenterPosition ( const std::size_t idx) const

Get top strip center position for strip space points.

Parameters
idxIndex of the space point
Returns
Reference to top strip center position vector

◆ topStripVector()

const Acts::Vector3 & Acts::SpacePointData::topStripVector ( const std::size_t idx) const

Get top strip vector for strip space points.

Parameters
idxIndex of the space point
Returns
Reference to top strip vector

◆ varianceR()

float Acts::SpacePointData::varianceR ( const std::size_t idx) const

Get radial variance of space point.

Parameters
idxIndex of the space point
Returns
Radial variance value

◆ varianceZ()

float Acts::SpacePointData::varianceZ ( const std::size_t idx) const

Get z coordinate variance of space point.

Parameters
idxIndex of the space point
Returns
Z variance value

◆ x()

float Acts::SpacePointData::x ( const std::size_t idx) const
Parameters
idxIndex of the space point
Returns
X coordinate value

◆ y()

float Acts::SpacePointData::y ( const std::size_t idx) const

Get y coordinate of space point.

Parameters
idxIndex of the space point
Returns
Y coordinate value

◆ z()

float Acts::SpacePointData::z ( const std::size_t idx) const

Get z coordinate of space point.

Parameters
idxIndex of the space point
Returns
Z coordinate value