ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::TimePointBetaFitter::Hit Struct Reference

simple struct holding the input to the fit More...

#include <TimePointBetaFitter.h>

Collaboration diagram for Muon::TimePointBetaFitter::Hit:

Public Member Functions

 Hit (float distance_, float time_, float error_)
 constructor, takes the distance of the point to the IP, the measured time with tof subtracted and the error on the measurement

Public Attributes

float distance
 data memebers
float time
 distance from time reference point use to calculate TOF
float error
 measured time
float weight2
 error on the time
bool useInFit
 1./error^2
float residual
 flag to indicate whether to use the hit in the fit

Detailed Description

simple struct holding the input to the fit

Definition at line 18 of file TimePointBetaFitter.h.

Constructor & Destructor Documentation

◆ Hit()

Muon::TimePointBetaFitter::Hit::Hit ( float distance_,
float time_,
float error_ )
inline

constructor, takes the distance of the point to the IP, the measured time with tof subtracted and the error on the measurement

Definition at line 20 of file TimePointBetaFitter.h.

20: distance(distance_), time(time_+distance*invSpeedOfLight), error(error_), useInFit(true), residual(0.) { weight2 = 1./(error*error); }
static constexpr double const & invSpeedOfLight
float time
distance from time reference point use to calculate TOF
float residual
flag to indicate whether to use the hit in the fit

Member Data Documentation

◆ distance

float Muon::TimePointBetaFitter::Hit::distance

data memebers

Definition at line 23 of file TimePointBetaFitter.h.

◆ error

float Muon::TimePointBetaFitter::Hit::error

measured time

Definition at line 25 of file TimePointBetaFitter.h.

◆ residual

float Muon::TimePointBetaFitter::Hit::residual

flag to indicate whether to use the hit in the fit

Definition at line 28 of file TimePointBetaFitter.h.

◆ time

float Muon::TimePointBetaFitter::Hit::time

distance from time reference point use to calculate TOF

Definition at line 24 of file TimePointBetaFitter.h.

◆ useInFit

bool Muon::TimePointBetaFitter::Hit::useInFit

1./error^2

Definition at line 27 of file TimePointBetaFitter.h.

◆ weight2

float Muon::TimePointBetaFitter::Hit::weight2

error on the time

Definition at line 26 of file TimePointBetaFitter.h.


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