ATLAS Offline Software
Public Types | Public Member Functions | List of all members
TRTCond::RtRelation Class Referenceabstract

#include <RtRelation.h>

Inheritance diagram for TRTCond::RtRelation:
Collaboration diagram for TRTCond::RtRelation:

Public Types

enum  Status { Undefined, Calibrated }
 enumerates status More...
 

Public Member Functions

 RtRelation ()=default
 constructors, desctructors, cloners More...
 
virtual ~RtRelation ()=default
 
virtual RtRelationclone () const =0
 
virtual int status () const =0
 status flag of (calibrated) rtrelation More...
 
virtual float radius (float driftime) const =0
 radius for given drifttime More...
 
virtual float drifttime (float radius) const =0
 drifttime for given radius More...
 
virtual float drdt (float driftime) const =0
 driftvelocity for given drifttime More...
 
virtual size_t footprint () const
 memory allocated by this rt-relation More...
 
virtual bool isequal (const RtRelation &rhs) const =0
 equality operator More...
 
bool operator== (const RtRelation &rhs) const
 
virtual std::ostream & write (std::ostream &) const =0
 write to ascii ostream More...
 
virtual std::istream & read (std::istream &)=0
 read from ascii istream More...
 

Detailed Description

Base class for rt-relations in the TRT

Definition at line 26 of file RtRelation.h.

Member Enumeration Documentation

◆ Status

enumerates status

Enumerator
Undefined 
Calibrated 

Definition at line 30 of file RtRelation.h.

30 { Undefined, Calibrated } ;

Constructor & Destructor Documentation

◆ RtRelation()

TRTCond::RtRelation::RtRelation ( )
default

constructors, desctructors, cloners

◆ ~RtRelation()

virtual TRTCond::RtRelation::~RtRelation ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual RtRelation* TRTCond::RtRelation::clone ( ) const
pure virtual

◆ drdt()

virtual float TRTCond::RtRelation::drdt ( float  driftime) const
pure virtual

driftvelocity for given drifttime

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

◆ drifttime()

virtual float TRTCond::RtRelation::drifttime ( float  radius) const
pure virtual

drifttime for given radius

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

◆ footprint()

virtual size_t TRTCond::RtRelation::footprint ( ) const
inlinevirtual

memory allocated by this rt-relation

Reimplemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

Definition at line 50 of file RtRelation.h.

50 { return sizeof(*this) ; }

◆ isequal()

virtual bool TRTCond::RtRelation::isequal ( const RtRelation rhs) const
pure virtual

◆ operator==()

bool TRTCond::RtRelation::operator== ( const RtRelation rhs) const
inline

Definition at line 54 of file RtRelation.h.

54 { return isequal(rhs) ; }

◆ radius()

virtual float TRTCond::RtRelation::radius ( float  driftime) const
pure virtual

radius for given drifttime

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

◆ read()

virtual std::istream& TRTCond::RtRelation::read ( std::istream &  )
pure virtual

read from ascii istream

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

◆ status()

virtual int TRTCond::RtRelation::status ( ) const
pure virtual

status flag of (calibrated) rtrelation

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.

◆ write()

virtual std::ostream& TRTCond::RtRelation::write ( std::ostream &  ) const
pure virtual

write to ascii ostream

Implemented in TRTCond::BasicRtRelation, TRTCond::DinesRtRelation, and TRTCond::BinnedRtRelation.


The documentation for this class was generated from the following file:
TRTCond::RtRelation::isequal
virtual bool isequal(const RtRelation &rhs) const =0
equality operator
TRTCond::RtRelation::Calibrated
@ Calibrated
Definition: RtRelation.h:30
TRTCond::RtRelation::Undefined
@ Undefined
Definition: RtRelation.h:30