ATLAS Offline Software
|
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.). More...
Namespaces | |
Cache | |
detail | |
details | |
FitterHelperFunctions | |
HitCategory | |
ParticleHypothesis | |
Enumerations | |
enum | NeighbourIndices { ThisOne, Opposite, PhiMinus, PhiPlus, EtaMinus, EtaPlus, nNeighbours } |
Total number of neightbours and indices. More... | |
enum | DetectorType : unsigned short { DetectorType::Pixel, DetectorType::Sct, DetectorType::Trt, DetectorType::Hgtd, DetectorType::Mdt, DetectorType::Rpc, DetectorType::Tgc, DetectorType::Csc, DetectorType::Mm, DetectorType::sTgc, DetectorType::UnDefined } |
Simple enum to Identify the Type of the ACTS sub detector. More... | |
Functions | |
void | clusterAddCell (PixelClusteringTool::Cluster &cl, const PixelClusteringTool::Cell &cell) |
template<typename IFACE , typename AUX > | |
std::unique_ptr< IFACE > | makeInterfaceContainer (const AUX *aux) |
helper to construct interface container for already filled Aux container TODO maybe should be moved to xAOD area More... | |
void | encodeSurface (xAOD::TrackSurfaceAuxContainer *backend, size_t index, const Acts::Surface *surface, const Acts::GeometryContext &geoContext) |
Prepares persistifiable representation of surface into xAOD::TrackSurface object. More... | |
void | encodeSurface (xAOD::TrackSurface *backend, const Acts::Surface *surface, const Acts::GeometryContext &geoContext) |
As above, but works on xAOD::TrackSurface object. More... | |
std::shared_ptr< const Acts::Surface > | decodeSurface (const xAOD::TrackSurface *backend, const Acts::GeometryContext &geoContext) |
Creates transient Acts Surface objects given a surface backend implementation should be exact mirror of encodeSurface. More... | |
std::shared_ptr< const Acts::Surface > | decodeSurface (const xAOD::TrackSurfaceAuxContainer *backend, size_t i, const Acts::GeometryContext &geoContext) |
As above, but takes data from Aux container at an index i. More... | |
std::string | prefixFromTrackContainerName (const std::string &tracks) |
Parse TrackContainer name to get the prefix for backends The name has to contain XYZTracks, the XYZ is returned. More... | |
void | encodeSurface (xAOD::SurfaceType &surfaceType, std::vector< float > &translation, std::vector< float > &rotation, std::vector< float > &boundValues, const Acts::Surface *surface, const Acts::GeometryContext &geoContext) |
std::shared_ptr< const Acts::Surface > | decodeSurface (const xAOD::SurfaceType surfaceType, const std::vector< float > &translation, const std::vector< float > &rotation, const std::vector< float > &boundValues, const Acts::GeometryContext &) |
template<typename T , typename IFACE , typename AUX > | |
void | recordxAOD (const SG::WriteHandleKey< T > &key, IFACE &iface, AUX &aux, const EventContext &context) |
const xAOD::UncalibratedMeasurement & | getUncalibratedMeasurement (const ATLASUncalibSourceLink &source_link) |
ATLASUncalibSourceLink | makeATLASUncalibSourceLink (const xAOD::UncalibratedMeasurementContainer *container, std::size_t index, [[maybe_unused]] const EventContext &ctx) |
ATLASUncalibSourceLink | makeATLASUncalibSourceLink ([[maybe_unused]] const xAOD::UncalibratedMeasurementContainer *container, const xAOD::UncalibratedMeasurement *measurement, [[maybe_unused]] const EventContext &ctx) |
ATLASUncalibSourceLink | makeATLASUncalibSourceLink (const xAOD::UncalibratedMeasurementContainer *container, std::size_t index) |
ATLASUncalibSourceLink | makeATLASUncalibSourceLink (const xAOD::UncalibratedMeasurement *measurement) |
float | localXFromSourceLink (const ATLASUncalibSourceLink &source_link) |
float | localYFromSourceLink (const ATLASUncalibSourceLink &source_link) |
std::string | to_string (const DetectorType &type) |
bool | operator< (const std::unique_ptr< SurfaceCache > &a, const std::unique_ptr< SurfaceCache > &b) |
Comparison operators. More... | |
bool | operator< (const IdentifierHash &a, const std::unique_ptr< SurfaceCache > &b) |
bool | operator< (const std::unique_ptr< SurfaceCache > &a, const IdentifierHash &b) |
Acts::Logging::Level | actsLevelVector (MSG::Level lvl) |
MSG::Level | athLevelVector (Acts::Logging::Level lvl) |
double | computeDtDs (const Acts::ParticleHypothesis &hypothesis, double qop) |
Helper function to compute dt/ds Helper function to compute the derivative of the time as function of the path length. More... | |
Acts::FreeToPathMatrix | computeFreeToPathDerivatives (const Acts::Vector3 &direction, double qop, const Acts::Vector3 &bfield, const Acts::ParticleHypothesis &particle_hypothesis) |
Compute the path length derivatives for the free/bound to curvilinear paramter transform. More... | |
std::optional< Acts::BoundMatrix > | convertActsBoundCovToCurvilinearParam (const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters ¶m, const Acts::Vector3 &magnFieldVect, const Acts::ParticleHypothesis &particle_hypothesis) |
Convert the covariance of the given Acts track parameters into curvilinear parameterisation. More... | |
std::array< unsigned int, 4 > | expectedLayerPattern (const EventContext &ctx, const IActsExtrapolationTool &extrapolator, Acts::BoundTrackParameters perigee_parameters, const Acts::CylinderSurface &extrapolation_volume) |
Extrapolate from the perigee outwards and gather information which detector layers should have hits. More... | |
void | gatherTrackSummaryData (const ActsTrk::TrackContainer &tracksContainer, const typename ActsTrk::TrackContainer::ConstTrackProxy &track, const std::array< const InDetDD::SiDetectorElementCollection *, to_underlying(xAOD::UncalibMeasType::nTypes)> &siDetEleColl, const std::array< unsigned short, to_underlying(xAOD::UncalibMeasType::nTypes)> &measurement_to_summary_type, SumOfValues &chi2_stat_out, HitSummaryData &hit_info_out, std::vector< ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType > ¶m_state_idx_out, std::array< std::array< uint8_t, to_underlying(HitCategory::N)>, to_underlying(xAOD::UncalibMeasType::nTypes)> &special_hit_counts_out) |
Helper to gather track summary information from the track states of the specified track. More... | |
template<typename T_EnumClass > | |
constexpr std::underlying_type< T_EnumClass >::type | to_underlying (T_EnumClass an_enum) |
Helper to convert class enum into an integer. More... | |
template<class T > | |
auto | getRDOList (const T &a) |
template<class T_TruthEventCollection > | |
auto | makeDepositToTruthParticleMap (const T_TruthEventCollection *truth_particle_links) |
template<class T_TruthEventCollection > | |
const char * | getInTruthPropertyName () |
template<class T_SimDataCollection , class T_SimDataIterator > | |
auto | getSimDataDeposits (const T_SimDataCollection &sim_data_collection, T_SimDataIterator sim_data_iter_for_identifier) |
template<class T_Deposit > | |
float | getDepositedEnergy (const T_Deposit &) |
MsgStream & | operator<< (MsgStream &out, const ActsUtils::Stat &stat) |
Variables | |
constexpr double | ONE_TWELFTH = 1./12. |
constexpr unsigned int | NTruthParticlesPerMeasurement = 5 |
constexpr unsigned int | NHitCounter = static_cast< std::underlying_type<xAOD::UncalibMeasType>::type >(xAOD::UncalibMeasType::nTypes) - 1u |
constexpr unsigned int | NTruthParticlesPerTrack = 5 |
constexpr bool | TrackFindingValidationDebugHists = false |
constexpr bool | TrackToTruthParticleAssociationDebugHists = false |
constexpr bool | TruthParticleHitCountDebugHists = false |
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).
: The NoDeletePtr is a shared_ptr with disabled deleter.
Includes the GeoPrimitives.
Load ATLAS Eigen library with custom geometry functions.
Put first the GeoPrimitives.
small non-persistent data class to wrap the output of the EF-tracking development pattern finding placeholder
The DetectorAlignCondAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).
The transformations are cached in the DetectorAlignmentStore which is later propagated to the ActsGeometryContext.
The ActsFromGeoAlignStore is an adaptor to go from the GeoModel world caching the rigid transformations of the detector elements to the Acts world where transformations
Then load the Acts TypeDef definitions for Eigen
In AthSimulation, the Acts core library is not available yet
ATLAS extension of the Acts::DetectorElementBase. The extension provides extra methods to identify the element within the ATLAS identifier scheme and also the enum indicating to which tracking subsystem the DetectorElement belongs to. Finally, the detector element provides the interface to optionally precache the aligned transformations in the external AlignmentStore of the geometry context.
using ActsTrk::ATLASSourceLink = typedef const Trk::MeasurementBase * |
Definition at line 24 of file ATLASSourceLink.h.
using ActsTrk::ATLASUncalibSourceLink = typedef const xAOD::UncalibratedMeasurement * |
Definition at line 25 of file ATLASSourceLink.h.
typedef DataVector< Acts::BoundTrackParameters > ActsTrk::BoundTrackParametersContainer |
Definition at line 12 of file Tracking/Acts/ActsEvent/ActsEvent/TrackParameters.h.
using ActsTrk::ConstCovariance = typedef Acts::TrackStateTraits<3>::Covariance |
Definition at line 50 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.
using ActsTrk::ConstParameters = typedef Acts::TrackStateTraits<3>::Parameters |
Definition at line 49 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.
using ActsTrk::Covariance = typedef Acts::TrackStateTraits<3, false>::Covariance |
Definition at line 52 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.
typedef std::uint32_t ActsTrk::IndexType |
Definition at line 13 of file Decoration.h.
using ActsTrk::MeasurementToTruthParticleAssociation = typedef std::vector<ParticleVector> |
Definition at line 13 of file MeasurementToTruthParticleAssociation.h.
using ActsTrk::MutableTrackBackend = typedef ActsTrk::MutableTrackSummaryContainer |
Definition at line 12 of file TrackContainer.h.
using ActsTrk::MutableTrackStateBackend = typedef ActsTrk::MutableMultiTrajectory |
Definition at line 14 of file TrackContainer.h.
using ActsTrk::Parameters = typedef Acts::TrackStateTraits<3, false>::Parameters |
Definition at line 51 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.
using ActsTrk::ParticleVector = typedef boost::container::small_vector<const xAOD::TruthParticle *, NTruthParticlesPerMeasurement> |
Definition at line 12 of file MeasurementToTruthParticleAssociation.h.
using ActsTrk::rdoListFunc_t = typedef decltype(std::declval<Object>().rdoList()) |
Definition at line 94 of file MeasurementToTruthAssociationAlg.h.
Definition at line 16 of file DetectorAlignStore.cxx.
using ActsTrk::ReturnedTicketArr = typedef DetectorAlignStore::TrackingAlignStore::ReturnedTicketArr |
Definition at line 15 of file DetectorAlignStore.cxx.
typedef Acts::Seed< xAOD::SpacePoint > ActsTrk::Seed |
typedef DataVector< Acts::Seed< xAOD::SpacePoint > > ActsTrk::SeedContainer |
using ActsTrk::StoredSurface = typedef std::variant<const Acts::Surface*, std::shared_ptr<const Acts::Surface> > |
Definition at line 68 of file MultiTrajectory.h.
using ActsTrk::StripRDORawData = typedef SCT_RDORawData |
Definition at line 21 of file IStripClusteringTool.h.
using ActsTrk::SurfaceBoundSetPtr = typedef std::shared_ptr<SurfaceBoundSet<BoundType> > |
Aberivation to create a new SurfaceBoundSetPtr.
Definition at line 50 of file SurfaceBoundSet.h.
using ActsTrk::SurfaceCacheSet = typedef std::set<std::unique_ptr<SurfaceCache>, std::less<> > |
Definition at line 63 of file Tracking/Acts/ActsGeoUtils/ActsGeoUtils/SurfaceCache.h.
Definition at line 14 of file DetectorAlignStore.cxx.
using ActsTrk::TrackBackend = typedef ActsTrk::TrackSummaryContainer |
Definition at line 13 of file TrackContainer.h.
using ActsTrk::TrackContainerBase = typedef Acts::TrackContainer<ActsTrk::TrackBackend, ActsTrk::TrackStateBackend, ActsTrk::DataLinkHolder> |
Definition at line 26 of file TrackContainer.h.
using ActsTrk::TrackStateBackend = typedef ActsTrk::MultiTrajectory |
Definition at line 15 of file TrackContainer.h.
using ActsTrk::TrackToTruthParticleAssociation = typedef std::vector<HitCountsPerTrack> |
Definition at line 69 of file TrackToTruthParticleAssociation.h.
using ActsTrk::TruthParticleHitCounts = typedef std::unordered_map<const xAOD::TruthParticle *,HitCounterArray> |
Definition at line 19 of file TruthParticleHitCounts.h.
|
strong |
Simple enum to Identify the Type of the ACTS sub detector.
Enumerator | |
---|---|
Pixel | Inner detector legacy. |
Sct | |
Trt | Maybe the Sct / Pixel for Itk become seperate entries? |
Hgtd | |
Mdt | MuonSpectrometer. |
Rpc | Monitored Drift Tubes. |
Tgc | Resitive Plate Chambers. |
Csc | Thin gap champers. |
Mm | Maybe not needed in the migration. |
sTgc | Micromegas (NSW) |
UnDefined | Small Thing Gap chambers (NSW) |
Definition at line 17 of file GeometryDefs.h.
Total number of neightbours and indices.
Enumerator | |
---|---|
ThisOne | |
Opposite | |
PhiMinus | |
PhiPlus | |
EtaMinus | |
EtaPlus | |
nNeighbours |
Definition at line 13 of file StripInformationHelper.h.
Acts::Logging::Level ActsTrk::actsLevelVector | ( | MSG::Level | lvl | ) |
Definition at line 9 of file LoggerUtils.cxx.
MSG::Level ActsTrk::athLevelVector | ( | Acts::Logging::Level | lvl | ) |
Definition at line 29 of file LoggerUtils.cxx.
void ActsTrk::clusterAddCell | ( | PixelClusteringTool::Cluster & | cl, |
const PixelClusteringTool::Cell & | cell | ||
) |
|
inline |
Helper function to compute dt/ds Helper function to compute the derivative of the time as function of the path length.
Definition at line 15 of file CurvilinearCovarianceHelper.h.
|
inline |
Compute the path length derivatives for the free/bound to curvilinear paramter transform.
direction | the direction of trajectory at the location in question |
qop | q/p of the particle at the location in question in Acts units |
bfield | the magnetic field at the location in question in Acts units |
particle_hypothesis | the particle hypothesis e.g. Acts::ParticleHypothesis::pion() |
Definition at line 26 of file CurvilinearCovarianceHelper.h.
|
inline |
Convert the covariance of the given Acts track parameters into curvilinear parameterisation.
tgContext | the current geometry context |
param | the Acts track parameters |
magnFieldVect | the vector of the magnetic field at the position of the track parameters in Acts units |
particle_hypothesis | the particle hypothesis e.g. Acts::ParticleHypothesis::pion() Usage:
|
Definition at line 60 of file CurvilinearCovarianceHelper.h.
std::shared_ptr<const Acts::Surface> ActsTrk::decodeSurface | ( | const xAOD::SurfaceType | surfaceType, |
const std::vector< float > & | translation, | ||
const std::vector< float > & | rotation, | ||
const std::vector< float > & | boundValues, | ||
const Acts::GeometryContext & | |||
) |
Definition at line 74 of file SurfaceEncoding.cxx.
std::shared_ptr< const Acts::Surface > ActsTrk::decodeSurface | ( | const xAOD::TrackSurface * | backend, |
const Acts::GeometryContext & | geoContext | ||
) |
Creates transient Acts Surface objects given a surface backend implementation should be exact mirror of encodeSurface.
Definition at line 143 of file SurfaceEncoding.cxx.
std::shared_ptr< const Acts::Surface > ActsTrk::decodeSurface | ( | const xAOD::TrackSurfaceAuxContainer * | backend, |
size_t | i, | ||
const Acts::GeometryContext & | geoContext | ||
) |
void ActsTrk::encodeSurface | ( | xAOD::SurfaceType & | surfaceType, |
std::vector< float > & | translation, | ||
std::vector< float > & | rotation, | ||
std::vector< float > & | boundValues, | ||
const Acts::Surface * | surface, | ||
const Acts::GeometryContext & | geoContext | ||
) |
Definition at line 7 of file SurfaceEncoding.cxx.
void ActsTrk::encodeSurface | ( | xAOD::TrackSurface * | backend, |
const Acts::Surface * | surface, | ||
const Acts::GeometryContext & | geoContext | ||
) |
As above, but works on xAOD::TrackSurface object.
Definition at line 62 of file SurfaceEncoding.cxx.
void ActsTrk::encodeSurface | ( | xAOD::TrackSurfaceAuxContainer * | backend, |
size_t | index, | ||
const Acts::Surface * | surface, | ||
const Acts::GeometryContext & | geoContext | ||
) |
Prepares persistifiable representation of surface into xAOD::TrackSurface object.
Definition at line 55 of file SurfaceEncoding.cxx.
std::array< unsigned int, 4 > ActsTrk::expectedLayerPattern | ( | const EventContext & | ctx, |
const IActsExtrapolationTool & | extrapolator, | ||
Acts::BoundTrackParameters | perigee_parameters, | ||
const Acts::CylinderSurface & | extrapolation_volume | ||
) |
Extrapolate from the perigee outwards and gather information which detector layers should have hits.
ctx | the current athena EvetContext @paran extrapolator referece to the Acts extrapolation tool |
perigee_parameters | the Acts defining track parameters (parameters at the perigee). |
extrapolation_volume | the volume around the perigee which is considered (e.g. pixel detector volume). |
Definition at line 14 of file ExpectedHitUtils.cxx.
void ActsTrk::gatherTrackSummaryData | ( | const ActsTrk::TrackContainer & | tracksContainer, |
const typename ActsTrk::TrackContainer::ConstTrackProxy & | track, | ||
const std::array< const InDetDD::SiDetectorElementCollection *, to_underlying(xAOD::UncalibMeasType::nTypes)> & | siDetEleColl, | ||
const std::array< unsigned short, to_underlying(xAOD::UncalibMeasType::nTypes)> & | measurement_to_summary_type, | ||
SumOfValues & | chi2_stat_out, | ||
HitSummaryData & | hit_info_out, | ||
std::vector< ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType > & | param_state_idx_out, | ||
std::array< std::array< uint8_t, to_underlying(HitCategory::N)>, to_underlying(xAOD::UncalibMeasType::nTypes)> & | special_hit_counts_out | ||
) |
Helper to gather track summary information from the track states of the specified track.
tracksContainer | the Acts track container |
track | a track of the given acts track container for which the summary information is to be gathered |
siDetEleColl | array of SiDetectorElement collections per measurement type. |
measurement_to_summary_type | a LUT to map measurement types to the corresponding summary type for the measurement counts |
chi2_stat_out | output of the per track state chi-squared sums and squared sums to compute the per state chi2 variance. |
hit_info_out | output of the gathered measurement statistics per detector region, layer, ... . |
param_state_idx_out | output vector to be filled with the state index of all track states which are not holes. |
special_hit_counts_out | arrays to count holes (and @TODO dead sensors) per measurement type. |
Definition at line 16 of file HitSummaryDataUtils.cxx.
float ActsTrk::getDepositedEnergy | ( | const T_Deposit & | ) |
|
inline |
auto ActsTrk::getRDOList | ( | const T & | a | ) |
Definition at line 109 of file MeasurementToTruthAssociationAlg.h.
auto ActsTrk::getSimDataDeposits | ( | const T_SimDataCollection & | sim_data_collection, |
T_SimDataIterator | sim_data_iter_for_identifier | ||
) |
|
inline |
Definition at line 27 of file ATLASSourceLink.h.
|
inline |
Definition at line 54 of file ATLASSourceLink.h.
|
inline |
Definition at line 61 of file ATLASSourceLink.h.
|
inline |
Definition at line 37 of file ATLASSourceLink.h.
|
inline |
|
inline |
Definition at line 44 of file ATLASSourceLink.h.
|
inline |
Definition at line 31 of file ATLASSourceLink.h.
auto ActsTrk::makeDepositToTruthParticleMap | ( | const T_TruthEventCollection * | truth_particle_links | ) |
std::unique_ptr<IFACE> ActsTrk::makeInterfaceContainer | ( | const AUX * | aux | ) |
helper to construct interface container for already filled Aux container TODO maybe should be moved to xAOD area
Definition at line 490 of file MultiTrajectory.h.
|
inline |
Definition at line 57 of file Tracking/Acts/ActsGeoUtils/ActsGeoUtils/SurfaceCache.h.
|
inline |
Definition at line 60 of file Tracking/Acts/ActsGeoUtils/ActsGeoUtils/SurfaceCache.h.
|
inline |
Comparison operators.
Definition at line 53 of file Tracking/Acts/ActsGeoUtils/ActsGeoUtils/SurfaceCache.h.
|
inline |
Definition at line 125 of file TrackFindingValidationAlg.cxx.
std::string ActsTrk::prefixFromTrackContainerName | ( | const std::string & | tracks | ) |
Parse TrackContainer name to get the prefix for backends The name has to contain XYZTracks, the XYZ is returned.
Definition at line 13 of file TrackContainerHandlesHelper.cxx.
void ActsTrk::recordxAOD | ( | const SG::WriteHandleKey< T > & | key, |
IFACE & | iface, | ||
AUX & | aux, | ||
const EventContext & | context | ||
) |
Definition at line 27 of file TrackContainerHandlesHelper.cxx.
|
inline |
Definition at line 34 of file GeometryDefs.h.
|
constexpr |
Helper to convert class enum into an integer.
Definition at line 24 of file HitSummaryDataUtils.h.
|
constexpr |
Definition at line 17 of file TrackToTruthParticleAssociation.h.
|
constexpr |
Definition at line 9 of file MeasurementToTruthParticleAssociation.h.
|
constexpr |
Definition at line 18 of file TrackToTruthParticleAssociation.h.
|
constexpr |
Definition at line 17 of file StripClusteringTool.cxx.
|
constexpr |
Definition at line 43 of file TrackFindingValidationAlg.h.
|
constexpr |
Definition at line 42 of file TrackToTruthAssociationAlg.h.
|
constexpr |
Definition at line 42 of file TruthParticleHitCountAlg.h.