![]() |
ATLAS Offline Software
|
Stores links between chambers and the reconstructed T0. More...
#include <ChamberT0s.h>
Public Member Functions | |
| ChamberT0s ()=default | |
| ChamberT0s (const std::vector< std::pair< Identifier, float > > &t0s) | |
| ChamberT0s (std::vector< std::pair< Identifier, float > > &&t0s) | |
| bool | haveChamber (const Identifier &id) const |
| Returns true if we have the T0 for this chamber? | |
| float | getT0 (const Identifier &id) const |
| Returns the T0 for this chamber (or ChamberT0s::ChamberUnknown if the chamber is not in list) | |
| const std::vector< std::pair< Identifier, float > > & | getAllT0s () const |
| Returns entire list of T0s. | |
Static Public Attributes | |
| static constexpr float | ChamberUnknown = -99999.9 |
| Value returned by ChamberT0s::getT0(...) when chamber is not known to ChamberT0s. | |
Private Attributes | |
| std::vector< std::pair< Identifier, float > > | m_t0s |
Stores links between chambers and the reconstructed T0.
Definition at line 19 of file ChamberT0s.h.
|
default |
| Muon::ChamberT0s::ChamberT0s | ( | const std::vector< std::pair< Identifier, float > > & | t0s | ) |
Definition at line 11 of file ChamberT0s.cxx.
| Muon::ChamberT0s::ChamberT0s | ( | std::vector< std::pair< Identifier, float > > && | t0s | ) |
Definition at line 16 of file ChamberT0s.cxx.
|
inline |
Returns entire list of T0s.
It consists of a vector of pairs, where the first element is the Chamber Identifier, and the second is the T0
Definition at line 65 of file ChamberT0s.h.
|
inline |
Returns the T0 for this chamber (or ChamberT0s::ChamberUnknown if the chamber is not in list)
You could use this as e.g.
Definition at line 59 of file ChamberT0s.h.
|
inline |
Returns true if we have the T0 for this chamber?
Definition at line 54 of file ChamberT0s.h.
|
staticconstexpr |
Value returned by ChamberT0s::getT0(...) when chamber is not known to ChamberT0s.
Definition at line 22 of file ChamberT0s.h.
|
private |
Definition at line 51 of file ChamberT0s.h.