ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 More...
 
 TimingResult (bool valid_, double time_, double error_)
 full constructor More...
 

Public Attributes

bool valid {false}
 flag indicating whether the time was correctly calculated More...
 
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 More...
 
float error {std::numeric_limits<float>::lowest()}
 uncertainty on the time (ns) More...
 

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_) {}

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.

◆ 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.

◆ valid

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

flag indicating whether the time was correctly calculated

Definition at line 45 of file IMuonHitTimingTool.h.


The documentation for this struct was generated from the following file:
Muon::IMuonHitTimingTool::TimingResult::time
float time
the actual time offset (ns) wrt the current bunch assuming the particle travelled in a straight line ...
Definition: IMuonHitTimingTool.h:49
Muon::IMuonHitTimingTool::TimingResult::error
float error
uncertainty on the time (ns)
Definition: IMuonHitTimingTool.h:52
Muon::IMuonHitTimingTool::TimingResult::valid
bool valid
flag indicating whether the time was correctly calculated
Definition: IMuonHitTimingTool.h:45