![]() |
ATLAS Offline Software
|
Store holding the transfomations used by the Acts algorithms. More...
#include <DetectorAlignStore.h>
Public Types | |
| using | TicketCounterArr = std::array<std::atomic<unsigned>, s_techs> |
| using | ReturnedTicketArr = std::array<std::vector<bool>, s_techs> |
| using | ReturnedHintArr = std::array<int, s_techs> |
Public Member Functions | |
| TrackingAlignStore (const DetectorType detType) | |
| const Amg::Transform3D * | getTransform (unsigned int ticketNo) const |
| Returns the transformation associated with the ticket number. | |
| const Amg::Transform3D & | setTransform (unsigned int ticketNo, Amg::Transform3D &&trf) const |
| Caches for the given ticket number the transformation in the store and returns the const reference to it. | |
Static Public Member Functions | |
| static unsigned int | drawTicket (const DetectorType detType) |
| Returns a unique ID to the client under which the client can store its transformation inside the container. | |
| static unsigned int | distributedTickets (const DetectorType detType) |
| Returns the number of all distributed tickets. | |
| static void | giveBackTicket (const DetectorType detType, unsigned int ticketNo) |
Static Public Attributes | |
| static constexpr unsigned | s_techs {static_cast<unsigned>(DetectorType::UnDefined)} |
Private Attributes | |
| std::vector< CxxUtils::CachedUniquePtr< Amg::Transform3D > > | m_transforms {} |
Static Private Attributes | |
| static TicketCounterArr s_clientCounter | ATLAS_THREAD_SAFE |
| static ReturnedTicketArr s_returnedTickets | ATLAS_THREAD_SAFE |
| static ReturnedHintArr s_returnedHints | ATLAS_THREAD_SAFE |
Store holding the transfomations used by the Acts algorithms.
Definition at line 33 of file DetectorAlignStore.h.
| using ActsTrk::DetectorAlignStore::TrackingAlignStore::ReturnedHintArr = std::array<int, s_techs> |
Definition at line 56 of file DetectorAlignStore.h.
| using ActsTrk::DetectorAlignStore::TrackingAlignStore::ReturnedTicketArr = std::array<std::vector<bool>, s_techs> |
Definition at line 55 of file DetectorAlignStore.h.
| using ActsTrk::DetectorAlignStore::TrackingAlignStore::TicketCounterArr = std::array<std::atomic<unsigned>, s_techs> |
Definition at line 54 of file DetectorAlignStore.h.
| ActsTrk::DetectorAlignStore::TrackingAlignStore::TrackingAlignStore | ( | const DetectorType | detType | ) |
Definition at line 21 of file DetectorAlignStore.cxx.
|
static |
Returns the number of all distributed tickets.
Definition at line 57 of file DetectorAlignStore.cxx.
|
static |
Returns a unique ID to the client under which the client can store its transformation inside the container.
Definition at line 24 of file DetectorAlignStore.cxx.
|
inline |
Returns the transformation associated with the ticket number.
Definition at line 44 of file DetectorAlignStore.h.
|
static |
The ticket which was handed out at the very latest is returned. Remove all returned tickets from before
Remove all trailing ticket numbers
Definition at line 60 of file DetectorAlignStore.cxx.
|
inline |
Caches for the given ticket number the transformation in the store and returns the const reference to it.
Definition at line 49 of file DetectorAlignStore.h.
|
staticprivate |
Definition at line 58 of file DetectorAlignStore.h.
|
staticprivate |
Definition at line 59 of file DetectorAlignStore.h.
|
staticprivate |
Definition at line 60 of file DetectorAlignStore.h.
|
private |
Definition at line 61 of file DetectorAlignStore.h.
|
staticconstexpr |
Definition at line 53 of file DetectorAlignStore.h.