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 constructor, constructs an invalid TimingResult More...
 
 TimingResult (bool valid_, double time_, double error_)
 full constructor More...
 

Public Attributes

bool valid
 flag indicating whether the time was correctly calculated More...
 
float time
 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
 uncertainty on the time (ns) More...
 

Detailed Description

simple struct holding the result of the tool

Definition at line 39 of file IMuonHitTimingTool.h.

Constructor & Destructor Documentation

◆ TimingResult() [1/2]

Muon::IMuonHitTimingTool::TimingResult::TimingResult ( )
inline

default constructor, constructs an invalid TimingResult

Definition at line 41 of file IMuonHitTimingTool.h.

41 : valid(false), time(std::numeric_limits<float>::lowest()), error(std::numeric_limits<float>::lowest()) {}

◆ TimingResult() [2/2]

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

full constructor

Definition at line 44 of file IMuonHitTimingTool.h.

44 : valid(valid_), time(time_), error(error_) {}

Member Data Documentation

◆ error

float Muon::IMuonHitTimingTool::TimingResult::error

uncertainty on the time (ns)

Definition at line 54 of file IMuonHitTimingTool.h.

◆ time

float Muon::IMuonHitTimingTool::TimingResult::time

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 51 of file IMuonHitTimingTool.h.

◆ valid

bool Muon::IMuonHitTimingTool::TimingResult::valid

flag indicating whether the time was correctly calculated

Definition at line 47 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:51
Muon::IMuonHitTimingTool::TimingResult::error
float error
uncertainty on the time (ns)
Definition: IMuonHitTimingTool.h:54
Muon::IMuonHitTimingTool::TimingResult::valid
bool valid
flag indicating whether the time was correctly calculated
Definition: IMuonHitTimingTool.h:47