ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::IMuonHitTimingTool::TimingResult Struct Reference

simple struct holding the result of the tool More...

#include <IMuonHitTimingTool.h>

Collaboration diagram for Muon::IMuonHitTimingTool::TimingResult:

Public Member Functions

 TimingResult ()=default
 default constructor, constructs an invalid TimingResult
 TimingResult (bool valid_, double time_, double error_)
 full constructor

Public Attributes

bool valid {false}
 flag indicating whether the time was correctly calculated
float time {std::numeric_limits<float>::lowest()}
 the actual time offset (ns) wrt the current bunch assuming the particle travelled in a straight line at the speed of light
float error {std::numeric_limits<float>::lowest()}
 uncertainty on the time (ns)

Detailed Description

simple struct holding the result of the tool

Definition at line 38 of file IMuonHitTimingTool.h.

Constructor & Destructor Documentation

◆ TimingResult() [1/2]

Muon::IMuonHitTimingTool::TimingResult::TimingResult ( )
default

default constructor, constructs an invalid TimingResult

◆ TimingResult() [2/2]

Muon::IMuonHitTimingTool::TimingResult::TimingResult ( bool valid_,
double time_,
double error_ )
inline

full constructor

Definition at line 42 of file IMuonHitTimingTool.h.

42: valid(valid_), time(time_), error(error_) {}
bool valid
flag indicating whether the time was correctly calculated
float error
uncertainty on the time (ns)
float time
the actual time offset (ns) wrt the current bunch assuming the particle travelled in a straight line ...

Member Data Documentation

◆ error

float Muon::IMuonHitTimingTool::TimingResult::error {std::numeric_limits<float>::lowest()}

uncertainty on the time (ns)

Definition at line 52 of file IMuonHitTimingTool.h.

52{std::numeric_limits<float>::lowest()};

◆ time

float Muon::IMuonHitTimingTool::TimingResult::time {std::numeric_limits<float>::lowest()}

the actual time offset (ns) wrt the current bunch assuming the particle travelled in a straight line at the speed of light

Definition at line 49 of file IMuonHitTimingTool.h.

49{std::numeric_limits<float>::lowest()};

◆ valid

bool Muon::IMuonHitTimingTool::TimingResult::valid {false}

flag indicating whether the time was correctly calculated

Definition at line 45 of file IMuonHitTimingTool.h.

45{false};

The documentation for this struct was generated from the following file: