ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 More...
 

Public Attributes

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

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); }

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:
Muon::TimePointBetaFitter::Hit::time
float time
distance from time reference point use to calculate TOF
Definition: TimePointBetaFitter.h:24
Muon::TimePointBetaFitter::Hit::residual
float residual
flag to indicate whether to use the hit in the fit
Definition: TimePointBetaFitter.h:28
Muon::TimePointBetaFitter::Hit::weight2
float weight2
error on the time
Definition: TimePointBetaFitter.h:26
Muon::TimePointBetaFitter::Hit::useInFit
bool useInFit
1./error^2
Definition: TimePointBetaFitter.h:27
Muon::TimePointBetaFitter::Hit::distance
float distance
data memebers
Definition: TimePointBetaFitter.h:23
error
Definition: IImpactPoint3dEstimator.h:70
Muon::TimePointBetaFitter::Hit::error
float error
measured time
Definition: TimePointBetaFitter.h:25