|  | ATLAS Offline Software
    | 
 
 
 
#include <TRT_CalDbTool.h>
|  | 
|  | TRT_CalDbTool (const std::string &type, const std::string &name, const IInterface *parent) | 
|  | typedefs, enums etc  More... 
 | 
|  | 
| virtual | ~TRT_CalDbTool ()=default | 
|  | destructor  More... 
 | 
|  | 
| virtual StatusCode | initialize () override | 
|  | tool initialize  More... 
 | 
|  | 
| virtual StatusCode | finalize () override | 
|  | tool finalize  More... 
 | 
|  | 
| virtual float | getT0 (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const override | 
|  | get T0 for an identifier  More... 
 | 
|  | 
| virtual const TRTCond::RtRelation * | getRtRelation (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const override | 
|  | get an rtrelation for an identifier  More... 
 | 
|  | 
| virtual const TRTCond::RtRelation * | getErrors (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const override | 
|  | get errors for an identifier  More... 
 | 
|  | 
| virtual const TRTCond::RtRelation * | getSlopes (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const override | 
|  | get errors for an identifier  More... 
 | 
|  | 
| virtual double | driftRadius (const double &time, float &t0, const Identifier &ident, bool &found) const override | 
|  | get a drift radius for a given leading edge time  More... 
 | 
|  | 
| virtual double | driftError (const double &time, const Identifier &ident, bool &found) const override | 
|  | get a drift radius error for a given drifttime  More... 
 | 
|  | 
| virtual double | driftSlope (const double &time, const Identifier &ident, bool &found) const override | 
|  | get a drift radius error for a given drifttime  More... 
 | 
|  | 
| virtual TRTCond::ExpandedIdentifier | trtcondid (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const override | 
|  | create an TRTCond::ExpandedIdentifier from a TRTID identifier  More... 
 | 
|  | 
| virtual const RtRelationContainer * | getRtContainer () const override | 
|  | access to calibration constant containers  More... 
 | 
|  | 
| virtual const RtRelationContainer * | getErrContainer () const override | 
|  | 
| virtual const RtRelationContainer * | getSlopeContainer () const override | 
|  | 
| virtual const StrawT0Container * | getT0Container () const override | 
|  | 
|  | 
| const TRT_ID * | m_trtId | 
|  | id helper  More... 
 | 
|  | 
| SG::ReadCondHandleKey< RtRelationContainer > | m_rtReadKey {this,"RtFolderName","/TRT/Calib/RT","r-t relation in-key"} | 
|  | ReadHandle keys.  More... 
 | 
|  | 
| SG::ReadCondHandleKey< RtRelationContainer > | m_errReadKey {this,"ErrorFolderName","/TRT/Calib/errors2d","error on r in-key"} | 
|  | 
| SG::ReadCondHandleKey< RtRelationContainer > | m_slopeReadKey {this,"ErrorSlopeFolderName","/TRT/Calib/slopes","slope of error in-key"} | 
|  | 
| SG::ReadCondHandleKey< StrawT0Container > | m_t0ReadKey {this,"T0FolderName","/TRT/Calib/T0","t0 in-key"} | 
|  | 
interface to TRT calibration constants 
Definition at line 33 of file TRT_CalDbTool.h.
◆ TRT_CalDbTool()
      
        
          | TRT_CalDbTool::TRT_CalDbTool | ( | const std::string & | type, | 
        
          |  |  | const std::string & | name, | 
        
          |  |  | const IInterface * | parent | 
        
          |  | ) |  |  | 
      
 
 
◆ ~TRT_CalDbTool()
  
  | 
        
          | virtual TRT_CalDbTool::~TRT_CalDbTool | ( |  | ) |  |  | virtualdefault | 
 
 
◆ driftError()
  
  | 
        
          | double TRT_CalDbTool::driftError | ( | const double & | time, |  
          |  |  | const Identifier & | ident, |  
          |  |  | bool & | found |  
          |  | ) |  | const |  | overridevirtual | 
 
 
◆ driftRadius()
  
  | 
        
          | double TRT_CalDbTool::driftRadius | ( | const double & | time, |  
          |  |  | float & | t0, |  
          |  |  | const Identifier & | ident, |  
          |  |  | bool & | found |  
          |  | ) |  | const |  | overridevirtual | 
 
get a drift radius for a given leading edge time 
Definition at line 87 of file TRT_CalDbTool.cxx.
 
 
◆ driftSlope()
  
  | 
        
          | double TRT_CalDbTool::driftSlope | ( | const double & | time, |  
          |  |  | const Identifier & | ident, |  
          |  |  | bool & | found |  
          |  | ) |  | const |  | overridevirtual | 
 
 
◆ finalize()
  
  | 
        
          | StatusCode TRT_CalDbTool::finalize | ( |  | ) |  |  | overridevirtual | 
 
 
◆ getErrContainer()
  
  | 
        
          | const TRT_CalDbTool::RtRelationContainer * TRT_CalDbTool::getErrContainer | ( |  | ) | const |  | overridevirtual | 
 
 
◆ getErrors()
◆ getRtContainer()
  
  | 
        
          | const TRT_CalDbTool::RtRelationContainer * TRT_CalDbTool::getRtContainer | ( |  | ) | const |  | overridevirtual | 
 
 
◆ getRtRelation()
◆ getSlopeContainer()
  
  | 
        
          | const TRT_CalDbTool::RtRelationContainer * TRT_CalDbTool::getSlopeContainer | ( |  | ) | const |  | overridevirtual | 
 
 
◆ getSlopes()
◆ getT0()
◆ getT0Container()
  
  | 
        
          | const TRT_CalDbTool::StrawT0Container * TRT_CalDbTool::getT0Container | ( |  | ) | const |  | overridevirtual | 
 
 
◆ initialize()
  
  | 
        
          | StatusCode TRT_CalDbTool::initialize | ( |  | ) |  |  | overridevirtual | 
 
tool initialize 
Definition at line 28 of file TRT_CalDbTool.cxx.
   37     return StatusCode::FAILURE;
 
   49   return StatusCode::SUCCESS;
 
 
 
 
◆ trtcondid()
◆ m_errReadKey
◆ m_rtReadKey
◆ m_slopeReadKey
  
  | 
        
          | SG::ReadCondHandleKey<RtRelationContainer> TRT_CalDbTool::m_slopeReadKey {this,"ErrorSlopeFolderName","/TRT/Calib/slopes","slope of error in-key"} |  | private | 
 
 
◆ m_t0ReadKey
◆ m_trtId
The documentation for this class was generated from the following files:
 
std::vector< ALFA_RawData_p1 > t0
#define ATH_MSG_VERBOSE(x)
int straw(const Identifier &id) const
::StatusCode StatusCode
StatusCode definition for legacy code.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
StatusCode initialize(bool used=true)
int phi_module(const Identifier &id) const
def time(flags, cells_name, *args, **kw)
virtual float radius(float driftime) const =0
radius for given drifttime
virtual float drdt(float driftime) const =0
driftvelocity for given drifttime
Identifier for TRT detector elements in the conditions code.