17#include "GaudiKernel/IToolSvc.h"
18#include "GaudiKernel/ThreadLocalContext.h"
23 : base_class(
type, name, parent),
34 StatusCode
sc = detStore()->retrieve(
m_trtId,
"TRT_ID");
37 return StatusCode::FAILURE;
49 return StatusCode::SUCCESS;
57 return StatusCode::SUCCESS;
98 ATH_MSG_FATAL(
" cannot find an rt-relation for TRT layer_or_wheel " <<
m_trtId->layer_or_wheel(ident) <<
" Please check IOV ranges ");
100 ATH_MSG_VERBOSE(
" time " << time <<
" t0 " <<
t0 <<
" t " << time-
t0 <<
" radius " << radius);
102 if( radius<0 ) radius=0 ;
103 else if( radius>2.) radius=2.;
107 ATH_MSG_VERBOSE(
" time " << time <<
" t0 " <<
t0 <<
" t " << time-
t0 <<
" > 55, check Rt derivative");
110 if (rtr->
drdt( time -
t0 ) < 0 ){
111 ATH_MSG_VERBOSE(
" time " << time <<
" t0 " <<
t0 <<
" t " << time-
t0 <<
" and rt derivative: " << rtr->
drdt( time -
t0 ));
144 slope = rtr->
radius( time );
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Base class for rt-relations in the TRT.
virtual float drdt(float driftime) const =0
driftvelocity for given drifttime
virtual float radius(float driftime) const =0
radius for given drifttime