12#include "CLHEP/Units/SystemOfUnits.h"
13#include "GaudiKernel/PhysicalConstants.h"
16 const std::string &name,
17 const IInterface *parent)
28 float hit_time_expected = element->
center().norm() / Gaudi::Units::c_light;
43 float window_upper_bound;
58 return window_upper_bound;
67 float tdc_time = window_upper_bound - hit_time;
70 if( tdc_time < 0 || tdc_time > 2.5){
72 <<
" outside of TOA TDC range ["
73 << window_upper_bound - 2.5 <<
", "
74 << window_upper_bound <<
"]" );
82 " hit time digitized: " <<
TOA2Time(element, toa) <<
83 " TOA: " <<
static_cast<unsigned int>(toa));
Class to hold geometrical description of a solid state detector element.
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
constexpr unsigned int TOA_OVERLFLOW_MASK