Stores links between chambers and the reconstructed T0.
More...
#include <ChamberT0s.h>
Stores links between chambers and the reconstructed T0.
- Author
- edwar.nosp@m.d.mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch
Definition at line 17 of file ChamberT0s.h.
◆ ChamberT0s() [1/3]
Muon::ChamberT0s::ChamberT0s |
( |
| ) |
|
|
default |
◆ ChamberT0s() [2/3]
Muon::ChamberT0s::ChamberT0s |
( |
const std::vector< std::pair< Identifier, float > > & |
t0s | ) |
|
◆ ChamberT0s() [3/3]
Muon::ChamberT0s::ChamberT0s |
( |
std::vector< std::pair< Identifier, float > > && |
t0s | ) |
|
◆ ~ChamberT0s()
Muon::ChamberT0s::~ChamberT0s |
( |
| ) |
|
|
default |
◆ getAllT0s()
const std::vector< std::pair< Identifier, float > > & Muon::ChamberT0s::getAllT0s |
( |
| ) |
const |
|
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 68 of file ChamberT0s.h.
◆ getT0()
Returns the T0 for this chamber (or ChamberT0s::ChamberUnknown if the chamber is not in list)
You could use this as e.g.
float t0 = chamberT0.getT0( chamberId );
}
Definition at line 60 of file ChamberT0s.h.
61 std::vector< std::pair < Identifier, float > >::const_iterator
it
63 [&] (
const auto&
p) { return p.first == id; });
◆ haveChamber()
Returns true if we have the T0 for this chamber?
Definition at line 53 of file ChamberT0s.h.
54 std::vector< std::pair < Identifier, float > >::const_iterator
it
56 [&] (
const auto&
p) { return p.first == id; });
◆ ChamberUnknown
constexpr float Muon::ChamberT0s::ChamberUnknown = -99999.9 |
|
staticconstexpr |
◆ m_t0s
std::vector< std::pair < Identifier, float > > Muon::ChamberT0s::m_t0s |
|
private |
The documentation for this class was generated from the following files: