Encapsulates data for DDAS hits that may have fitted traces.
More...
#include <DDASFitHit.h>
Encapsulates data for DDAS hits that may have fitted traces.
These objects are produced by DDASFitHitUnpacker::decode(). They are basically just ddasfmt::DDASHits with some extra fields.
◆ getExtension()
| const HitExtension& ddastoys::DDASFitHit::getExtension |
( |
| ) |
const |
|
inline |
Get the extension data from the current hit.
- Exceptions
-
| std::logic_error | If the hit does not contain an extension. |
- Returns
- Reference to the extension of the current hit.
◆ hasExtension()
| bool ddastoys::DDASFitHit::hasExtension |
( |
| ) |
const |
|
inline |
Check whether hit has a fit extension.
- Returns
- True if the hit contains an extension, false otherwise.
◆ operator=()
Assignment operator.
- Parameters
-
- Returns
- Reference to lhs.
Calls base class operator= and sets the hit extension (if present).
◆ setExtension()
| void ddastoys::DDASFitHit::setExtension |
( |
const HitExtension & |
extension | ) |
|
|
inline |
Set the hit extension information for this hit.
- Parameters
-
| extension | Reference to the extension for this hit. |
The documentation for this class was generated from the following file: