ATLAS Offline Software
Loading...
Searching...
No Matches
StraightLineTOFcorrectionTool.h File Reference

Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration. More...

#include "AthenaBaseComps/AthAlgTool.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/ToolHandle.h"
#include "HGTD_RecToolInterfaces/IHGTD_TOFcorrectionTool.h"
#include "HGTD_ReadoutGeometry/HGTD_DetectorManager.h"
Include dependency graph for StraightLineTOFcorrectionTool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HGTD::StraightLineTOFcorrectionTool

Namespaces

namespace  HGTD
 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.

Detailed Description

Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.

Author
Alexander Leopold alexa.nosp@m.nder.nosp@m..leop.nosp@m.old@.nosp@m.cern..nosp@m.ch
Date
August, 2021

This implementation of the TOF correction tool implements a simple correction using a straight line hypothesis and assuming particles to move at the speed of light. This leads to known overcorrections, and has to be refined in future implementations of this tool.

FIXME:

  • impact parameter resolution has yet to be propagated to TOF_error!!
  • faster sqrt?? e.g. float sqrt2(const float n) { union {int i; float f;} u; u.i = 0x1FB5AD00 + ((int)&n >> 1); u.f = n / u.f + u.f; return n / u.f + u.f * 0.25f;}

Definition in file StraightLineTOFcorrectionTool.h.